Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing MSWord from VFP
Message
From
24/02/2000 10:18:04
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Accessing MSWord from VFP
Miscellaneous
Thread ID:
00336743
Message ID:
00336743
Views:
79
Hi,

Thanks to all that have tried to help me along, but I still have a problem: (VFP5/Win98/Word97)

I write a small program, creating the Word application object,
then
oWord.Documents.Open("MYFILE.DOC")
oWord.Visible = .T.
oWord.Application.Activate

which lets me see Word with the document in a brief flash, then
it is gone. If I insert a wait window command after activating Word,
I can access end edit the document, then close it, and hit any key to remove the wait message and continue with the program. But it should not be necessary to to it that way? I haven't found out how to maximize Word either. VBA, as far as I can see, doesn't give any clue to the command for this except in a Word macro.

Rolf
Next
Reply
Map
View

Click here to load this message in the networking platform