Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the html source for these web page ?

My code work well for standart page, but I'm unable to get the html source from these page with my vb program :
http://www.slashdot.org
http://userfriendly.org
http://segfault.org

here my code
private sub commandgethtml_Click ()
Inet1.Cancel
Inet1.Protocol = icHTTP
Inet1.URL = theURL
HTMLcode = Inet1.OpenURL(theURL, icString)
RichTextBox1.Text = HTMLcode
'...
end sub

thanks in advance.
0 Kudos
Message 1 of 2
(3,500 Views)
Hello Cyrano,
This Developer Forum focuses on the National Instruments product "Measurement Studio for Visual Basic" (formerly known as ComponentWorks). Our goal is to help people to better integrate this product into their test, measurement, and automation applications. Your question directly pertains to the Microsoft Internet Transfer Control. I think you would find an increased number of responses that are better focused on your question if you would repost it to a forum that specializes in general VB and internet programming. Good luck!

Jeremiah Cox
Applications Engineer
National Instruments
http://www.ni.com/ask
0 Kudos
Message 2 of 2
(3,500 Views)