I can load into an OLE control:
Code: Select all
If Right(File1.FileName, 4) = "doc" Then
Me.OLE1.Visible = True
Me.AcrobatPath.Text = (File1.Path & "\" & File1.FileName)
Me.OLE1.CreateEmbed SourceDoc:=AcrobatPath
Me.AcroPDF1.Visible = False
There again I can open a doc with a WeBrowser control:
Code: Select all
Dim strUrl As String
strUrl = (File1.Path & "\" & File1.FileName)
WebBrowser1.Navigate strUrl
The question being, can I open a word document in a container that fits within my form and edit it if necessary?