Click here to Skip to main content
15,886,816 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
i would like to make a task by visual basic start when windows start
Posted
Updated 29-Dec-15 10:01am
v2
Comments
Sergey Alexandrovich Kryukov 29-Dec-15 15:58pm    
What is "task scheduler in visual basic"? If you mean existing Windows Task Manager, this is an existing service. It already does all you should do and is not related to "Visual Basic". If this is your own scheduler, I have no idea what is it. Anyway, you may want to have a Windows Service. Besides, you can register any application to be started on different phases of Windows start...
—SA
Member 12164472 29-Dec-15 16:00pm    
How to create a task in Windows Task Scheduler
ZurdoDev 29-Dec-15 16:03pm    
1. Reply to the comment so that the user is notified.
2. See solution for some suggestions.

A simple google search shows this post that has several options, c# - Creating Scheduled Tasks - Stack Overflow[^]
 
Share this answer
 
Please see my past answer: Windows Services - problem with operating system[^].

If you are talking about your own Windows Service, please see my past answers:
Walkthrough: Creating a Windows Service Application in the Component Designer[^],
Windows services Error[^],
Configure Windows Service with UI[^],
How to install windows service programmatically[^].

You can auto-start any application. I have one "secret weapon": Winternals AutoRuns which can help you to learn about all places where you can register it. Please see my past answer:
How to start the application before user login to the System[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900