Important alert: (current site time 7/16/2013 3:27:44 AM EDT)
 

winzip icon

RTF Writer

Email
Submitted on: 10/27/2000 5:29:24 PM
By: Jason R. Fayling  
Level: Advanced
User Rating: By 16 Users
Compatibility: VB 5.0, VB 6.0
Views: 32087
author picture
(About the author)
 
     DLL that allows you to write RTF code that is compatable with Windows WordPad. Use this object to convert HTML to RTF, or to generate RTF file on the fly!!!! Don't bother looking anywhere else for this hot little piece of code ( I spent hours on the net looking, finally I gave up and wrote it myself!) Look here for future updates, up next... picture, and table support! Added Bonus: Object that enumerates through the fonts on your system and gets the Picth, and Font Family for each one!!!!!!!!
 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 3 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

2/5/2001 9:34:11 AMJason R. Fayling

Wow, 2358 votes and no comments... If somebody dosen't comment soon, I am going to think nobody like's me :(
(If this comment was disrespectful, please report it.)

 
6/20/2001 2:53:36 PMBoris Podolny

Jason,
Great code, clean and easy to read. I wanted to use it, but realized that you do not support RTF tables generation. Do you have any relevant classes, or I will write my own and eventually add it to your submission.

Thanks again.
(If this comment was disrespectful, please report it.)

 
6/20/2001 4:10:53 PMJason R. Fayling

Currently this code does not support tables. I have the specs on how to do it... I just haven't had the time to sit down and code it :-)
(If this comment was disrespectful, please report it.)

 
10/26/2001 9:47:43 AMDave

Nice code, any time line on adding image and table support???
(If this comment was disrespectful, please report it.)

 
11/27/2001 2:32:03 AMAnDy2552

Does it support image and tables?
(If this comment was disrespectful, please report it.)

 
2/19/2002 7:29:46 AMMladenka Vukmirovic

Hi!! Quite usefull! Nice code! I am interested in tables also, so I was wondering if you have already coded it, or if you could send me the specification so I could do it myself
(If this comment was disrespectful, please report it.)

 
2/25/2002 8:39:19 AMJason R. Fayling

If you want to work on this yourself, you can get the RTF specification from Microsoft. Here is the URL that I use.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnrtfspec/h tml/rtfspec.asp

(If this comment was disrespectful, please report it.)

 
2/25/2002 8:40:18 AMJason R. Fayling

I will be working on a version 2 of this dll in the next few weeks. Sorry it has taken me so long, but I have been swamped at work. The new version will have tables for sure!
(If this comment was disrespectful, please report it.)

 
1/16/2003 7:27:52 AM_Merlin_

Nice piece of code.
By the looks of your author picture, I think you definitely need a shave. ;)
(If this comment was disrespectful, please report it.)

 
6/5/2003 12:08:24 AM

I tried to load this but got all kinds of errors. I am just trying to look for some code that converts HTML to RTF. Any help would be greatly appreciated. You can email me at derek_hagen@yahoo.com
(If this comment was disrespectful, please report it.)

 
8/12/2003 9:11:48 PMZhu JinYong

The best RichEdit wrapper on PSC until Aug.2003!
(If this comment was disrespectful, please report it.)

 
8/12/2003 9:19:44 PMZhu JinYong

Table support,picture support,URL link support would be great.hehehe...thanks!
(If this comment was disrespectful, please report it.)

 
9/3/2003 5:37:41 AMDon Jewett

good code. deserves 5
(If this comment was disrespectful, please report it.)

 
1/8/2004 4:49:09 PMmatt j

didnt use your class but THANK YOU FOR THE LINK. finally I can edit rich colors with out having to do all that select garbage!
(If this comment was disrespectful, please report it.)

 
4/1/2004 7:33:51 PM

but how can I convert HTML to RTF???

could you write a sample???

thanks in advance
(If this comment was disrespectful, please report it.)

 
3/8/2005 10:58:45 PMenmity

I was wondering how the project is going on?
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.