There are registry keys too, but I forgot which ones. Run, RunOnce etc.
.
I am not a complete idiot. Some parts are still missing. Check out the rtf-help tutorial General VB Faq Thread Change is the only constant thing. I have not changed my signature in a long while and now it has started to stink! Get more power for your floppy disks. ; View honeybee's Elite Club: Use meaningfull thread titles. And add "[Resolved]" in the thread title when you have got a satisfactory response.
And if that response was mine, please think about giving me a rep. I like to collect them!
HKEY_LOCAL_MACHINE
Software
Microsoft
Windows
CurrentVersion
Run
You can place it in the HKEY_CURRENT_USER hive as this will have the same path under it & only apply to the user who installed your program as opposed to everyone on that machine.
RunOnce is used when you attempt to install a file & an existing one is in use - you can't overwrite the file so you place an entry to copy over the file in this key which'll excecute the next time windows starts. You don't want this one or the runonce, just use run or as mentioned above (which'll be easier for you) use the startup folder.
Please rate this post if it was useful for you!
Please try to search before creating a new post,
Please format code using [ code ][ /code ], and
Post sample code, error details & problem details
Phew, took a little while to write this one, but this little module should cover any work relating to adding items into the windows registry...
Please rate this post if it was useful for you!
Please try to search before creating a new post,
Please format code using [ code ][ /code ], and
Post sample code, error details & problem details
Phew, took a little while to write this one, but this little module should cover any work relating to adding items into the windows registry...
Yeah.. and it took me a while to debug the problem as well.. Sorry I have just got to post this alex... there is a tiny teeny bit of problem here... you forgot to add the count of the null terminating character for the size of the value.