Solved

How to programm that something executes in a determinated hour/time

Posted on 2004-09-30
4
157 Views
Last Modified: 2010-04-24
Hello everybody

i want to programm that some functions executes in a defined hour / time.
I mean, i want that, when my application is running , at 12 o'clock (for example) it executes some internal functions or management functions.
Anyone knows how to programm this?? Im using Visual C++ .NET

Thanks in advance.
0
Comment
Question by:Synth2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 6

Accepted Solution

by:
Svetlin_Panayotov earned 20 total points
ID: 12197585
You can create separate separate app for this task - and it can run as windows service.
check this link for more info:
http://www.codeproject.com/useritems/manc_winservice.asp
There's also another way around - create a thread in your app that periodically checks what time is it.The main drawback here's that you can have some sync problems.
Svetlin
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

696 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