Parse <font .... </font> tag and view the progress into a Rich Text Box (Solved)
Hello, does anyone know how to parse the <font ... > </font> tag from an html file and view the output into a Rich Text Box? Using VB Code and even RTF code if you want.
Thanks rhino bull but i don't want to use external dll files. I use only vb code that doesn't uses other dlls or activex componets. Any ideas in simple vb code? I have already done a code that supports some of the features of the font tag but i want all the features. The code is in the attached text file. It is a little big to write it in this reply. Please view it and help me. I need it badly!
Originally posted by DarkX_Greece Thanks rhino bull but i don't want to use external dll files. I use only vb code that doesn't uses other dlls or activex componets.
Well, now that is an amazing feat. How do you use the RichTextBox, w/o adding it to your project (I mean, it IS an external OCX as well.).....
Originally posted by DarkX_Greece Thanks rhino bull but i don't want to use external dll files. I use only vb code that doesn't uses other dlls or activex componets. ...
Thanks
You're welcome.
That library I've mentioned has become a Windows standard component since W98 (I might be off on dates), so you don't really have to distribute it and use late bindings instead (CreateObject function will take care of that). But what you're saying doesn't really make sense (especially in this case): html type files are not easy to parse so why would you refuse to use such powerfull library remains a mystery to me. I would understand if FSO was suggested instead of VB's intrinsic File I/O functionality ...
Thanks RhinoBull, i didn't know it! I am developing a web browser control. I started this project before 2 months and i already done all the tags except font tag. I will try your way and i will tell you.