Thanks for the reply. What if the VB DLL is a "lookup" form which returns the key of the table row selected. In this case, I just want to "call" the VB DLL and not create an object and manipulate it. Does this make sense?
Rgds
Petras
>>Hi, forgive me if this topic has been discussed before (I did do several searches through the archives :-))).
>>If I have a Visual Basic form which accesses SQL data built as a DLL, is it possible to utilise this DLL without re-writing it in VFP? If so, how do I call the DLL returning a string to the VFP application?
>>
>
>If the VB project is compiled into an ActiveX dll, then you can just create it with
>
>oVBObject = CREATEOBJECT("MyVBProject.MyCLassName")
>
>and proceed to access the PEMs of the object.
Petras Virzintas