Google Answers Logo
View Question
 
Q: Automatically run VB 6.0 app when PC Starts ( No Answer,   1 Comment )
Question  
Subject: Automatically run VB 6.0 app when PC Starts
Category: Computers > Programming
Asked by: meixler-ga
List Price: $35.00
Posted: 09 Oct 2003 13:52 PDT
Expires: 13 Oct 2003 12:28 PDT
Question ID: 264693
Looking for source code for making the appropriate registry settings
to set (or unset) a VB 6.0 app to start automatically when PC starts.

See http://209.71.92.245/autostart.gif for a screen shot of a simple
VB form.  Form contains a check box (chkAutoStart) captioned 'Start
this app automatically when PC starts', and a command button (cmdSave)
to save the setting.  

The app should start automatically when PC starts if (and only if) the
user previously checked the check box.  Also, when the app starts, the
check box should reflect the user's previous setting.

Please provide source code which would make this app function
correctly.
Answer  
There is no answer at this time.

Comments  
Subject: Re: Automatically run VB 6.0 app when PC Starts
From: malachite-ga on 09 Oct 2003 17:42 PDT
 
Simply putting your application's path in the
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" key
in the registry will cause it to run on startup.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy