Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Launching MS-Word?
Message
From
04/02/2002 11:40:30
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00614833
Message ID:
00614870
Views:
12
>Hi Friends!!!
>
>How can I launch Microsoft Word and open a specific file from VFP?? I need it for both versions, 97 and 2000, maybe it´s the same.
>
>TIA!

lcWordFile = FullPathToYourDoc.doc

oWord= createobject('Word.Application')
oWord.Documents.Open(lcWordFile)
oWord.Visible = .t.

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform