Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB6: how to open a Word doc in VB6 application
Message
From
13/05/1999 11:24:55
 
 
To
All
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
VB6: how to open a Word doc in VB6 application
Miscellaneous
Thread ID:
00218406
Message ID:
00218406
Views:
53
Can someone help?

The following doesn't work. It should open a Help.Doc when the application user clicks on the F1 or Help button.


Private Sub subaidemenu_Click()
Dim helpfunc As Variant

On Error GoTo errormsg
helpfunc = Shell("C:\Program Files\MSOffice\Office\winword.exe", 3)
SendKeys "%FOC:\VIDEOCON\HELP.doc~", True
AppActivate helpfunc, True
GoTo fin

errormsg:
MsgBox "The user guide is not found. / Le guide de l'usager est introuvable.", , "ERREUR!"
fin:
End Sub
Next
Reply
Map
View

Click here to load this message in the networking platform