Visual Basic/vb6

Advertisement


Question
i have made a simple vb application.i want it run at the windows startup.what can i do?

Answer
Put the exe in the startup.  If you do not want the program to start for all users
C:\Users\User name\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

If you want the program to start for all users
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup


Note that these folders are for Vista and 7.  The folders for Windows XP will be different.

If you do not want the program to start for all users
C:\Documents and Settings\User Name\Start Menu\Programs\Startup

If you want the program to start for all users
C:\Documents and Settings\All Users\Start Menu\Programs\Startup  

Visual Basic

All Answers


Answers by Expert:


Ask Experts

Volunteer


Kevin Watkins

Expertise

I have written several programs integrating with MS Office including Access, Excel, and Word. I have used control arrays as well as data arrays, text files. I have an associates degree in programming. Please do not ask questions about VBA or dot net. I can only answer questions about Visual Basic 6.

Experience

I have written several programs integrating with MS Office including Access, Excel, and Word. I have used control arrays as well as data arrays, text files. I have an associates degree in programming.

Education/Credentials
I have an associates degree in computer programming.

©2016 About.com. All rights reserved.