|
-
Nov 30th, 1999, 09:30 PM
#1
Thread Starter
New Member
Does anyone know if there is a way to capture an error code generated from a shelled VB application? In C the equivilant is return(0) or exit(0) - which would return 0 for the error number. I can use the Err.Raise to return an error, but this application will shell, execute, then close without any user intervention - if I use the Err.Raise I will get a popup and the process doesn't clear from memory. Any help would be appreciated.
-
Nov 30th, 1999, 10:04 PM
#2
How about Generating an Error Log File?
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
-
Nov 30th, 1999, 10:11 PM
#3
Thread Starter
New Member
Don't think that would work for what I need it for. I am using SQL 7 and have written an application that will be scheduled to run nightly to compile data that has been entered throughout the day. SQL 7 knows if a scheduled application has completed successfully by the exit code that it returns. W/o that exit code I will not know if the job failed or succeeded.
-
Nov 30th, 1999, 10:12 PM
#4
Frenzied Member
You could raise an error in SQL 7, which could be logged...
-
Nov 30th, 1999, 10:17 PM
#5
Thread Starter
New Member
If I cannot return an errorcode how would SQL know that an error has occured? Would I still be able to use the notification services that are built into SQL (ie it pages me when the job fails) if I write the error to the log?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|