Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Instantiate A VFP DLL In VB
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00515870
Message ID:
00515955
Vues:
15
>>>Is it possible to instantiate a VFP DLL in Visual Basic?
>>>
>>>How so?
>>>
>>>thanks
>>
>>Dim ox as Object
>>
>>ox = createobject("MyVFPProject.MyVFPClass")
>>
>>It's basically the same as you would using VFP and any COM object.
>>
>>HTH.
>
>Or
>
>Dim ox As myVFPProject.MyVFPClass
>
>if you want to take advantage of early binding.

Provided you add a Project Reference to its Type Library.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform