Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning a value from a VFP exe
Message
De
13/04/2000 08:03:01
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Returning a value from a VFP exe
Divers
Thread ID:
00359172
Message ID:
00359172
Vues:
107
Hi,

I've been asked to write a VFP program which will accept some parameters and return a value to the calling program.

The calling program will be written in VBScript.

Getting my VFP exe to accept the parameters is fine, but I can't see how to return the value [which will be a simple character string].

For instance, the complete main program in my project looks like this:

parameters lctablename
wait window lctablename
return lctablename

If I run this in VFP, the wait window displays ok, but I get a syntax error on the return.

This is in VFP 6.0 with SP3. Anyone got any ideas ? Also, are there any problems with calling a VFP exe with parameters from VBScript.

Best.

Matt.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform