aqif
11-08-2001, 04:33 PM
Hi http://www.access-programmers.co.uk/ubb/smile.gif
I am opening a word document from a button on the form. The code for opening the document is:
Private Sub CmdHelp_Click()
Dim RetVal
RetVal = Shell("Winword""C:\Help manual.doc""", vbMinimizedFocus)
End Sub
When I run Access is its normal or standard edition, the button opens the document with no problem. But when I use the Access runtime version to run the database the button fails to open the file n gives error No 53 ans says that File not find. Is there any other alternate code to open the specified word document.
Cheers!
Aqif
I am opening a word document from a button on the form. The code for opening the document is:
Private Sub CmdHelp_Click()
Dim RetVal
RetVal = Shell("Winword""C:\Help manual.doc""", vbMinimizedFocus)
End Sub
When I run Access is its normal or standard edition, the button opens the document with no problem. But when I use the Access runtime version to run the database the button fails to open the file n gives error No 53 ans says that File not find. Is there any other alternate code to open the specified word document.
Cheers!
Aqif