Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing a Foxpo object to VB
Message
 
To
01/03/1998 13:40:51
Jay Shepherd
Construction DataFax, Inc.
Montevallo, Alabama, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00081910
Message ID:
00082022
Views:
39
>>It is possible if the other object is an OLE public object. IOW, you create the VB server from vfp, pass it the name of a VFP ole public class and let the VB object creqate the VFP activex server and call its methods. I know of no way for you to pass a reference of an existing VFP object to VB so that VB can call that object's methods. VB has to create a VFP activeX servr object in order to have access to its methods.
>
>That sounds like it should work for what I need. A question I still have though, is that if I create that object from VB, do I load another instanace of Visual Foxpro?
Jay,

Yes you do. VFP's dll's are not sharable so your application needs them adn teh activex server needs them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform