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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only