By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,650 Members | 1,785 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,650 IT Pros & Developers. It's quick & easy.

How do I set "Result Code" (visible in Scheduled Tasks) in VB App

P: n/a
I would like my VB application to set some specific values in the "Result"
code so that when we check the "Last Result" column in Scheduled Tasks we'll
see that information.

Suggestions?
Nov 22 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
I'm not sure if this will do it, but I've set the
System.Environment.ExitCode property to get the application to spit out
a success/fail value at the commandline for system's admin tools to
pickup on. Maybe it'll do the job in Scheduled Tasks as well.

Have A Better One!

John M Deal, MCP
Necessity Software

Dave_NH wrote:
I would like my VB application to set some specific values in the "Result"
code so that when we check the "Last Result" column in Scheduled Tasks we'll
see that information.

Suggestions?

Nov 22 '05 #2

P: n/a
I'm not sure if this will do it, but I've set the
System.Environment.ExitCode property to get the application to spit out
a success/fail value at the commandline for system's admin tools to
pickup on. Maybe it'll do the job in Scheduled Tasks as well.

Have A Better One!

John M Deal, MCP
Necessity Software

Dave_NH wrote:
I would like my VB application to set some specific values in the "Result"
code so that when we check the "Last Result" column in Scheduled Tasks we'll
see that information.

Suggestions?

Nov 22 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.