CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2012
    Posts
    35

    Win7 Task Scheduler won't run VB6 pgm

    I have a VB5 and a VB6 program that runs fine in Win 7 computers if I click the exe.

    This program also will start OK from the Task Scheduler on Win XP computers.

    The Win 7 Task Scheduler won't start it either on a win 7 Professional or a Win 7 Home version computer.

    What could be wrong??

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Win7 Task Scheduler won't run VB6 pgm

    Nothing runs at the SYSTEM level anymore. Needs ADMINISTRATIVE Privileges in order to run...
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Jan 2012
    Posts
    35

    Re: Win7 Task Scheduler won't run VB6 pgm

    Finally solved the problem.

    Under the "Triggers" setting on the Task Scheduler on Win 7 computers, "Run only when user is logged on" must be selected.

    Hope this helps some!!

    Thanks for your response.

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

Featured