Need help with Inet control in VB 08

I recently downloaded Microsoft Visual Studio 08 (v 9.0.20706.1 Beta2)

I would like to know how to disply the source (HTML) of a page in a text box.

In Vb6 I used an Inet control to get the source based on the Location (URL) from a web broswer control.

My idea now is to build a basic web broser using the web browser control.

Display the URL in a text box.

Have a button that will bring up a new Form with a text box, and the source of the page.

If anyone can help me please post or contact me on my aim at Bx2 Kriptic.

Thanks.

[590 byte] By [Kriptic] at [2008-1-9]
# 1
Kriptic wrote:

I recently downloaded Microsoft Visual Studio 08 (v 9.0.20706.1 Beta2)

I would like to know how to disply the source (HTML) of a page in a text box.

In Vb6 I used an Inet control to get the source based on the Location (URL) from a web broswer control.

My idea now is to build a basic web broser using the web browser control.

Display the URL in a text box.

Have a button that will bring up a new Form with a text box, and the source of the page.

If anyone can help me please post or contact me on my aim at Bx2 Kriptic.

Thanks.

Hi Kriptic,

Are you aware that the source for a lot of websites these days is created automatically on a server and is not

hard-coded?

That is because a lot of websites run on a Windows server using ASP.Net or on a Linux server using PHP and mySQL as more websites are driven by a database.

So tomorrow the same website could be different, just by changing a few database items.

Regards,

S_DS

# 2
I know it isn't. I want to grab the HTML everytime I click the button, and then parse it. Thats all. The only think i'm looking for is the control to do so.
Kriptic at 2007-10-2 > top of Msdn Tech,Visual Basic,Visual Basic Language...
# 3
Never mind. Inet as been intergrated with the WebBrowser control. HTML can be viewed by using the WebBrowser.DocumentText
Kriptic at 2007-10-2 > top of Msdn Tech,Visual Basic,Visual Basic Language...
# 4

Kriptic:

I am looking to do the same thing you are...

In Windows XP/Access 2003, I have a program that uses INET to retrieve webpage source HTML and then I parse it for the data I want...

I believe as one of the security updates, I find that my method is constantly being shut down by having certain functions like INET turned off in the registry...I can go in and turn them back on...but then next time I reboot they are turned off again...again I believe(don't know for sure) that this is to plug a security flaw.

My questions(since you seem to have the same issues):

1. Do you know why the INET control is being shut off?

2. Do you know what the recommended coding methods are to replace this functionality going forward?

I have users in both XP & Vista but we would all be using Office 2003 based products(Access 2003).

Thanks for any help you might have.

Jim

JimGiordano at 2007-10-2 > top of Msdn Tech,Visual Basic,Visual Basic Language...