how I display a web page in a desktop app

Hello,

How I display a web page in a desktop app?

I do not have the web edition.

Thanks.

Lennox

[quote=220344:@Lennox Jacob]Hello,

How I display a web page in a desktop app?

I do not have the web edition.[/quote]

HTMLViewer.

Thanks Michel but I cannot find that control, I do not have the Web Edition, is it only in the Web Edition?

Lennox

If you don’t have Web Edition and you want a Desktop App to have show a htmlpage then use HTMLViewer.

Michel probably mistyped.

OK thanks,

I got it now.

Lennox

Drag the HTMLViewer to your window, and in the Open event, put :

me.loadURL("http://www.google.com")

OK Michel Thanks,

Now I have another related question…

When that data is being loaded, where is it stored?

Can I save that HTML data to a text file? How can I do That?
I know that I can get that data directly from the web page in Safari by checking “Show Develop menu in menubar” under Advanced in Preferences.

Thanks.

Lennox

[quote=220401:@Lennox Jacob]OK Michel Thanks,

Now I have another related question…

When that data is being loaded, where is it stored?

Can I save that HTML data to a text file? How can I do That?
I know that I can get that data directly from the web page in Safari by checking “Show Develop menu in menubar” under Advanced in Preferences.

Thanks.

Lennox[/quote]

You can get a web page content with an HTTPSocket. See http://documentation.xojo.com/index.php/HTTPSocket.Get

OK Michel,

I will try that and see if that is what I want.

Thanks again.

Lennox