Solved

set program start by itself at midnight

Posted on 2014-04-28
3
463 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 70

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

772 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