A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Insert link to item



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 13th 06, 06:06 PM posted to microsoft.public.outlook.program_vba
Peter Marchert
external usenet poster
 
Posts: 208
Default Insert link to item

Hello,

now I searched 1 or 2 (or more) hours for a solution and didn`t find it
:-(.

Perhaps I only did not find the right post, so it will be fine if some
body gives me a link to it.

The problem: If you have an item (for example an appointmentitem) you
can insert a link in the body to a taskitem. That`s it what I want to
do by code.

Thanks in advandce for any help!

--
Peter Marchert
[EDV-Service Marchert]
Homepage: http://www.marchert.de
Excel- und Outlookprogrammierung

Ads
  #2  
Old October 13th 06, 09:58 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default Insert link to item

Do you want an embedded item or a hyperlink?

For the latter, try inserting a string like the following in the Body
property:

Outlook:\\MailboxName\Inbox\MessageSubject

For an embedded item:
- use RDO (http://www.dimastr.com)
- save the item you want to embed as an .msg file first, then add it as an
attachment

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Peter Marchert" wrote:

Hello,

now I searched 1 or 2 (or more) hours for a solution and didn`t find it
:-(.

Perhaps I only did not find the right post, so it will be fine if some
body gives me a link to it.

The problem: If you have an item (for example an appointmentitem) you
can insert a link in the body to a taskitem. That`s it what I want to
do by code.

Thanks in advandce for any help!

--
Peter Marchert
[EDV-Service Marchert]
Homepage: http://www.marchert.de
Excel- und Outlookprogrammierung


  #3  
Old October 13th 06, 10:40 PM posted to microsoft.public.outlook.program_vba
Peter Marchert
external usenet poster
 
Posts: 208
Default Insert link to item

Thanks Eric for your answer.

Yes, I want only to insert a link to an existing object (for example a
taskitem), not to embedd the item. I thougt it could solved like an
icon with a shortcut (so you see it, if you do this manualy), but a
text-link would be ok too.

I tried "Outlook:\\Test\Test\Tasks\Test" (without quotes), but this
does not work. If I klick on the link there pops up a message like "The
selected folder or item cannot be shown". In the help is something
wirtten of spaces in the link but there are no spaces and all folders
exists.

First "Test" is a pst-file, second "Test" is a folder for mailitems,
"Tasks" is a folder for taskitems and the last "Test" is a taskitem
with subject "Test".

Now I tried "Outlook:\\Test\Tasks\Test", but it is still the same
message.

What could be another reasen for this message?

Thanks, Peter.

PS: I stop working for this day and for tomorrow. If you reply I give
you a feedback in aproximatly 36 hours.

Eric schrieb:

Do you want an embedded item or a hyperlink?

For the latter, try inserting a string like the following in the Body
property:

Outlook:\\MailboxName\Inbox\MessageSubject

For an embedded item:
- use RDO (http://www.dimastr.com)
- save the item you want to embed as an .msg file first, then add it as an
attachment

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Peter Marchert" wrote:

Hello,

now I searched 1 or 2 (or more) hours for a solution and didn`t find it
:-(.

Perhaps I only did not find the right post, so it will be fine if some
body gives me a link to it.

The problem: If you have an item (for example an appointmentitem) you
can insert a link in the body to a taskitem. That`s it what I want to
do by code.

Thanks in advandce for any help!

--
Peter Marchert
[EDV-Service Marchert]
Homepage: http://www.marchert.de
Excel- und Outlookprogrammierung



  #4  
Old October 14th 06, 06:47 AM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default Insert link to item

Here's a better approach I just remembered: use the unique EntryID property
value of the item. You can get this with code (for an open item, check
Application.ActiveInspector.CurrentItem.EntryID) or quickly using OutlookSpy
(http://www.dimastr.com). It would use this format:

outlook:\\entryID

e.g.

outlook:\\00000000C536D3A3B6579440AAB39F0A2064281E 84EA2400

Works for any loaded .pst in any folder.

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Peter Marchert" wrote:

Thanks Eric for your answer.

Yes, I want only to insert a link to an existing object (for example a
taskitem), not to embedd the item. I thougt it could solved like an
icon with a shortcut (so you see it, if you do this manualy), but a
text-link would be ok too.

I tried "Outlook:\\Test\Test\Tasks\Test" (without quotes), but this
does not work. If I klick on the link there pops up a message like "The
selected folder or item cannot be shown". In the help is something
wirtten of spaces in the link but there are no spaces and all folders
exists.

First "Test" is a pst-file, second "Test" is a folder for mailitems,
"Tasks" is a folder for taskitems and the last "Test" is a taskitem
with subject "Test".

Now I tried "Outlook:\\Test\Tasks\Test", but it is still the same
message.

What could be another reasen for this message?

Thanks, Peter.

PS: I stop working for this day and for tomorrow. If you reply I give
you a feedback in aproximatly 36 hours.

Eric schrieb:

Do you want an embedded item or a hyperlink?

For the latter, try inserting a string like the following in the Body
property:

Outlook:\\MailboxName\Inbox\MessageSubject

For an embedded item:
- use RDO (http://www.dimastr.com)
- save the item you want to embed as an .msg file first, then add it as an
attachment

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Peter Marchert" wrote:

Hello,

now I searched 1 or 2 (or more) hours for a solution and didn`t find it
:-(.

Perhaps I only did not find the right post, so it will be fine if some
body gives me a link to it.

The problem: If you have an item (for example an appointmentitem) you
can insert a link in the body to a taskitem. That`s it what I want to
do by code.

Thanks in advandce for any help!

--
Peter Marchert
[EDV-Service Marchert]
Homepage: http://www.marchert.de
Excel- und Outlookprogrammierung




  #5  
Old October 15th 06, 06:53 AM posted to microsoft.public.outlook.program_vba
Peter Marchert
external usenet poster
 
Posts: 208
Default Insert link to item

Thank you very much, Eric, that works very good!

Peter

Eric schrieb:

Here's a better approach I just remembered: use the unique EntryID property
value of the item. You can get this with code (for an open item, check
Application.ActiveInspector.CurrentItem.EntryID) or quickly using OutlookSpy
(http://www.dimastr.com). It would use this format:

outlook:\\entryID

e.g.

outlook:\\00000000C536D3A3B6579440AAB39F0A2064281E 84EA2400

Works for any loaded .pst in any folder.

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Peter Marchert" wrote:

Thanks Eric for your answer.

Yes, I want only to insert a link to an existing object (for example a
taskitem), not to embedd the item. I thougt it could solved like an
icon with a shortcut (so you see it, if you do this manualy), but a
text-link would be ok too.

I tried "Outlook:\\Test\Test\Tasks\Test" (without quotes), but this
does not work. If I klick on the link there pops up a message like "The
selected folder or item cannot be shown". In the help is something
wirtten of spaces in the link but there are no spaces and all folders
exists.

First "Test" is a pst-file, second "Test" is a folder for mailitems,
"Tasks" is a folder for taskitems and the last "Test" is a taskitem
with subject "Test".

Now I tried "Outlook:\\Test\Tasks\Test", but it is still the same
message.

What could be another reasen for this message?

Thanks, Peter.

PS: I stop working for this day and for tomorrow. If you reply I give
you a feedback in aproximatly 36 hours.

Eric schrieb:

Do you want an embedded item or a hyperlink?

For the latter, try inserting a string like the following in the Body
property:

Outlook:\\MailboxName\Inbox\MessageSubject

For an embedded item:
- use RDO (http://www.dimastr.com)
- save the item you want to embed as an .msg file first, then add it as an
attachment

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Peter Marchert" wrote:

Hello,

now I searched 1 or 2 (or more) hours for a solution and didn`t find it
:-(.

Perhaps I only did not find the right post, so it will be fine if some
body gives me a link to it.

The problem: If you have an item (for example an appointmentitem) you
can insert a link in the body to a taskitem. That`s it what I want to
do by code.

Thanks in advandce for any help!

--
Peter Marchert
[EDV-Service Marchert]
Homepage: http://www.marchert.de
Excel- und Outlookprogrammierung





  #6  
Old October 19th 06, 12:16 AM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Insert link to item

.... any folder in the default information store. It will work for other stores only after they've been accessed once during the current session.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Eric Legault [MVP - Outlook]" wrote in message ...
Here's a better approach I just remembered: use the unique EntryID property
value of the item. You can get this with code (for an open item, check
Application.ActiveInspector.CurrentItem.EntryID) or quickly using OutlookSpy
(http://www.dimastr.com). It would use this format:

outlook:\\entryID

e.g.

outlook:\\00000000C536D3A3B6579440AAB39F0A2064281E 84EA2400

Works for any loaded .pst in any folder.

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Peter Marchert" wrote:

Thanks Eric for your answer.

Yes, I want only to insert a link to an existing object (for example a
taskitem), not to embedd the item. I thougt it could solved like an
icon with a shortcut (so you see it, if you do this manualy), but a
text-link would be ok too.

I tried "Outlook:\\Test\Test\Tasks\Test" (without quotes), but this
does not work. If I klick on the link there pops up a message like "The
selected folder or item cannot be shown". In the help is something
wirtten of spaces in the link but there are no spaces and all folders
exists.

First "Test" is a pst-file, second "Test" is a folder for mailitems,
"Tasks" is a folder for taskitems and the last "Test" is a taskitem
with subject "Test".

Now I tried "Outlook:\\Test\Tasks\Test", but it is still the same
message.

What could be another reasen for this message?

Thanks, Peter.

PS: I stop working for this day and for tomorrow. If you reply I give
you a feedback in aproximatly 36 hours.

Eric schrieb:

Do you want an embedded item or a hyperlink?

For the latter, try inserting a string like the following in the Body
property:

Outlook:\\MailboxName\Inbox\MessageSubject

For an embedded item:
- use RDO (http://www.dimastr.com)
- save the item you want to embed as an .msg file first, then add it as an
attachment

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Peter Marchert" wrote:

Hello,

now I searched 1 or 2 (or more) hours for a solution and didn`t find it
:-(.

Perhaps I only did not find the right post, so it will be fine if some
body gives me a link to it.

The problem: If you have an item (for example an appointmentitem) you
can insert a link in the body to a taskitem. That`s it what I want to
do by code.

Thanks in advandce for any help!

--
Peter Marchert
[EDV-Service Marchert]
Homepage: http://www.marchert.de
Excel- und Outlookprogrammierung




  #7  
Old October 19th 06, 06:14 AM posted to microsoft.public.outlook.program_vba
Peter Marchert
external usenet poster
 
Posts: 208
Default Insert link to item

Thanks for this hint, Sue.

Sue Mosher [MVP-Outlook] schrieb:

... any folder in the default information store. It will work for other stores only after they've been accessed once during the current session.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Eric Legault [MVP - Outlook]" wrote in message ...
Here's a better approach I just remembered: use the unique EntryID property
value of the item. You can get this with code (for an open item, check
Application.ActiveInspector.CurrentItem.EntryID) or quickly using OutlookSpy
(http://www.dimastr.com). It would use this format:

outlook:\\entryID

e.g.

outlook:\\00000000C536D3A3B6579440AAB39F0A2064281E 84EA2400

Works for any loaded .pst in any folder.

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Peter Marchert" wrote:

Thanks Eric for your answer.

Yes, I want only to insert a link to an existing object (for example a
taskitem), not to embedd the item. I thougt it could solved like an
icon with a shortcut (so you see it, if you do this manualy), but a
text-link would be ok too.

I tried "Outlook:\\Test\Test\Tasks\Test" (without quotes), but this
does not work. If I klick on the link there pops up a message like "The
selected folder or item cannot be shown". In the help is something
wirtten of spaces in the link but there are no spaces and all folders
exists.

First "Test" is a pst-file, second "Test" is a folder for mailitems,
"Tasks" is a folder for taskitems and the last "Test" is a taskitem
with subject "Test".

Now I tried "Outlook:\\Test\Tasks\Test", but it is still the same
message.

What could be another reasen for this message?

Thanks, Peter.

PS: I stop working for this day and for tomorrow. If you reply I give
you a feedback in aproximatly 36 hours.

Eric schrieb:

Do you want an embedded item or a hyperlink?

For the latter, try inserting a string like the following in the Body
property:

Outlook:\\MailboxName\Inbox\MessageSubject

For an embedded item:
- use RDO (http://www.dimastr.com)
- save the item you want to embed as an .msg file first, then add it as an
attachment

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Peter Marchert" wrote:

Hello,

now I searched 1 or 2 (or more) hours for a solution and didn`t find it
:-(.

Perhaps I only did not find the right post, so it will be fine if some
body gives me a link to it.

The problem: If you have an item (for example an appointmentitem) you
can insert a link in the body to a taskitem. That`s it what I want to
do by code.

Thanks in advandce for any help!

--
Peter Marchert
[EDV-Service Marchert]
Homepage: http://www.marchert.de
Excel- und Outlookprogrammierung





 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
insert a link/shortcut to a file on comuter in a contact window Jacob Outlook - General Queries 3 September 18th 06 05:04 AM
Insert As Link Missing Karl Burrows Outlook - General Queries 4 July 26th 06 07:05 PM
Do not have "Insert Item" on Paperclip or Insert menu in e-mail Ioparto Outlook - General Queries 7 June 29th 06 09:52 PM
Cannot Insert Item into a task occasionally - Outlook 2003 [email protected] Outlook - General Queries 1 May 10th 06 05:47 AM
How do I insert a clipart item in task reminders? Sue Mosher [MVP-Outlook] Outlook - Using Forms 0 February 6th 06 09:12 PM


All times are GMT +1. The time now is 05:54 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-2025 Outlook Banter.
The comments are property of their posters.