Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
| Search | Today's Posts | Mark Forums Read
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 28th, 2005, 04:46 AM
Authorized User
 
Join Date: Jun 2003
Location: , , .
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default shellexecute and Microsoft Outlook

shellexecute does not support opening attachments in Microsoft Outlook. What does?
 
Old August 30th, 2005, 05:41 PM
Authorized User
 
Join Date: Aug 2005
Location: , , .
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can you give a little more information (i.e. what type of attachment are you trying to open, where is attachment 'attached' to? outlook message?

in general, your system setting will dictate what application 'handles' certain attachment types...
 
Old August 31st, 2005, 01:59 AM
Authorized User
 
Join Date: Jun 2003
Location: , , .
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for replying.

It's a custom file type (.eof extension). I have registered the .eof extension to open with the application. The files are located on a network server and when modified an email with an attachment, which is a link to the network .eof file, is sent out. The persons receiving the email double click on the attachment in Outlook and open the file (.eof). Now everything works OK if the link to the attachment is dragged to the desktop but when the Outlook attachment is double clicked the address returned is in the temporary folder on the local drive (where Outlook stores attachments). So I think I am looking for an API call that gives the actual network path to the .eof file rather than the temporary storage location.

This link was crucial

http://support.microsoft.com/default.aspx?kbid=170918

jake
 
Old August 31st, 2005, 12:09 PM
Authorized User
 
Join Date: Aug 2005
Location: , , .
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Have you tried putting the actual link into the body of the message instead of atttaching it?

 
Old September 6th, 2005, 05:12 AM
Authorized User
 
Join Date: Jun 2003
Location: , , .
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yup, the link text is there.

I think what I really want to do is to find out what windows does with the %1 when the default 'Open' action is taken on a double click on a shortcut, file or link. That way I could control how my application responds

Thanks for your help




Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing Microsoft Outlook Address Book ah_teck81 Classic ASP Professional 8 March 1st, 2013 05:28 PM
ShellExecute Problem soccers_guy10 Pro VB.NET 2002/2003 3 April 25th, 2005 02:59 AM
"Option Strict On" with Microsoft Outlook Object ritag General .NET 0 January 25th, 2005 05:36 PM
Microsoft Outlook 11.0 Object Library ritag General .NET 0 January 21st, 2005 02:21 PM
ShellExecute problem kaz VS.NET 2002/2003 0 December 27th, 2003 07:59 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.