Solved

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

Posted on 2004-09-30
4
154 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 May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Communication between C++ / C# applications 9 139
help with SQL 15 129
Need some help with listview limit text 20 121
C Language combined operators 28 137
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

734 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