alicelknight
asked on
Creating simple HTML editor
Hi all!
I need some direction in which to proceed. We need a simple, html editor to be used within a VB application. It should be able to allow the user to type out a file, set colors to text, highlight, etc. Then when saved puts in the html tags. I hear there is a control for this but I can not find it. Can anyone help me? We do not want to call any other program to open the file or create a new one as not every user will have Word or Publisher or HTML Help Workshop on their computers. We are already using the RTF and would prefer an html editor. If you could also supply good documentation on it I will increase the points. Any help is greatly appreciated.
Alice
I need some direction in which to proceed. We need a simple, html editor to be used within a VB application. It should be able to allow the user to type out a file, set colors to text, highlight, etc. Then when saved puts in the html tags. I hear there is a control for this but I can not find it. Can anyone help me? We do not want to call any other program to open the file or create a new one as not every user will have Word or Publisher or HTML Help Workshop on their computers. We are already using the RTF and would prefer an html editor. If you could also supply good documentation on it I will increase the points. Any help is greatly appreciated.
Alice
Haven't really tried it, but it seems that you could use a RichTextBox to input the formatted document, then on "save" or something, check each character to determine what to do with it: add color, bold, etc. Not very tricky, especially if your requirements are small (colors, bold, italic, underline,) but optimizing the output would take a bit more effort.
ASKER
Thanks all but I guess I was under the impression that VB had some kind of an html editor. Is this true? MCummings, this is a great example but a bit over my head, although it is what I'm looking for. The only drawback is that it needs IE 6.0. This is not a good situation for the application.
rspahitz: Thanks, this is what we're doing now. We were trying to get away from it because of just what you said, optimizing the output. We thought an html editor would solve this.
Any other suggestions?
Alice
rspahitz: Thanks, this is what we're doing now. We were trying to get away from it because of just what you said, optimizing the output. We thought an html editor would solve this.
Any other suggestions?
Alice
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Furthermore, there is a DHTML template available when you open a new project, so you might want to examine that and see what it offers.
ASKER
rspahitz: Thanks! I'll check into it.
Alice
Alice
VB Does not have a built-in HTML Editor. What ever your solution is going to be, it will be either a Third party control based on either IE or the RichText control. Here's a few more links to look at...
http://www.freevbcode.com/ShowCode.Asp?ID=991
http://www.freevbcode.com/ShowCode.Asp?ID=2749
http://www.freevbcode.com/ShowCode.Asp?ID=3829
Not sure if any of them may help. Just searched freeVBCode for HTML Editors. ;)
http://www.freevbcode.com/ShowCode.Asp?ID=991
http://www.freevbcode.com/ShowCode.Asp?ID=2749
http://www.freevbcode.com/ShowCode.Asp?ID=3829
Not sure if any of them may help. Just searched freeVBCode for HTML Editors. ;)
ASKER
Apologies for the delay in accepting an answer. Purely forgetfullness...
rspahitz: Thanks for your suggestion! I have not started this but it's what I was looking for, thanks!
To all: Thanks for all the suggestions.
rspahitz: Thanks for your suggestion! I have not started this but it's what I was looking for, thanks!
To all: Thanks for all the suggestions.
Glad to help! Thanks for the A-grade.
Optionally i have a sample project (but not using it)