Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Syntax for Instantiating a VFP DLL in VB
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00454793
Message ID:
00454800
Vues:
22
>Good Afternoon,
>
>I have a Multi-Threaded Dll which was created in VFP. If I do a create object from Fox I can run it without a problem.
>
>My problem is that I want to do it from within an existing VB application. Could someone help me or direct me to an example of calling a VFP application from within VB.
>
>Sincerely,
>
>Michael Brennan-White

Add the VFP DLL's type library to the VB Project References, then you can use it like any other object, e.g. (once added to Project References)
Dim oVFPClass As MyVFPDLL.MyVFPClass
Set oVFPClass = New MyVFPDLL.MyVFPClass
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform