Information générale
Titre:
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement