General information
Title:
Return Codes from Visual Basic EXE
Howdy;
Does anyone know how to return a code to a calling program from a Visual Basic exe?
My problem is this. SQLServer 7 has a feature called Scheduled Tasks which allows a user to execute either stored procedures or command line calls at pre-determinded times. It also allows for several steps to be in each Task. If one of these steps fails, you can stop the Task from continuing. We've used this extensively with stored procedures, and it works great. Just use the "Return #" line in you stored procedure to return an integer. Now, we're calling a standalone VB exe, and we need to know if it finished properly. How can I pass back a return code? Thanks a bunch,
Vince
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only