More Outlook Resource Sites

Microsoft Developer Network (MSDN)

FAQs and other general resources

Login

login
password
Remember me

You will need to register and log in if you want to download the source code for the Microsoft Outlook Programming book. The forums and code sharing areas are open to both registered and non-registered visitors.

forum 09-Sep-2010 06:24

Looking for help with Outlook programming projects — VSTO, add-ins, VBA, custom Outlook forms, etc.? You′ve come to the right place!

NEW! >> Subscribe to this site via RSS. For more RSS options, see the complete list of feeds on our main news page.

 

    Page [ 1 ]  
 Outlook and .NET Printer Friendly Version
Writing code with C# and VB.NET to create Outlook add-ins and other projects
Topic
PST size increases when using Attachment.Add
Hi Any help on this would be appreciated. I am running the following code

Dim instance As Attachments
instance.Add(Source, Type, Position, DisplayName)

To attach a file to an email item that is inside a pst.

The problem is (more of a curiosity) once the program completes the size of the pst is different from the size I get when I go through the pst add the exact same files manually.

Is there anyway to prevent this from happenning.

 

  06-Nov-2009  19:52
  10-Nov-2009  11:08   
Hi Abinet,

Do you develop a COM Add-in?
  10-Nov-2009  13:52   
No it is not a COM Add-in. It is a small utility program that loads a PST searches for particular attachments removes them...then searches the attachments and then attaches them back.
    Page [ 1 ]  
Post a new message to this topic.



name        email