> Are you specifying the save as file type as OlTXT? Please show your SaveAsFile code statement.
>
[quoted text clipped - 8 lines]
> >
> > Thanks a lot.
Sorry, I misread your original post and thought you were saving a message, not an attachment. Saving an attachment with a .txt extension makes sense only if the attachment is in fact a plain text file. If it's a .doc file, for example, changing the extension to .txt is going to leave you with gibberish.

Signature
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
> objAttachment.SaveAsFile "c:\Details.txt"
>
> Well, the SaveAsFile() only has one argument.
>
>> Are you specifying the save as file type as OlTXT? Please show your SaveAsFile code statement.
>> > Hello
>> >
[quoted text clipped - 6 lines]
>> >
>> > Thanks a lot.
EMoscosoCam - 30 Apr 2008 02:50 GMT
In fact the attached file is txt: "Details.txt", which is the typical file
that returns when a previous message is bounced back, and this file reports
the error. The file can be opened and be seen within Outlook, but when using
the SaveAsFile method the content cannot be readable.
> Sorry, I misread your original post and thought you were saving a message, not an attachment. Saving an attachment with a .txt extension makes sense only if the attachment is in fact a plain text file. If it's a .doc file, for example, changing the extension to .txt is going to leave you with gibberish.
>
[quoted text clipped - 14 lines]
> >> >
> >> > Thanks a lot.
Sue Mosher [MVP-Outlook] - 30 Apr 2008 14:49 GMT
Sorry, but I can't think of any scenario in which an attachment would be readable when double-clicked from the message and unreadable when saved with the same file extension.

Signature
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
> In fact the attached file is txt: "Details.txt", which is the typical file
> that returns when a previous message is bounced back, and this file reports
[quoted text clipped - 19 lines]
>> >> >
>> >> > Thanks a lot.