View Single Post
  #3  
Old April 24th 06, 11:41 PM posted to microsoft.public.outlook.program_vba
George Hester
external usenet poster
 
Posts: 54
Default Determine the file extension of this attachment?

Thanks Ken I'll give that a try.

--

George Hester
_________________________________
"Ken Slovak - [MVP - Outlook]" wrote in message
...
Can you use CDO or some other API that lets you get at the attachment's
properties (not the Outlook object model) if Attachment.FileName doesn't
work?

The property you'd want would be PR_ATTACH_LONG_FILENAME, property tag
&H3707001E.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"George Hester" wrote in message
...
Here is the attachment's name and size:

travelogue ashore botulism longstanding snook said bequeath ajar

solidify
counterclockwise scapular manipulable bobble anomalous ecstatic agile
straighten deliverance brethren buoyant trudge aching darkle chlorophyll
adjudge abutted puppeteer fantasist shivery .gif [13822]

Outlook 2000 does display this attachment in the e-mail. It is an
embedded
image like this:

a href="http://xwnjhr039.quitefunnyyes.com"

img src="cid:LQPPS6MX5P" border=0/a


I cannot get the image type because the name of the gif is more than 255
characters. How would I go about getting the image type using VBA in
Outlook 2000? Thanks.

--

George Hester
_________________________________



Ads