Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Retrieving Return Values from Out Side Applications
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00099207
Message ID:
00099334
Vues:
21
>>>I have a VB exe which is called from within Visual Foxpro. I want to be able to retrieve the return value from the VB exe. Can it be done and How?
>>>
>>>
>>>Thanx
>>
>>The way you would do this would be to create a VB DLL rather than an exe. With a DLL you could directly call the VB function you need and return it to VFP.
>
>
>My knowledge of Visual Basic is Very Basic. I tried to create the app as a DLL in the beginning but a DLL does not support END to close a form. Basically the VB app is a single form that is passed several values. Depending on the values, certain command buttons are active. The return value is the value of the button selected to close the form. Basically I could do the thing is VFP but I wanted something small and quick.

Fred,
I did a similar project with C. The only way I could get round this was to put data into a text file and VFP picks up the data.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform