M
Microsoft
Hi all,
I can use vbscript to add a folder to the subfolders such as "contacts"
subfolder in the example.
Set myOlApp = CreateObject("Outlook.Application")
Set myNameSpace = myOlApp.GetNameSpace("MAPI")
Set myFolder = myNamespace.GetDefaultFolder(10)
Set myNewFolder = myFolder.Folders.Add("myContacts",10)
But i can't find the defination for the root folder..
OlDefaultFolders
olFolderDeletedItems = 3
olFolderOutbox = 4
olFolderSentMail = 5
olFolderInbox = 6
olFolderCalendar = 9
olFolderContacts = 10
olFolderJournal = 11
olFolderNotes = 12
olFolderTasks = 13
olFolderDrafts = 16
olPublicFoldersAllPublicFolders = 18
I can use vbscript to add a folder to the subfolders such as "contacts"
subfolder in the example.
Set myOlApp = CreateObject("Outlook.Application")
Set myNameSpace = myOlApp.GetNameSpace("MAPI")
Set myFolder = myNamespace.GetDefaultFolder(10)
Set myNewFolder = myFolder.Folders.Add("myContacts",10)
But i can't find the defination for the root folder..
OlDefaultFolders
olFolderDeletedItems = 3
olFolderOutbox = 4
olFolderSentMail = 5
olFolderInbox = 6
olFolderCalendar = 9
olFolderContacts = 10
olFolderJournal = 11
olFolderNotes = 12
olFolderTasks = 13
olFolderDrafts = 16
olPublicFoldersAllPublicFolders = 18