Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling FoxPro DLL
Message
From
02/09/2001 21:59:44
 
 
To
02/09/2001 06:45:27
Raven Ferrer
Software Solutions
Manila, Philippines
General information
Forum:
Visual Basic
Category:
COM, DCOM and OLE automation
Miscellaneous
Thread ID:
00551573
Message ID:
00551662
Views:
21
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform