Hi guys,
I got the following code:
It doesnt work in 2003, but works in 2010.
What's the problem here?
I get an error 48: Error loading DLL
What's the problem here?
Thanks in advance.
I got the following code:
Code:
Dim OlApp As Outlook.Application
Dim oMAPI As Outlook.Namespace
Dim oMainFolderName As String
Dim oParentFolder As Outlook.MAPIFolder
Dim oDraftFolderName As String
Dim oDraftFolder As Outlook.MAPIFolder
Set OlApp = New Outlook.Application
Set oMAPI = OlApp.GetNamespace("MAPI")
Set oParentFolder = oMAPI.Folders(oMainFolderName)
Set oDraftFolder = oParentFolder.Folders(oDraftFolderName)
It doesnt work in 2003, but works in 2010.
What's the problem here?
I get an error 48: Error loading DLL
What's the problem here?
Thanks in advance.