Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing a Foxpo object to VB
Message
From
28/02/1998 21:20:24
Jay Shepherd
Construction DataFax, Inc.
Montevallo, Alabama, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00081910
Message ID:
00081927
Views:
23
>Jay,
>
>You can setup your VFP object as an OLE server by adding OLEPUBLIC to the class definition, CreateObject( "VFPClasslib.VFPServer" ) and talk to it like any other COM.
>
>>I'm working with a VB program where I need to pass a VFP object to it so that the VB program can access properties and methods on the VFP object.

What I'm trying to do is create a call back scenario. Right now, I have an ActiveX EXE that is written in VB. VFP instantiates it, and then I need to pass an object reference to another object in VFP so that the ActiveX EXE can call some methods.

Is this possible?
Jay Shepherd
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform