![]() |
Determine the file extension of this attachment?
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 _________________________________ |
Determine the file extension of this attachment?
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 _________________________________ |
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 _________________________________ |
All times are GMT +1. The time now is 11:40 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com