That only seems to work for default folders
As you noted it does not work for sub-folders or even top level folders
that you have created yourself (e.g. I created a folder called settings but
could not get the shortcut to work)
It is possible to drap and drop folders to the task and then the shortcut
works but I would love to be able to do this in code.
Any other ideas from anyone.
Regards
Sanjay
"Eric Legault [MVP - Outlook]" wrote in
message news

You can use the "outlook://" URL prefix, but I don't know how to get
something similar to work for delegated users:
outlook://Inbox
outlook://Contacts
I can't get it to work for sub-folders either. For Public Folders, you'd
use this path:
outlook://Public%20Folders/All Public%20Folders
--
Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/
"Sanjay Singh" wrote:
It is possible to add a shortcut to an e-mail folder (that resides in the
same PST) in the body of a task by
dragging and dropping the folder on to the task body.
Is it possible to do this in code?
I looked at the properties of the attachment object created and it isn't
clear where the actual pointer to the folder is saved.
Any ideas wuld be great.
Thanks
Sanjay