473,396 Members | 1,992 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Showing HTML page in a windows application

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

Feb 27 '07 #1
3 3851
Call the browser executable passing the web page url as a parameter?
Peter

"C#Schroeder" <An***************@gray-research.comwrote in message
news:11*********************@h3g2000cwc.googlegrou ps.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

Feb 27 '07 #2
On 27 Feb 2007 07:34:15 -0800, "C#Schroeder"
<An***************@gray-research.comwrote:
>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

Feb 27 '07 #3
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/lib...ebbrowser.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"

"C#Schroeder" <An***************@gray-research.comha scritto nel messaggio
news:11*********************@h3g2000cwc.googlegrou ps.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

Feb 27 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Alex Rybalov | last post by:
Hi, Using IIS 5.0 and sometime some asp pages (absolutely randomly) showing as blank white pages. So far only one way of fixing it - restart whole server. Restarting IIS, or specific web server...
9
by: Terrance | last post by:
Good Afternoon: I was hoping if someone could share some light on a problem that I'm facing. When I create a Visual Basic.Net program and I use the XP style for my Window Forms and buttons; if I...
9
by: Josh Mayfield | last post by:
Note: There is considerable background detail here, but I do have three questions, which are clearly marked and appear right before the sample code. I have a legitimate need to launch an EXE...
17
by: Lloyd Sheen | last post by:
This IDE is driving me nuts. I needed another button so I copied an existing one, changed the Text and the id and position by drag and drop. Well then I run and get the following: Control...
15
by: Nathan | last post by:
I have an aspx page with a data grid, some textboxes, and an update button. This page also has one html input element with type=file (not inside the data grid and runat=server). The update...
13
by: =?Utf-8?B?S2VzdGZpZWxk?= | last post by:
Hi Our company has a .Net web service that, when called via asp.net web pages across our network works 100%! The problem is that when we try and call the web service from a remote machine, one...
5
by: John Kotuby | last post by:
Hi all, This is my first time trying to creaet and use a custome Web Control in a Web Site project in ASP.NET 2.0 with VS 2005 and VB. I created the control in a separate Web Control Library...
6
by: MaiyaHolliday | last post by:
Hello, I've recently installed apache on a new computer, and cannot figure out why my site will not process any includes. (it was working on my old one) There are no errors on the page such as...
4
by: Mr. X. | last post by:
I have a problem showing hebrew on my site. Please, help. Here is the code : web.config ======= <configuration> <system.web> <customErrors mode="Off"/>
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.