A
Adam
Hi all,
I have a question about programming a journal entry. I am having trouble
firing the objJournal.StartTimer method. The code works fine when I run it
with MSH, but I cannot get the VBScript version to work.
Here is my MSH code:
$ol = new-object -COM outlook.application
$task = $ol.createitem(4)
$task.subject = "MSH"
$task.type = "Task"
$task.starttimer()
$task.save()
Heres my VBScript version:
Set objOutlook = CreateObject("Outlook.Application")
Set objJournal = objOutlook.CreateItem(4)
objJournal.Subject = "VBS"
objJournal.type = "Task"
objJournal.StartTimer
objJournal.save
Thanks
I have a question about programming a journal entry. I am having trouble
firing the objJournal.StartTimer method. The code works fine when I run it
with MSH, but I cannot get the VBScript version to work.
Here is my MSH code:
$ol = new-object -COM outlook.application
$task = $ol.createitem(4)
$task.subject = "MSH"
$task.type = "Task"
$task.starttimer()
$task.save()
Heres my VBScript version:
Set objOutlook = CreateObject("Outlook.Application")
Set objJournal = objOutlook.CreateItem(4)
objJournal.Subject = "VBS"
objJournal.type = "Task"
objJournal.StartTimer
objJournal.save
Thanks