hi, im making a program and i need it to start when the computer sarts
could someone give me some guidance
thanks for reading (and hopefuly answering)
Jack
Mr_Man
0
Newbie Poster
Recommended Answers
Jump to Postthere are many ways :
1. put the exe file on startup folder (manually)
2. Get the Startup folder and copied your exe file to startup folder.
3. Use registry to run your program when windows start.
Jump to PostPrivate Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load My.Computer.Registry.LocalMachine.OpenSubKey("SOFTWARE\Microsoft\Windows\CurrentVersion\Run", True).SetValueApplication.ProductName, Application.ExecutablePath) End Sub
All 7 Replies
Jx_Man
987
Nearly a Senior Poster
Featured Poster
ShadowMaster215
0
Newbie Poster
pizzacoder
0
Newbie Poster
Netcode
33
Veteran Poster
Chiranjith
0
Newbie Poster
francis994
0
Newbie Poster
M.Waqas Aslam
67
Posting Pro in Training
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.