Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP COM GetObject
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
VFP COM GetObject
Divers
Thread ID:
00190683
Message ID:
00190683
Vues:
57
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform