Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Make a VFP EXE return an error code
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01085276
Message ID:
01085284
Views:
17
Hello Sergey,

Thats in interesting tidbit I never stumbled across, Thanks

Another way would be to output a results file or record, but I like this better because it is more consistant with other functions.

Bob

>Greg,
>
>See Exiting Visual FoxPro returning an error level FAQ #7767
>
>>How can I make VFP EXE return an error code if an error is detected. I am having one EXE call an another EXE via the WScript Run method, and capturing the return error code. But I do not know how to set the error code in the child EXE.
'If the people lead, the leaders will follow'
'War does not determine who is RIGHT, just who is LEFT'
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform