PC Review


Reply
Thread Tools Rate Thread

Attachment count?

 
 
Dennis Brown
Guest
Posts: n/a
 
      14th Sep 2005
Hi,
When I get the attachments collection count, it gives me the total number of attachments in the attachment field, and the attachments within the message body (i.e. link graphics (.gif files), etc.).
Any way to determine the count within the attachment field-only?
For example, it might say there are 3 attachments, but only one is in the attachment field, and the other two are link graphics or signature graphics.
I tried using Type, but they all return as the same type.
Any help would be greatly appreciated!

--

Thanks,
Dennis
 
Reply With Quote
 
 
 
 
=?Utf-8?B?RXJpYyBMZWdhdWx0IFtNVlAgLSBPdXRsb29rXQ==
Guest
Posts: n/a
 
      14th Sep 2005
You'll have to use CDO and look at the PR_ATTACH_FILENAME property in the
Attachment.Fields collection. The value will be empty for the embedded
images.

--
Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.)
Try Picture Attachments Wizard - http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Dennis Brown" wrote:

> Hi,
> When I get the attachments collection count, it gives me the total number of attachments in the attachment field, and the attachments within the message body (i.e. link graphics (.gif files), etc.).
> Any way to determine the count within the attachment field-only?
> For example, it might say there are 3 attachments, but only one is in the attachment field, and the other two are link graphics or signature graphics.
> I tried using Type, but they all return as the same type.
> Any help would be greatly appreciated!
>
> --
>
> Thanks,
> Dennis

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
count duplicats, display incremental count, restart count at changein value JenIT Microsoft Excel Programming 2 24th Aug 2010 09:10 PM
capture attachment count change sophie Microsoft Outlook Program Addins 1 13th Nov 2008 02:44 PM
Send as attachment from Word 2003 Leaves Temp Attachment in Outbox =?Utf-8?B?U2ltb24gQ2hhcG1hbg==?= Microsoft Outlook Discussion 0 14th Feb 2007 03:26 PM
how to get count(col1), count(col2), count(sol3) with only one query Mario Krsnic Microsoft Access Queries 2 27th Oct 2006 06:52 PM
MailItem Object & Attachment Count Venkat Microsoft Outlook Discussion 3 21st Aug 2003 02:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:43 PM.