Chopin
New member
Hi,
I want to program my visual basic application to automatically make itself a startup program during run-time. I want to have a button on my form that says "Make me a startup program", and have it execute whatever code is needed to do this. I don't want to have to create an installation file, which is very important. There are two different methods here:
1. The application copies itself (or a shortcut to itself) to the startup folder
2. It edtis the system registry
I do not know how to code either these things, and if there's anyone who could help me out with 1 of the 2 (preferably both though) I would really be greatful. Thanks a lot!
I want to program my visual basic application to automatically make itself a startup program during run-time. I want to have a button on my form that says "Make me a startup program", and have it execute whatever code is needed to do this. I don't want to have to create an installation file, which is very important. There are two different methods here:
1. The application copies itself (or a shortcut to itself) to the startup folder
2. It edtis the system registry
I do not know how to code either these things, and if there's anyone who could help me out with 1 of the 2 (preferably both though) I would really be greatful. Thanks a lot!