J
John
Hi
I am trying to access the Draft folder using the following vb.net code;
Dim objOutlook As Object = CreateObject("Outlook.Application")
Dim oNS As Object = objOutlook.GetNamespace("MAPI")
Dim oFld As Object = objOutlook.Folder
oFld = oNS.GetDefaultFolder(olfolderDrafts)
Problem is I am getting a "Public member 'Folder' on type 'ApplicationClass'
not found." error on the line Dim oFld As Object = objOutlook.Folder. What
is the issue and how can I fix it?
Thanks
Regards
I am trying to access the Draft folder using the following vb.net code;
Dim objOutlook As Object = CreateObject("Outlook.Application")
Dim oNS As Object = objOutlook.GetNamespace("MAPI")
Dim oFld As Object = objOutlook.Folder
oFld = oNS.GetDefaultFolder(olfolderDrafts)
Problem is I am getting a "Public member 'Folder' on type 'ApplicationClass'
not found." error on the line Dim oFld As Object = objOutlook.Folder. What
is the issue and how can I fix it?
Thanks
Regards