Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling FoxPro DLL
Message
De
02/09/2001 21:59:44
 
 
À
02/09/2001 06:45:27
Raven Ferrer
Software Solutions
Manila, Philippines
Information générale
Forum:
Visual Basic
Catégorie:
COM, DCOM et OLE automation
Divers
Thread ID:
00551573
Message ID:
00551662
Vues:
20
>I 've made a dll file in Visual Foxpro 5.0, how can i call this in VB App. ? Please help. TIA.

Use CreateObject() or if you add a reference you can also use New to create an instance of any class marked as OLEPUBLIC in your VFP DLL. Just use the DLL file name and any VFP class marked as OLEPUBLIC:
Set myDLL = CreateObject("myDLL.myClass")
Or, by adding a reference to your project (take advantage of early binding and intellisense):
Dim myDLL As myDLL.myClass
Set myDLL = New myDLL.myClass
HTH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform