Hyperlink inside Journal body to file on system?

S

Sage Cowsert

I'd like to insert a hyperlink inside the body of a journal to a file on the
users system.

If I type this (see below) it automatically links to google.
myitem.Body = "http://www.google.com"

If I type (see below) It links until the space?
myitem.Body = "file://C:\My Stuff\testing\log.txt"

How can I do a hyperlink in journal?
 
J

Jim Vierra

More than likely you need to use HTMLBody with "<a href=""file://C:\My Stuff\testing\log.txt"">My file label</>"
I've never tested HTMLBody with the Journal entries but it might work. It works for MailItem types.
 
M

Michael Bauer

Hi Sage,

please try file:/// (3 slashes) and mask each space with %20, e.e.:

file:///c:\my%20stuff\testing\log.txt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top