>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