Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing a Foxpo object to VB
Message
De
28/02/1998 21:20:24
Jay Shepherd
Construction DataFax, Inc.
Montevallo, Alabama, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00081910
Message ID:
00081927
Vues:
27
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform