beeena
asked on
timer
Hello,
I want create an app to reminder the user abt his appointment(for eg : he has appointment with client 4 pm).So my app should popup a dialogbox at 4pm and remind him abt his appointment.Is it possible to do?. If yes, can some-one help me to do this.
Thanks
I want create an app to reminder the user abt his appointment(for eg : he has appointment with client 4 pm).So my app should popup a dialogbox at 4pm and remind him abt his appointment.Is it possible to do?. If yes, can some-one help me to do this.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yep, simply create an application which has the interface to get appointment details and times. then you create the executalbe and make a shortcut to that in the Startup folder. Then you need a timer to check if the correct time has reached and if so give a reminder.
I am only giving you a possible code to check the time. It is up to you how you want to get the details of the appointment from the user, etc. (If you need a full program, then increase the points)
(add to previous comment)
ASKER
Hello supunr
Can you now give me in detail the whole program along with code?
Appreciate your help
Thanks
Can you now give me in detail the whole program along with code?
Appreciate your help
Thanks
' Add a timer control to your form and paste this code :
Private Sub Form_Load()
Timer1.Interval = 1000 ' per second
End Sub
Private Sub Timer1_Timer()
If Hour(Time) & ":" & Minute(Time) = "12:00" Then
MsgBox "It is 12:00 !!!", vbInformation
Timer1.Enabled = False ' app finished his task
End If
End Sub