Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Add a shortcut to a folder in the task body (http://www.outlookbanter.com/outlook-vba/7250-add-shortcut-folder-task-body.html)

Sanjay Singh January 16th 06 05:09 AM

Add a shortcut to a folder in the task body
 
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



Eric Legault [MVP - Outlook] January 16th 06 10:17 PM

Add a shortcut to a folder in the task body
 
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




Sanjay Singh January 16th 06 10:38 PM

Add a shortcut to a folder in the task body
 
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 ...
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







All times are GMT +1. The time now is 08:19 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com