Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Do want to render HTML? As in, see a web page?

 

HTML is raw text just like anything else...I don't see why a rtb wouldn't be able to read HTML just like any other text file...

Posted
If it can't parse html, then it can't read it. Yes display it, what else would I do with it? Word is able to save tables into rtf files. Im wondering if the tables are built with html tags. Unfortunately I haven't found anything to lead me to believe that rtf renders html or in what format the tags are saved in the rtf file. I guess I could put some tags in a rtf file and see what happens.
Posted

Take it easy, man. There is no reason to take your own inadequacies out on other people. Why don't you just use the web browser control?

 

The next time you want something, be specific and don't get upset when someone tries to clarify YOUR PROBLEM so they can help you solve it.

Posted
My tone wasn't one of anger, I was just being blunt. Haven't you been around programmers enough to know that the majority have no social skills? Anyway, I was thinking about the web browser control...I dont fully understand it. It uses libraries from IE, correct? Or windows? Would the computer have to have IE on it?
  • Leaders
Posted
Take it easy' date=' man. There is no reason to take your own inadequacies out on other people. Why don't you just use the web browser control?

 

The next time you want something, be specific and don't get upset when someone tries to clarify YOUR PROBLEM so they can help you solve it.

To be honest, I got it, and as admittedly blunt as the response was, I didn't detect any anger, so lets not start slinging insults.

 

Anyways, if you need to display HTML in an RTF box, perhaps there is some way to open the HTML in a WebBrowser control, copy it, and paste it into the RTF box. The RichTextBox class supports pasting of images and formatted text. As to exactly how you would go about that, I don't know.

[sIGPIC]e[/sIGPIC]
Posted
Haven't you been around programmers enough to know that the majority have no social skills?
That may be the reputation but it's not cool. Social skills are just as important as coding skills. What good are your ideas if you can't communicate them?

To be honest' date=' I got it, and as admittedly blunt as the response was, I didn't detect any anger, so lets not start slinging insults.[/quote']It is often difficult to detect tone on message boards. So I read his extremely "blunt" comment in a tone that was not intended. It happens sometimes -- so what? It all comes back to communication -- or a lack there of. I don't know you. I don't know your sense of humor. And I certianly can't read your mind. Regardless, I am sorry if I offended you. But, my second comment still stands. I was only trying to help. "Can a rtb read html?" Well, yes...it can read HTML just like it reads everything else...

 

Back to your actual problem. What are you really trying to do here? Do you want to just render some HTML or do you want something more than that?

 

Would the computer have to have IE on it?
I don't think so, though I would have to test it. Really, though unless you are aiming at mono on a non-Windows platform it doesn't matter. It is impossible to delete IE. Same as it is impossible to delete minesweeper and a few other things. It's kind of funny, Windows repairs itself or something like that.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...