Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a simple DLL
Message
 
À
17/10/2001 01:37:35
Ashish Patel
Hindustan Petroleum
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00568925
Message ID:
00569411
Vues:
24
In VB you need to set the class up as a 'reference'
Goto the project menu, and choose references,
A huge list will come up with all the registered COM/ActiveX objects on the system.
Choose the one you have created, Unless you change the name, should be something like yourprg Type Library.
Once you have ticked it, and hit OK, VB will be able to create instances of it, and IntelliSense will kick in to make it all that bit easier.
Code such as this will work


Dim o As New yourprg.Myclass
o.doMethod(withParameter)


HTH
- Chris
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform