?
Solved

HTML help

Posted on 2003-11-11
9
Medium Priority
?
301 Views
Last Modified: 2013-12-16
I'm trying to build an HTML editor which will save files as html or text and highlight certain HTML tags with different colours automaticly. Does anyone know any tutorials to help or knows how to do it please tell me.

Adam
0
Comment
Question by:n5233
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 86

Expert Comment

by:Mike Tomlinson
ID: 9725508
Your best bet would be to load your html file into a richtextbox and then do a series of InStr() calls looking for your tags and change their color as you find them.

A vague answer? I know...  Give us a little more detailed information on how you want the app to work and we can help you out.

Idle_Mind
0
 
LVL 16

Accepted Solution

by:
Richie_Simonetti earned 252 total points
ID: 9725558
0
 
LVL 9

Assisted Solution

by:Dang123
Dang123 earned 248 total points
ID: 9725581
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:n5233
ID: 9729539
I would like to try and build an HTML editor which (i.e. better version of notepad) which colour codes text so as it is easier to find certain tags like the head, body, bold, underline tags etc. I was also going to try and make it be able to save the html in *.html and *.txt with one click of a buton. If possible I was also going to put a preview screen beside the html editor window so as you type it constantly refreshes the html preview window, showing you what it would look like in a web page. I could also have an open button as well as a save button to open html files and edit them and buttons to quickley insert different tags like body and head.

Hope this helps

Adam
0
 
LVL 2

Expert Comment

by:MaxPol
ID: 9730402
Hi,

what you need is at the end to write a parser.

It should parse any single word or special tag in a text and hadle as required.

It is not too difficult for few and simple tags.

Probably you will find some samples looking on google for parser sample code.

Hope it helps.

Max
0
 
LVL 9

Expert Comment

by:Dang123
ID: 9732555
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 10537232
Moderator, my recommended disposition is:

    Split points between: Richie_Simonetti and Dang123

Dan Rollins -- EE database cleanup volunteer
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month10 days, 18 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question