Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Opening and Saving Files with MS Word ActiveX Control
Message
 
To
20/05/1999 16:15:11
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00221150
Message ID:
00221268
Views:
17
>Has anyone figured out how to open a file or save a file with the Microsoft Word ActiveX control in VFP 6.0? The control is nice because it gives you the Word editing toolbar and Menu with a couple of exception to help control what the enduser does.

Try this:

oWord=CREATEOBJECT("Word.Application")
oWord.wordbasic.fileopen("FullPathNameToDocFile")
oWord.Visible=.T.

This is just a little test. Watch the wordbasic stuff - all lower case (case sensitive).

I'm just starting a project that needs lots of word knowledge so I'm going out to buy a word basic book. I can throw more info your way after the weekend.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform