Article ID: 310225 - Last Review: December 3, 2007 - Revision: 4.2 How to use the Cdosys.dll library to save a message to a file by using Visual C#This article was previously published under Q310225 Caution ADO and ADO MD have not been fully tested in a Microsoft .NET Framework environment. They may cause intermittent issues, especially in service-based applications or in multithreaded applications. The techniques that are discussed in this article should only be used as a temporary measure during migration to ADO.NET. You should only use these techniques after you have conducted complete testing to make sure that there are no compatibility issues. Any issues that are caused by using ADO or ADO MD in this manner are unsupported. For more information, see the following article in the Microsoft Knowledge Base: 840667
(http://support.microsoft.com/kb/840667/
)
You receive unexpected errors when using ADO and ADO MD in a .NET Framework application SUMMARY
This article describes how to use the Collaboration Data Objects (CDO) for Windows 2000 library (Cdosys.dll) to save a message to a file in Microsoft Visual C#.
Note The Cdosys.dll library is also known as CDOSYS. MORE INFORMATIONTo use CDOSYS as described in the "Summary" section, follow these steps:
REFERENCES
For more information about
Microsoft Office Development with Visual Studio, see the following Microsoft Developer Network (MSDN) Web site:
http://msdn2.microsoft.com/en-us/library/aa188489(office.10).aspx
(http://msdn2.microsoft.com/en-us/library/aa188489(office.10).aspx)
For additional information about how to use CDOSYS, click the following article numbers to view the articles in the Microsoft Knowledge Base:
310212
(http://support.microsoft.com/kb/310212/
)
How to use the Cdosys.dll library to send an e-mail with attachments
310221
(http://support.microsoft.com/kb/310221/
)
How to use the Cdosys.dll library to embed a message in a new message by using Visual C# .NET
310224
(http://support.microsoft.com/kb/310224/
)
How to use the Cdosys.dll library to process mail in the Drop directory by using Visual C# .NET
APPLIES TO
| Article Translations
|
Back to the top
