August 19, 2003 at 8:04 am
I have a VB program that imports data into a DB, it checks for the presence of a file created by the FTP process that puts the data on the server and only runs when new files are present.
There are a number of steps following it, that only need to run IF it processed new data.
The scheduler allows control via a Process exit code, but I can't figure out how to get VB6 to set this.
So does anyone know how to have VB6 set this, or have some other suggestion ??
KlK, MCSE
KlK
August 19, 2003 at 8:42 am
Declare the following:-
Private Declare Sub ExitProcess Lib "kernel32" (ByVal uExitCode As Long)
Then in your code:-
ExitProcess (yourexitcode)
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy