PRDRISKELL
New member
- Joined
- Sep 25, 2020
- Messages
- 2
- Programming Experience
- 10+
I have a fully working program - here is a snippet
This presents a list of every folder and sub-folder in my Outlook account, and I can pick the folder I want to read from and the rest of my code loops through just the email in that subfolder just fine.
Since I always pick the same folder ("\\Member\Updates") I would like to replace Line 2 with something like
but of course, there is no such method.
Can someone tell me the easiest way to do this without having to loop through every email in my Account?
You assistance greatly appreciated
VB.NET:
Dim olfolder As Outlook.MAPIFolder
olfolder = objOL.GetNamespace("MAPI").PickFolder
Since I always pick the same folder ("\\Member\Updates") I would like to replace Line 2 with something like
VB.NET:
olfolder = objOL.GetNamespace("MAPI").UseFolder("\\Member\Updates")
Can someone tell me the easiest way to do this without having to loop through every email in my Account?
You assistance greatly appreciated
Last edited by a moderator: