Recent content by Van Knowles

  1. V

    Difference between attachment displayname and filename

    :) I'm simply saying that the MSDN documentation does not seem to completely describe what is returned by FileName and DisplayName. Which, in my experience, is pretty typical. I can say definitively that if you use DisplayName as the system file name when saving an attachment, as Microsoft...
  2. V

    Difference between attachment displayname and filename

    I have been using VBA with checkpoints and displaying the names in the immediate window, so I know exactly what the property values are. When you attach an email message, Outlook does, in fact, translate the message subject into a valid system file name with .MSG extension. I have observed...
  3. V

    Difference between attachment displayname and filename

    Just experimenting with different messages and attachments, I found the following: The DisplayName and FileName are usually the same. If the attachment is itself an Outlook message (MSG file), then DisplayName shows the subject of the message, which might contain characters not valid for a file...
  4. V

    Difference between attachment displayname and filename

    Hi. I've looked around the Internet a bit and have seen a lot of examples of Outlook VBA code using Attachment.DisplayName to save email attachments as files. However, my experience is that DisplayName (a) can have characters that are not valid for the Windows file system and (b) DisplayName...
Back
Top