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 application via citrix,
The task gets created but the reminder option is not getting checked (on the task screen) due to which the reminder does not popup.
This happens even after set reminder is true.
Thanks in advance.
Shaq
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 application via citrix,
The task gets created but the reminder option is not getting checked (on the task screen) due to which the reminder does not popup.
This happens even after set reminder is true.
Code:
Public Sub AddOutLookTask()
Dim appOutLook As Outlook.Application
Dim taskOutLook As Outlook.TaskItem
Set appOutLook = CreateObject("Outlook.Application")
Set taskOutLook = appOutLook.CreateItem(olTaskItem)
With taskOutLook
.Subject = "Due Date for Service Request ID: " & Form_testing.txtSERV_REQ_I & " is: " & Form_testing.dtDD
.Body = "Due Date for Service Request ID: " & Form_testing.txtSERV_REQ_I & " is: " & Form_testing.dtDD
.ReminderSet = True
' minutes from now.
.ReminderTime = DateAdd("h", 10, Form_testing.dtDD)
.DueDate = DateAdd("h", 20, Form_testing.dtDD) ' Set the due date to
' 5 minutes from now.
.ReminderPlaySound = True
'add the path to a .wav file on your computer.
.ReminderSoundFile = "C:\Win95\media\ding.wav"
.Save
End With
End Sub
Shaq
Comment