I put a timer control in the main form of my app. But it does not work when my app is loading a batch of files. How can I do it ?
Thanks for your help.
I think so. Now I am trying another way to remind tasks for users.
The code is below:
************************************************
#DEFINE olMailItem 0
#DEFINE olAppointmentItem 1
#DEFINE olContactItem 2
#DEFINE olTaskItem 3
#DEFINE olJournalItem 4
#DEFINE olNoteItem 5
#DEFINE olPostItem 6
#DEFINE olDistributionListItem 7
oOutlook = CREATEOBJECT("Outlook.Application"
taskOutLook = oOutlook.CreateItem(olTaskItem)
With taskOutLook
.Subject = "This is the subject of my task"
.Body = "This is the body of my task."
.ReminderSet = .t.
.ReminderTime = {^2004/01/31 09:00:00AM}
.DueDate = {^2004/01/31 12:00:00PM}
.ReminderPlaySound = .t.
.Save
EndWith
************************************************
But it works unstable.Sometimes "ReminderSet = .t." cannot be set Outlook's task queue and sometimes "ReminderTime" is wrong. But the the "Subject","Body","DueDate" are always sent to Outlook correctly Would you help me please ?
I have been following your issue here ( and another website) now for a week and you seem to alternate between using Outlook's task and a VFP timer. I don't how it works at ExpertExchange, but here we would prefer you stick to one problem per thread.
It all depends what exactly you are trying to do. Can you explain what it is you are trying to do? I saw some of you code which seem to suggest you want to use Outlook for messages as well which you cannot do with a VFP timer.
Mike Gagnon
If you want to get the best response to a question, please check out FAQ184-2483 first.
I think the better way to remind users is using task reminder function of Outlook. I tried using timer control to trigger an alarm form but it cannot works stablely for the reason you know. Then I have to change my mind and go back to Outlook.Thanks again for your help.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.