Solved

set program start by itself at midnight

Posted on 2014-04-28
3
454 Views
Last Modified: 2014-04-29
I would want to sent my program start and run by itself at midnight everyday. I am using VB.NET

Thank you

Anthony
0
Comment
Question by:Anthony Matovu
3 Comments
 
LVL 7

Assisted Solution

by:Utkarsh Kulkarni
Utkarsh Kulkarni earned 167 total points
ID: 40026975
You can create a schedule task for the same. If its an exe file you can directly set the scheduler in Windows.
If it a web application (URL) then you need to write 4 lines VB script & then create schedule to execute this script(which run that URL / Page...e.g. http://www.xxxxx.xxx/schedule/once-a-day.aspx).

Ref for Windows 7 is Schedule a Program
0
 
LVL 8

Assisted Solution

by:Ganapathi
Ganapathi earned 166 total points
ID: 40026978
Create a Setup from your application.

Install it in the system.

Use "Task Scheduler" tool in your machine to Start the program. You can also pass the parameters while scheduling.

Let me know if you need a reference link.
0
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 167 total points
ID: 40026987
When I need to build that kind of application, I always create a Windows form application that can process some tasks and close itself when done. This application is then triggered by a task in the Tasks Scheduler of Windows.

More details on my app at http://emoreau.com/Entries/Articles/2008/11/Passing-arguments-to-an-application-startup.aspx
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video discusses moving either the default database or any database to a new volume.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now