Hello Ken,
thank you for your answer.
But how can I only get the store which is selected?
For example: There is profile with 3 pst-files:
"Personal Folders1"
"Personal Folders2"
"Personal Folders3"
"Personal Folders1" is the default store. The user has selected the
second store "Personal Folders2". Now I want to know wihch store he has
selected.
Peter
Ken Slovak - [MVP - Outlook] schrieb:
NameSpace.Folders. Iterate that collection, that will give you the top of
each loaded store.
NameSpace.GetDefaultFolder(olFolderInbox).Parent is also the top of store of
the default store. No Explorer needed for that.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"Peter Marchert" wrote in message
ups.com...
Hello,
I`m searching for a method to get the root folder from the actual store
(for example "\\Personal Folders") without using an explorer.
Now I use "Outlook.ActiveExplorer.FolderPath" to get the root folder
from this path with an own function. But my function does not work if
there is no ActiveExplorer :-(
How can I do that?
Peter
--
Peter Marchert
[EDV-Service Marchert]
Homepage: http://www.marchert.de
Excel- und Outlookprogrammierung