Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / July 2004

Tip: Looking for answers? Try searching our database.

Open Attachment with Link

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Thomas Wieser - 27 Jul 2004 15:59 GMT
Hi,

I want to open an attchment in a HTML email by clicking on a link. I
trid several versions with JavaScript, but they didn't work. :-(

Has anyone tips how to implement such a functionality?

Thanks in advance,
Thomas
Sue Mosher [MVP-Outlook] - 27 Jul 2004 16:24 GMT
What kind of link?

Signature

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

> Hi,
>
[quoted text clipped - 5 lines]
> Thanks in advance,
> Thomas
Thomas Wieser - 27 Jul 2004 16:53 GMT
> What kind of link?

Just a normal HTML one, like

 <a href="javascript:showAttachment(filename)">Click here</a>

would be pretty enough, onClick would also be no problem! Any ideas?

Thanks, Thomas.
Sue Mosher [MVP-Outlook] - 27 Jul 2004 17:24 GMT
Outlook messages don't run HTML code. You'd need to use a straight <a> link
instead:

<a href="file://filename">

Signature

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

> > What kind of link?
>
[quoted text clipped - 5 lines]
>
> Thanks, Thomas.
Thomas Wieser - 28 Jul 2004 09:10 GMT
Hi,

> Outlook messages don't run HTML code. You'd need to use a straight <a> link
> instead:
> <a href="file://filename">

Thanks, but it doesn't solve my problem. The mouse pointer turns into a
hand when over the link, of course, but by clicking an alert with the
german version of 'Can't find file "\\myAttachment.pdf"' is shown.

Any other ideas?

Regards, Thomas
Sue Mosher [MVP-Outlook] - 28 Jul 2004 13:22 GMT
Looks like you didn't provide the full path to the file. But now I read from
your subject line something I didn't see in your earlier message -- that
you're trying to open an attachment with this technique. That's not
possible.

Signature

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

> Hi,
>
[quoted text clipped - 9 lines]
>
> Regards, Thomas
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.