Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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?
Reply With Quote
  #2 (permalink)  
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...
Reply With Quote
  #3 (permalink)  
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
Reply With Quote
  #4 (permalink)  
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?

Reply With Quote
  #5 (permalink)  
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
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 12:10 PM.


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