CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2004
    Posts
    4

    stop an *.exe* that is running and program start when windows does

    i am need the code to stop an *.exe* that is running please help thanks and i need to put one of my program in registry (when window starts) thanks for the code in advanced

  2. #2
    Join Date
    Oct 2004
    Posts
    4

    Re: stop an *.exe* that is running and program start when windows does

    Pease help if you can with either one?!

  3. #3
    Join Date
    Jun 2002
    Location
    West Virginia
    Posts
    131

    Re: stop an *.exe* that is running and program start when windows does

    To stop a running app look at this site:
    http://support.microsoft.com/kb/q153463/
    Unless you are doing some kind of system stuff (I don't like to put anything in the registery) put your program in the startup section of start menu.
    Wayne

  4. #4
    Join Date
    Oct 2003
    Location
    Timisoara, Romania
    Posts
    460

    Re: stop an *.exe* that is running and program start when windows does

    If u want to start a program from registries this is the path where you should ad a key for your program:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

    Your key must be a string that contains the path to your program.

    Anyway if you're thinking about makeing a malicious code don't use it cause this path is known by everybody and especially by antivirus applications.
    You liked it? Please show your gratitude and rate it!

    There is no 'patch' for stupidity.

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