Click to See Complete Forum and Search --> : Start Word in VB application


Gerard Kastelein
August 13th, 1999, 04:51 AM
How can i start Microsoft Word in an VB Application

chem1
August 13th, 1999, 04:57 AM
Use OLE control. When you insert it inot the form it will ask you about the type of file you would like to attach.Click on doc and also click the check box "Create Link to the file".
Then use
Command1_Click()
ole1.doverb

Hope you will try it!

Naweed Akram
August 14th, 1999, 01:27 AM
If you want to start a separate Instance of Word, use.....

shell ("c:\progra~1\Micros~1\Office\winword.exe")

If you want to open it in your own application, use OLE Objects.