Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make sure Word is gone
Message
From
21/11/2000 18:31:05
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00443950
Message ID:
00444409
Views:
7

>Have you tried a Windows API call, something like this:
>
>DECLARE INTEGER FindWindow IN Win32API ;
> String lpClassName, String lpWindowName

[snippet snipped]


Looks like what Della M was talking about in another subthread. I'll try this.

I'm curious as to whether I need the word application object to be visible in order to find it with the API call.

I'm also curious as to what happens if another copy of word is running (was started independently from my app). People may run my app while they have word open for other reasons...I wouldn't want them thinking of me as an unsavory character for dumping the last three hours of their word work (though it would give me a chance to lecture them about periodically saving their work!! ;-)
"The Iron Fish: The water is cold...but the fish don't mind"
...Jay Jenks, boyhood chum
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform