Opening word doc with Access runtime version

aqif

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

Did you ever solve this problem?

I have the same problem with Word & Excel files when using Access 2007 Runtime.
 

Users who are viewing this thread

Back
Top Bottom