Create a Rich Text File RTF in a ASP Page

Category:
ASP, HTML and XML
Type:
Snippets
Difficulty:
Intermediate

Author: Skip Floyd

Version Compatibility: Visual Basic 6, ASP

More information:
This is an ASP page written in VB Script, that will open an access database, read the fields and create a Rich Text File (RTF). The Database is Microsoft Access. PHONE.MDB As long as you have a table called PhoneList with 4 Fields in it called FirstName LastName BusinessPhone and JobTitle located in the same folder as this asp page then this demo should work fine. Please give WRITE access to the folder so the file can be created properly.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: