Re: Load html (Newbie)
- From: kimiraikkonen <kimiraikkonen85@xxxxxxxxx>
- Date: Mon, 7 Apr 2008 01:22:31 -0700 (PDT)
On Apr 7, 10:13 am, "Adriano" <adri...@xxxxxxx> wrote:
Hello,
I need to load an HTML code of a remote page in a string variable, using VS
2003 and VB.NET.
Can someone tell me a way I can do that?
thanks in advance!
Adriano
Hi Adriano,
You'd better explaing what you want to do, but i assume this will help
you to find out:
Dim web As New System.Net.WebClient
web.DownloadString("http://www.google.com").ToString
which receives the whole HTML(plus scripts) code in string type.
Hope this helps,
Onur Güzel
.
- Follow-Ups:
- Re: Load html (Newbie)
- From: Adriano
- Re: Load html (Newbie)
- References:
- Load html (Newbie)
- From: Adriano
- Load html (Newbie)
- Prev by Date: Re: temp directory question
- Next by Date: Re: Load html (Newbie)
- Previous by thread: Load html (Newbie)
- Next by thread: Re: Load html (Newbie)
- Index(es):
Relevant Pages
|