Home All Groups Group Topic Archive Search About

Showing HTML page in a windows application

Author
27 Feb 2007 3:34 PM
C#Schroeder
I am new to creating a windows application and have been asked to
display an HTML page when a certain button is clicked.

I have created the HTML page but don't know how to display it when the
button on the windows application is pressed.  Can anyone point me in
the right direction.

Thanks

Author
27 Feb 2007 3:54 PM
Peter Bradley
Call the browser executable passing the web page url as a parameter?


Peter

Show quoteHide quote
"C#Schroeder" <Anthony.Schroe***@gray-research.com> wrote in message
news:1172590455.852922.28130@h3g2000cwc.googlegroups.com...
>I am new to creating a windows application and have been asked to
> display an HTML page when a certain button is clicked.
>
> I have created the HTML page but don't know how to display it when the
> button on the windows application is pressed.  Can anyone point me in
> the right direction.
>
> Thanks
>
Are all your drivers up to date? click for free checkup

Author
27 Feb 2007 3:58 PM
rossum
On 27 Feb 2007 07:34:15 -0800, "C#Schroeder"
<Anthony.Schroe***@gray-research.com> wrote:

>I am new to creating a windows application and have been asked to
>display an HTML page when a certain button is clicked.
>
>I have created the HTML page but don't know how to display it when the
>button on the windows application is pressed.  Can anyone point me in
>the right direction.
>
>Thanks

Try System.Windows.Forms.WebBrowser

rossum
Author
27 Feb 2007 4:12 PM
Laura T.
Sure. These are for .NET Framework 2.0:

http://msdn2.microsoft.com/en-us/library/60wxh4ac.aspx
http://support.microsoft.com/kb/313068
http://msdn2.microsoft.com/en-us/library/system.windows.forms.webbrowser.aspx

You just add the standard Windows Forms WebBrower control into your form and
then
ask it to navigate to your html page, like Webbrowser1.Navigate
"file://test.html"



Show quoteHide quote
"C#Schroeder" <Anthony.Schroe***@gray-research.com> ha scritto nel messaggio
news:1172590455.852922.28130@h3g2000cwc.googlegroups.com...
>I am new to creating a windows application and have been asked to
> display an HTML page when a certain button is clicked.
>
> I have created the HTML page but don't know how to display it when the
> button on the windows application is pressed.  Can anyone point me in
> the right direction.
>
> Thanks
>

Bookmark and Share