|
Definitely! Would also love to see what all you added/changed/fixed.
|
|
|
|
|
Any news on the next release, a very interesting project...
|
|
|
|
|
I use this I downloaded it a few years ago. Works great, I just looked it up again to see if any changes where made. I would be happy to test it out for you as well. I know it's been a few years since your post, but like I said I do use it!!!
Thanks,
DotNetMe2
dotnetme2
|
|
|
|
|
i will love u to continue with the coding thank
|
|
|
|
|
Has that "new release" come out yet? It's been 3 1/2 years since you posted that announcement. I need to know if the code in this article is up to date, or if you posted the "new CP article" you promised yet. Basically, should I download this project now, or wait a while (say, until next year)?
modified 3-Jul-15 19:46pm.
|
|
|
|
|
Honestly, I just ran out of time. I've got a repo somewhere I haven't looked at in years. so no.
|
|
|
|
|
Well, for what it's worth, I'm working on a version of RTF-to-HTML myself now. It's inspired by your code, although the precise approach is very original. It will do more, and avoid the flaws I noticed in your version.
|
|
|
|
|
Awesome sauce,
If you ever post it put a link in so we can see it.
|
|
|
|
|
i realy wait 4 ur new version.
|
|
|
|
|
Dear sir,
I already can convert from richtextbox into html format.
But how i want to convert back from html format to richtextbox format?
|
|
|
|
|
can you please share the code of converting rtf to html in vb.net
|
|
|
|
|
The code didn't work for me in VS2010, it created individual html statements for every single character when using a very simple set of basic strings. The problem was here:
If _rtfSource.SelectionBackColor <> clrBackColor Then
This would show true for every single character. So, by changing it to:
If _rtfSource.SelectionBackColor.ToArgb <> clrBackColor.ToArgb Then
It made the statement false, thus, the html output was fine. I have no clue why VS2010,.NET4 was showing them as not equal, I even put in a messabox to show the string values and they showed equal in the messagebox's, but for some reason, the color's were different themselves. Could be a bug in VS or .NET, I'm not sure. Either way, if someone else is having the same problem, this fixed it for me, I'm going to test out using different colors, and other fonts next. I'll make another post if something else is broken. Thanks again for this, it's very solid.
|
|
|
|
|
Wow this works! I did wonder if it could possibly be correct that the OP wanted to tag each letter. This solves it. Thanks so much!
|
|
|
|
|
Good job! But it does parse the first character and line improperly, at least for me.
It will keep the first char on the top line but the rest of the text and/or sentence is put on a new line below the first char.
Example:
This is a sentence.
OK, Now this is how its rendering...
T
his is a sentence
Maybe a minor update to fix this or if you could tell me what to do. Either way thanks for the library
Edit: Maybe update to properly convert the links in the richtextbox to html links?
|
|
|
|
|
I'll be releasing a new version of this control soon that's a little more friendly and easier to use and uses some of the new features of the .net4 namespaces. I'll link it up here in the comments when I'm done. Most of the bugs and suggestions I've gotten have been fixed and or added since this initial version came out.
I'll be making sure that this bug is not included in the next release.
Other features that will be added are...
1. Underline support
2. Link support
3. Image support
4. Direct File IO to write to a file instead of just returning a string.
If anyone has any other features they'd like added let me know.
|
|
|
|
|
Sounds good! If you would happen to have a Beta or something I would be happy to use it. Just give me a download link or something. Thanks
Jason
|
|
|
|
|
Very nice code. I'm kinda giving a bump to the op's last post. Do you have any kind of link to a beta of your new release? I'm really liking the class and want to use it for a lot of applications. The image code would be nice, but it's not necessary for my needs, so if you have any kind of update, that would be awesome. Very nice contribution btw, I'm personally very impressed with your work on this. Thank you again for your hard work and your contribution to the community. I know how hard it is to contribute opensource and then have to manage it, so, I wanted to thank you again for that as well. Any update is appreciated, I'm sure everyone here is looking forward to it, thanks,
|
|
|
|
|
Hi This is the best rtf to HTML code I have found so far I use it a lot but would really like the image's to be added
Did you ever do any more work on this ?
Steve
|
|
|
|
|
Hi All,
I have a question.
I am typing some text in textbox or richtextbox in vb.net(2003 version) and on the button click event i want a html file (its good if the output is in marquee format) to be created in a desired location which contains the text written in textbox or richtextbox.
Please can anyone helpme out!!
|
|
|
|
|
Hi.I used this code but how can I use with Underline tag?
Please help me on this.
Thank you.
|
|
|
|
|
Hi, I combined your code with the RTBEx code found on the MSDN site. This generates a Rich Text Box control that has .System.Drawing functionality, which can be used to print the RTB contents.
So now with your code added, the Rich Text Box Control will also have an .HTML function which will return the HTML string.
I want to know if it’s ok that I post this and reference this to your page or would you like to post this? I'm sure other people will find it helpful.
Marco
|
|
|
|
|
Post whatever you like I'd also like to see your modifications. Just post some sort of linkback if you use code.
|
|
|
|
|
pls cn i have the reference and the post ls
|
|
|
|
|
Hi,
thanks for your great Example. I don't know, how I change the Font and the FontSize for the selected. Can you post the code for them, please.
thank you
gredds
|
|
|
|
|