Results 1 to 4 of 4

Thread: Console App State [Not Resolved]

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2005
    Posts
    540

    Console App State [Not Resolved]

    I have a Console application that is used to delay the startup of some programs when the computer boots up.

    It works fine.

    The only problem is that it has to stay open until the application has been launched (It uses Threading.Thread.Sleep to wait a certain amount of time). This means that it stays in the start menu and can get in the way.

    Is there any way to hide console applications and/or set their startup window state inside the program (As I may want to control these with parameters)? Or would it be easier to just use a form application and copy the code over?

    Another way to solve this would be to use Task Scheduler to set the program to launch at X seconds in the future, or something that has a similar effect, though I want to keep away from this and have my program rely on as less external programs as possible.

    Edit:
    I'm using VS2008
    Last edited by Slyke; Nov 17th, 2008 at 03:31 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width