Re: web in windows ?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Cor (non_at_non.com)
Date: 02/10/04


Date: Tue, 10 Feb 2004 15:39:05 +0100

Hi Mike,

If you want to get information from a webpage (although you can never get a
page from the internet only one document and sometimes that is the page).
Than you use mshtml to get the information from the document.

Instead of the webbrowser you can also have a look for all the httprequest
classes but that are so much that I cannot tell you which you have to use.

If you want to have the whole page of a document you can get that by using
Html.innertext block. (The only thing you do not get it the leading HTML
tag and the closing HTML tag) Or any other innertext block.

When you use mshtml you have to set a reference for it but do not set an
import, because this class freezes your IDE, you need to set an prefix
reference every time you use it.

I hope this helps,

Cor



Relevant Pages

  • Re: Problem Accessing HTMLElementCollection
    ... I added a reference to mshtml to my project by selecting "Microsoft HTML ... I checked the GAC on my development system and there is no reference to ... > Deploying an Interop Application ...
    (microsoft.public.dotnet.languages.csharp)
  • Referencing MSHTML Library
    ... samples talk about adding a reference to the MSHTML library. ... Imports System ... Public Class Form1 ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Copy and paste doesnt work...........
    ... It needs an reference to MSHTML no import. ... others to the link I show beneath it. ... Cor ...
    (microsoft.public.dotnet.general)
  • Re: Performance of SubString and IndexOf methods
    ... Have a look for Mshtml. ... You also have carefully to watch what interface you take, ... You have to set a reference to it, but set not an import, because it has so ...
    (microsoft.public.dotnet.languages.vb)