John
04-15-2004, 06:18 AM
Here is an example I put together of how to properly impliment the ability for your program start when windows starts. The module in the attached zip file does all the work, the rest is just there to show you how to use it.
With this module it is just as easy to set a program to run with windows as it is to remove it. By making it easy to use my hope is that you will use this instead of the many examples out there that show how to add your program to startup but not remove it or verify if it is there in the first place.
Please note that this is not something you should be doing in all your programs. You should only add this to your programs if you really need it and the user should always have a place in your program to control this functionality. Be good to your users!
Please report any problems or concerns via PM
With this module it is just as easy to set a program to run with windows as it is to remove it. By making it easy to use my hope is that you will use this instead of the many examples out there that show how to add your program to startup but not remove it or verify if it is there in the first place.
Please note that this is not something you should be doing in all your programs. You should only add this to your programs if you really need it and the user should always have a place in your program to control this functionality. Be good to your users!
Please report any problems or concerns via PM