aqif
Registered User.
- Local time
- Today, 20:37
- Joined
- Jul 9, 2001
- Messages
- 158
Hi
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