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
Peter Bradley - 27 Feb 2007 15:54 GMT
Call the browser executable passing the web page url as a parameter?
Peter
>I am new to creating a windows application and have been asked to
> display an HTML page when a certain button is clicked.
[quoted text clipped - 4 lines]
>
> Thanks
rossum - 27 Feb 2007 15:58 GMT
>I am new to creating a windows application and have been asked to
>display an HTML page when a certain button is clicked.
[quoted text clipped - 4 lines]
>
>Thanks
Try System.Windows.Forms.WebBrowser
rossum
Laura T. - 27 Feb 2007 16:12 GMT
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"
>I am new to creating a windows application and have been asked to
> display an HTML page when a certain button is clicked.
[quoted text clipped - 4 lines]
>
> Thanks