Paul Schellingerhout 13.Jul.05 04:06 PM a Web browser
Approach 9.8 Windows 98
Sorry if you read the Approach User mailing list list, but I have had no luck there so I thought I would try here.
I am trying to view Wordpro documents from within Approach. So far with a little help, I have
Sub Click(Source As Button, X As Long, Y As Long, Flags As Long)
Dim fname As String
fname=currentview.body.file_path.text & currentview.body.file_name.text
Set XXX = .objoleobj3
xxx.dispatch.application.ApplicationWindow.UserInterfacePrefs.OpenDocsVisible = True
XXX.dispatch.application.openDocument fname, "", "", "", True
It seems to be opening the document, but I cannot get the ole object in approach to update.
Maybe I am going about this all the wrong way, but would appreciate an expert to pass comment.
I have tried doing this on a form and a form as a dialog (not gone to a dialog yet)
(I know It could be done using a Picture Plus field, but would rather do it through script)
Any ideas will be very much appreciated.
Viewing Wordpro ducuments within ap... (Paul Schellinge... 13.Jul.05)
. . RE: Viewing Wordpro ducuments withi... (Keith Seeley 14.Jul.05)
. . . . RE: Viewing Wordpro ducuments withi... (Paul Schellinge... 14.Jul.05)
. . Alternative method (Doug Mackie 14.Jul.05)
. . . . RE: Alternative method (Keith Seeley 14.Jul.05)
. . . . . . RE: Alternative method (Doug Mackie 15.Jul.05)