Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Test for COM server
Message
From
11/06/1999 10:36:32
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Test for COM server
Miscellaneous
Thread ID:
00228773
Message ID:
00228773
Views:
47
Hello,

If I create a Word application server, like
owordobj = createobject("word.application")
owordobj.visible = .t.
owordobj.activate
and then go to Word and close it, any future calls with owordobj returns the RPC server is unavailable error. Is there a way to test in VFP code whether the server or other COM object to which I have a reference is still instantiated?

Thanks,

Rod Poujade
Montreal, Canada
Rod Poujade
Next
Reply
Map
View

Click here to load this message in the networking platform