473,511 Members | 9,908 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Reminder / Follow Ups Application

Present I am using Windows.Forms.Timer for reminder. But I want to sleep on events and when every event wake up they call my code. Please give the coding of the below example

for example : let us say I have three reminders..
one at 10am, one at 12am and one at 2pm same da
so my program starts at 9a
it goes through each event and finds out how much time it will take to hit this event( eventtime - current time
so let's say I created events in this orde
10am 2pm and 11am (better than 12
so my program creates first event and adds an entry in queue (which I'll explain
wake me up after (10 am - 9 am) 60 second
second event (2pm-9am) 300 second
and third event (11am-9am) 120 second
sleep on three events and when every event wake up they call my code and execute

Nov 15 '05 #1
2 1699
Hi
you could use the timer to periodically .. let s say every hours get the
time "using System.DateTime.Now(); " to see if is time to execute your code
or not ... it is the right time then start executing your code...... hope
this would help

Nov 15 '05 #2
Hi
you could use the timer to periodically .. let s say every hours get the
time "using System.DateTime.Now(); " to see if is time to execute your code
or not ... it is the right time then start executing your code...... hope
this would help

Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
9606
by: Mikey | last post by:
This sample code demonstrates how to send an email message using CDO and have it set the Outlook Importance property and the Outlook Follow Up reminder attributes in the recipient's InBox. The...
0
1250
by: Stephen Hynds | last post by:
Hi, I'm writing a VB app that sends mail to a number of users when an important deadline is approaching. I can get the mail to show up as high priority and I can even get it to have a follow up...
9
2785
by: Phil G. | last post by:
Hi all, I would like to create a very simple 'lite' version of Outlook Calendar's reminder function. I will use a windows service that will read timedate stamps from a db and compare them to...
1
3083
by: Jeremy Simpson | last post by:
Has anyone tried to set a reminder in MS Outlook from with Access? I want to, when a checkbox is ticked automatically set a reminder in access that takes information from the current record i.e...
5
5398
by: Ataana | last post by:
Hi I want to implement reminder application that pops up at the specified time. I think there would be some sort of timer that will check when a reminder is due and pop-up the reminders. The...
1
2270
by: THEAF | last post by:
OK, i've had quite a few problems with this form and again i have another one. i'm using vb6 and access. THIS IS MY FORM LOAD AND AFTER THE LOOP IS WHERE THE REMINDER CODE IS Private Sub...
3
2653
Shakss2
by: Shakss2 | last post by:
Hi, I have a application which creates a task in outlook on the click of a button. I have made set reminder true. It works fine when it tried on the desktop. But wne tried the same...
0
806
by: Chris Calloway | last post by:
Just a reminder, we're at the two week warning on early bird registration for PyCamp: http://trizpug.org/boot-camp/2008/ Registration is now open for: PyCamp: Python Boot Camp, August 4 - 8...
0
762
by: Chris Calloway | last post by:
Final reminder, we're in the last two weeks of open registration for PyCamp, Plone Boot Camp, and Advanced Plone Boot Camp: http://trizpug.org/boot-camp/2008/ Registration is now open for: ...
0
7148
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7367
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7430
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7089
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7517
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5072
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4743
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3217
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
790
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.