Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning Value from EXE into SQL DTS Packager
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00498703
Message ID:
00498723
Vues:
10
This message has been marked as a message which has helped to the initial question of the thread.
>Are you familiar with VBscript? Could I write a VBS that would call the VFP exe and have the VFP exe return a value to the VBS? If so, any thoughts on what that shoudl look like? Thanks again, Larry.
>John

The only way I know of to do this would be to create a COM server using VFP and have the VBScript create the VFP object. Then call a method of the object and depending on the return value of the method, return the appropriate value from the script.
Dim lox
lox = createobject('myvfpcomserver.myclass')
if lox.DoSomeMethod = &H1004 then
   return 1
else
   return 0
end if
Or something like that.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform