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

    Restart and application

    In my application if a certain sys/vxd file is not loaded I would like to copy the file in the system directory, set up the registry and then reboot the machine from within my application. After the machine boots up again I would like my application to be relaunched without the user actually doing this. I know how to restart the windows, but how do I get it to launch my application?


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: Restart and application

    create a registry entry under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce
    for your application
    This will automatically start your after upon start.


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