Results 1 to 6 of 6

Thread: How to Start a Program Automatically when Windows Start...

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2000
    Location
    India, Chennai
    Posts
    121

    Exclamation How to Start a Program Automatically when Windows Start...

    Hi Guys,
    I need to Start my app Automatically when windows Starts. But I don't want to Put it in Start Menu-> StartUp. Is there any other way to do this. Thnx in advance.

  2. #2
    Fanatic Member crispin's Avatar
    Join Date
    Aug 2000
    Location
    2 clicks west of a Quirkafleeg...Cornwall, England
    Posts
    754
    put a registry key in

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

    with the path to your exe:

    C:\Program Files\Netropa\Multimedia Keyboard\MMKeybd.exe

    for example,

    that will run on startup....
    Crispin
    VB6 ENT SP5
    VB.NET
    W2K ADV SVR SP3
    WWW.BLOCKSOFT.CO.UK

    [Microsoft Basic: 1976-2001, RIP]

  3. #3
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    Or in the win.ini file in the windows section, put load = apppath.
    But the registry is better.
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Dec 2000
    Location
    India, Chennai
    Posts
    121

    Exclamation Thnx Guys, Thnx for ur Code...

    Hi Crispin and Vlatko,
    I got ur code and got it working. Thnx for it....

  5. #5
    Member
    Join Date
    Jan 2001
    Location
    I thought you knew!!
    Posts
    38

    Question ....,..

    What would happen if someone deleted the exe..would Windows show msgbox giving an error? Or like not let the OS load?

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Dec 2000
    Location
    India, Chennai
    Posts
    121

    Exclamation I think it would Search for the File...

    Hi punK,
    I think it would search for the File. (with the File Search dialog if a Invalid Shortcut is displayed)..

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