Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Ready made Classes needed to read HTML files

Posted on 1999-07-27
1
Medium Priority
?
156 Views
Last Modified: 2013-11-20
Hi there,
I want to read a HTML file and get the links in that file. I just wanted to know if there were any readymade classes before implementing it. I have tried www.codeguru.com. No Success. Any info on this will be helpful
ThanX,
ArjunR
0
Comment
Question by:arjunram
[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
1 Comment
 
LVL 3

Accepted Solution

by:
cwrea earned 100 total points
ID: 1311615
Yes, there are ready-made classes; and chances are you already have them.

You can use Internet Explorer's Document Object Model.  Basically, this is a set of COM interfaces that let you load an HTML document (either from a file or from the web) and then do such things as iterate through the document's tags (by type, etc.)

Check out the following interfaces:  IWebBrowser2, IHTMLDocument2, IHTMLElement, etc.  These interfaces are available with Internet Explorer 4 and 5.

At MSDN online there is a page called "Reusing Browser Technology" at:
http://msdn.microsoft.com/workshop/browser/default.asp


0

Featured Post

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

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

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

705 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