Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object Browser Ok - Cannot instanciate
Message
De
23/12/2005 12:52:00
 
 
À
23/12/2005 12:46:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01080586
Message ID:
01080589
Vues:
13
>Just getting my feet wet with Com interop. I have developed a simple class in VB.Net complete with the appropriate interfaces and compiled it with COM registration. When I examine the object in VFP9 using the Object Explorer, after having scanned the registry, The object is visible with the class as expected. The methods are identified and all appears OK. But when I try to instanciate the object with
>o=CREATEOBJECT('aws2test1.tester')
>I get the error :
>Class definition AWS2TEST1.TESTER is not found.
Have you tried to add it in Options / Controls / ActiveX Controls? In there, you can add it to the list so the interface will know about it.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform