Outlook 2011 calendar event

I have been working on this task script. I have managed to get it all working except for the reminder. Outlook dictionary says the “has reminder” needs to be Boolean and the “reminder time” needs to be an integer representing minutes before start time. I am unable to get the script editor to run this script as it keeps saying it cannot set these 2 properties. Can anyone shed some light on what is missing?..thanks

tell application “Microsoft Outlook”
set the msg to make new task
set name of the msg to “subject”
set content of the msg to “this is my message”
–set subject of the msg to “this is my subject”
set start date of the msg to date “Wednesday, 6 April 2011 2:00:00 PM”
set due date of the msg to date “Wednesday, 6 April 2011 2:00:00 PM”
set has reminder of the msg to true
set reminder time of the msg to “10”
open msg
activate
end tell

reminder time and has reminder are properties of the calendar event object.
For the task you are creating, set reminder date time to the desired date/time (15 mins before start?).


tell application "Microsoft Outlook"
	set the msg to make new task
	set name of the msg to "subject"
	set content of the msg to "this is my message"
	--set subject of the msg to "this is my subject"
	set start date of the msg to date "Friday, November 4, 2011 2:00:00 PM"
	set due date of the msg to date "Friday, November 4, 2011 2:00:00 PM"
	--set has reminder of the msg to true
	set reminder date time of the msg to date "Friday, November 4, 2011 1:45:00 PM"
	open msg
	activate
end tell