CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Guest

    Where to place my application ?

    Hi,

    I want to execute an application when windows start automatically. Please tell me where can I place my application path except leaving the option Startup.

    My application should not be available in the Startup Menu Bar. And after execution it should also not appear in the task list. Purely it should be a program which runs without users notice.

    Regards

    RM


  2. #2
    Join Date
    Dec 1999
    Location
    Austria
    Posts
    17

    Re: Where to place my application ?

    To run your application, without placing them in the autostart-folder, make a registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    Write any Name as new Value and place the path of your application.


  3. #3
    Join Date
    Dec 1999
    Posts
    2

    Re: Where to place my application ?

    i have the same problem tell me how in vb codes

    thanks


  4. #4
    Join Date
    Aug 1999
    Location
    US, Florida
    Posts
    817

    Re: Where to place my application ?

    To start the app when windows starts you can neither place code into windows registry or use simpler way...you can place
    link (.lnk) or
    executable (.exe) or
    Batch file (.bat)
    into C:\WINDOWS\Start Menu\Programs\StartUp


  5. #5
    Join Date
    Aug 1999
    Location
    US, Florida
    Posts
    817

    Re: Where to place my application ?

    oops, :-), I misread about leaving option StartUp, sorry


  6. #6
    Join Date
    Dec 1999
    Posts
    2

    Re: Where to place my application ?

    were and how can u make a registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run


    Write any Name as new Value and place the path of your application.






  7. #7
    Join Date
    Dec 1999
    Location
    Austria
    Posts
    17

    Re: Where to place my application ?

    REGEDIT4

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
    "Any Name"="C:\\...\\...\\Your.Exe"

    Write this into a file, name this file test.reg and doubleclick this file.


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