Run at StartUp option
Posted on 2002-07-10
I am using Borland C++ Builder 4.0 Pro.
I am trying to add an option to an application on a 'preferences' form using a checkbox that the user can either have the app load on Windows Starup, or not. I am having no luck at all. I have tried a Registry Entry that does not function. I have looked all over the web, my reference books, and the Borland Newsgroups. I am hoping that someone here can help me out.
I have come to realize that it seems that if I can add (and delete) a shortcut into the Windows Startup directory, then I will have the functionality that I need.
All I need is some sort of an example function I can study, or a snippet of someone's code that I can look at. So I can add this option via a checkbox.
Thank you in advance for any help offered.