Solved

HTML help

Posted on 2003-11-11
9
296 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
9 Comments
 
LVL 85

Expert Comment

by:Mike Tomlinson
Comment Utility
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 63 total points
Comment Utility
0
 
LVL 9

Assisted Solution

by:Dang123
Dang123 earned 62 total points
Comment Utility
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Author Comment

by:n5233
Comment Utility
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
Comment Utility
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
Comment Utility
0
 
LVL 49

Expert Comment

by:DanRollins
Comment Utility
Moderator, my recommended disposition is:

    Split points between: Richie_Simonetti and Dang123

Dan Rollins -- EE database cleanup volunteer
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
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…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
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…

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now