Solved

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

Posted on 2004-09-30
4
150 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
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.

803 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