473,398 Members | 2,165 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

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

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
2 2124
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Elmar Haneke | last post by:
Hi, I do have an problem with Python and Capisuite. On calling one of the Capisuite functions I get an Exception "global name 'Result' is not defined". Where to search for the problem?...
1
by: Dave_NH | last post by:
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?
5
by: apple | last post by:
UDBV8 fp 6a - AIX 5.1 We have scheduled cron jobs to do backups. Periodically and starting to occur more frequently, a backup fails with this error: SQL2072N Unable to bind the shared library...
2
by: Johann Blake | last post by:
I posted a related problem today. The problem is this: string str1 = @""""; When I execute this code (even in a bare bones application), in the IDE it returns "\""" Why? Even in the...
2
by: devendra pardeshi | last post by:
hi friends/seniors i am stuck on one problem in VB 6.0 and need solution. see if u can help me. first i describe the problem. Can u imagin the WinZip scenario. we right click on some file...
1
by: Robin Tucker | last post by:
Hi, I have a problem with my code (somewhere in the InitialiseComponent) preventing any of my controls being visible in form design mode, although everything is ok at runtime. No errors are...
3
by: nan | last post by:
Hi All, I am trying to connect the Database which is installed in AS400 using DB2 Client Version 8 in Windows box. First i created the Catalog, then when i selected the connection type...
6
by: roddy | last post by:
Hi there, i've got a problem with the command "SELECT USER". No matter who is logged in and no matter how he is connected (windows authentification or not), the result is always 'dbo'. The same...
13
by: frk.won | last post by:
I am interested in learning how to use the VS 2005 code snippets. However, I wish to know what are the best ways to source control the code snippets? Are there any source safe/subversion...
2
by: Okko Willeboordse | last post by:
To get the "code object" c of my_class I can do; c = compile(inspect.getsource(my_class), "<script>", "exec") This fails when inspect can't get hold of the source of my_class, for instance...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.