Guest_imported
New member
- Jan 1, 1970
- 0
Hello
This question is another twist on my project mentioned in another of my posts below.I am trying to figure out if there is an easy way to load an MS Word file into an object -don't want to open it into Word or Word Viewer as I need to make sure the opened file is read only.
so... here is my code when I double click the file name it opens into some type of object
Private Sub fileABC_DblClick()
'allows double click on filename to load the file
Dim SelectedFile
SelectedFile = fileABC.Path & "\" & fileABC.FileName
rtfText.LoadFile (SelectedFile)
End Sub
currently, rtfText is a RichText object - I have converted my Word doc into RTF, but I really don't want to do that.I have been trying to use this code to load the file into an MS Word "insertable Object" that I can add to my object palett - but whatever I put after the dot doesn't work - there is no .LoadFile option that I can use.
Anyone out there have any other suggestions? Please see my post below "launch a Locked App Within Program" for more info.
Thanks for helping a musician and "tinkering programmer"
This question is another twist on my project mentioned in another of my posts below.I am trying to figure out if there is an easy way to load an MS Word file into an object -don't want to open it into Word or Word Viewer as I need to make sure the opened file is read only.
so... here is my code when I double click the file name it opens into some type of object
Private Sub fileABC_DblClick()
'allows double click on filename to load the file
Dim SelectedFile
SelectedFile = fileABC.Path & "\" & fileABC.FileName
rtfText.LoadFile (SelectedFile)
End Sub
currently, rtfText is a RichText object - I have converted my Word doc into RTF, but I really don't want to do that.I have been trying to use this code to load the file into an MS Word "insertable Object" that I can add to my object palett - but whatever I put after the dot doesn't work - there is no .LoadFile option that I can use.
Anyone out there have any other suggestions? Please see my post below "launch a Locked App Within Program" for more info.
Thanks for helping a musician and "tinkering programmer"