SAMPLE: RTFView.exe Rich Text Format Stream Viewer

ID: Q216346


The information in this article applies to:


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:

Q172038 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 Software Library:

RTFView.exe
File Name Size Description
RTFVu32.exe 52kb Compiled VB application
RTFView.vbp 1kb VB project file
RTFMain.bas 1kb VB module file
Mapirtf.dll 27kb Supporting DLL
FrmMsgVu.frm 11kb VB form file
FrmAbout.frm 10kb VB form file
DlgFldrs.frm 5kb VB form file

Release Date: Apr-27-1999

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:
Q119591 How to Obtain Microsoft Support Files from Online Services

Additional query words: kbfile kbCDO121 kbMsg kbGrpMsg kbVB


Keywords          : kbfile kbsample kbCDO121 kbMsg kbGrpMsg 
Version           : WINDOWS:1.21
Platform          : WINDOWS 
Issue type        : kbinfo 

Last Reviewed: May 26, 1999