INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Running VB.NET Program in Background

Running VB.NET Program in Background

(OP)
I am trying to create a vb.net program that runs in the background (scheduler) It works great in visual studio when I run it however when I schedule it, it just runs and runs and runs..
I have to abort it.. I am new to vb.net and any help would be appreciated.

Jim

RE: Running VB.NET Program in Background

"It works great in visual studio when I run it " - so how do YOU stop by when you run it?

Have fun.

---- Andy

There is a great need for a sarcasm font.

RE: Running VB.NET Program in Background

(OP)
I works when I run it live however I want to run it using windows scheduler at night un-attended and that is where the problem happens.. it does not work.

Jim

RE: Running VB.NET Program in Background

When you run it 'live', what does your program do? How does it look like on the screen?
Do you see any Form(s)? Do you need to click anywhere?

Have fun.

---- Andy

There is a great need for a sarcasm font.

RE: Running VB.NET Program in Background

See the thread "Email Screen Image From a Sheduled Task" just below yours. From my (our) investigation I think when you run your program you cannot do anything that displays forms or messages on the screen, and anything else that requires user intervention (even error messages). It does not matter if you specify run if not logged in. I also found that the Task Manager has some permission issues that you must follow. Hope this helps and you find a way to make this work because I would like to use it!

Auguy
Sylvania/Toledo Ohio

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close