M
Matt
I'm having difficulty calling Outlook from VBScript. It errors saying
ActiveX cannot call the object. Here is a snippet:
set ol = CreateObject("Outlook.Application")
Set olns = ol.GetNameSpace("MAPI")
Set myfolder = olns.GetDefaultFolder(13)
Set myItem = myFolder.Items.Add("IPM.Task.Munitions Task")
MyItem.Display
Anyone know why it won't recognize Outlook.Application?
ActiveX cannot call the object. Here is a snippet:
set ol = CreateObject("Outlook.Application")
Set olns = ol.GetNameSpace("MAPI")
Set myfolder = olns.GetDefaultFolder(13)
Set myItem = myFolder.Items.Add("IPM.Task.Munitions Task")
MyItem.Display
Anyone know why it won't recognize Outlook.Application?