Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE and MS-Word95
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00020239
Message ID:
00020955
Views:
44
>I'm not yet sure what to do to wait until the user has completed interaction, but this should work. There is probably a more correct way, and if anyone else has any input on this I'd appreciate it...
>
>Thanks and good luck John

Rob,

This works great for my needs:

oWord = CREATEOBJ("Word.Basic")
oWord.FileOpen(mdoc)
oWord.AppMaximize()
wait ""
release oWord

The wait"" is kind of lame, but without it, the prg continues and closes Word (release oWord) without letting me edit my doc. I'll probably replace the wait "" with a wait window or a =messagebox() thing but basically I got it. Thanx!

John Morga
John Morga
Sr. Manager Information Systems
Applications Development Group
Systems Engineer
Telephonics Corporation
http://www.telephonics.com
Previous
Reply
Map
View

Click here to load this message in the networking platform