Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP COM GetObject
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
VFP COM GetObject
Miscellaneous
Thread ID:
00190683
Message ID:
00190683
Views:
56
I try to retrieve a reference to my VFP application when active with Word Basic and Word.


Dim oMyApp As MyApp.Startup

If Tasks.Exists("My Application")= True Then
Set oMyApp = GetObject(, "MyApp.Startup")
-> Runtile Error '429' ActiveX component can't create object
else
Set oMyApp = CreateObject("MyApp.Startup")
-> This line is ok
endif

TIA
Next
Reply
Map
View

Click here to load this message in the networking platform