Visit, the Visual Basic-Specific Search Engine.
               FREE benefits include Daily News, Developer Tips, Career Center, VB Forums & more.

Home Recent Code Popular Code White Papers


Submit Code Email

Author:  DiskJunky
Date Submitted:  12/18/2000
Category:  Registry
Compatibility:  VB 6,VB 5
This code has been accessed 11751 times.

Email Yourself this snippet:

Task: Put your program in the registry to startup when windows starts! This is actually a modulized (and debugged), VB5 version of either S Rajkumar's or Craig Rees' code (I can't remember who I got it off). Just call either of the two main procedures (MakeStartUp/DeleteFromStartUp) including a full path and .exe name of the application you want to run at startup.