SAMPLE: RTFView.exe Rich Text Format Stream Viewer (216346)



The information in this article applies to:

  • Collaboration Data Objects (CDO) 1.21

This article was previously published under Q216346

SUMMARY

RTFView.exe is a self-extracting file containing the source code for a Visual Basic 6.0 application (RTFVu32.exe) that allows a user to view a MAPI message body in Rich Text Format or in raw text.

Executing RTFVu32.exe launches a folder viewer that allows the body of each message in a given folder to be displayed in a Rich Text Edit control. If you are interested in knowing what the actual RTF stream looks like for any type of MAPI message, or if you would like to know how to display message text in a Rich Text Edit control, this file is for you.

MORE INFORMATION

If the user chooses raw text mode, the native stream that is generated by MAPI's Rich Text Formatting appears.

This application relies on Mapirtf.dll. This file must exist in your Windows\System (Win9x) or Windows\System32 (Win NT) directory or along the search path. If the application can't find this file, it will not work correctly.

Mapirtf.dll is available for download in the Microsoft Knowledge base as well as in this article.

For additional information about Mapirtf.dll, please see the following article in the Microsoft Knowledge Base:

172038 FILE: DLL to Read and Write RTF with Active Messaging


This application also assumes that the CDO Library is installed on the target computer. Microsoft Outlook 98 or later must be installed on the target PC in order for this application to work.

The following file is available for download from the Microsoft Download Center:
The Rtfview.exe file contains the following files:

File NameSizeDescription
RTFVu32.exe52kbCompiled VB application
RTFView.vbp1kbVB project file
RTFMain.bas1kbVB module file
Mapirtf.dll27kbSupporting DLL
FrmMsgVu.frm11kbVB form file
FrmAbout.frm10kbVB form file
DlgFldrs.frm5kbVB form file


Release Date: Apr-27-1999

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

Modification Type:MinorLast Reviewed:8/9/2004
Keywords:kbdownload kbfile kbgraphxlinkcritical kbinfo kbMsg kbSample KB216346 kbAudDeveloper