displaying a web page within WINFORM

G

Guest

I just need to host my HTML file within my WINFORM. I am sure there are articles on that, but I cant seem to find one or a simple KIOSK sample. ( No interaction, just view ).

Thanks Andrew
 
J

JW

Andrew,

You could host the web browser control on your winform and load your HTML
file into that. See the link below for details on that control.

http://msdn.microsoft.com/library/d...r/webbrowser/reference/objects/webbrowser.asp

Hope this helps.
--
Jeffrey Wynn
(e-mail address removed)


andrewcw said:
I just need to host my HTML file within my WINFORM. I am sure there are
articles on that, but I cant seem to find one or a simple KIOSK sample. ( No
interaction, just view ).
 
J

Jeffrey Tan[MSFT]

Hi Andrew,

Thank you for posting in the community!

Based on my understanding, you want to find a way to host html web pages in
you WinForm application.

======================================================
I think WebBrowser control is your need. It is a COM control, you can use
Visual Studio.Net to refer and wrap it into .Net WinForm application.

From another post of you, I see that you already got WebBrowser control to
use. So I want to provide you some more information.

For complete reference of WebBrowser control, please refer to JW's link.

For more related articles, please refer to the links below:
http://www.codeproject.com/csharp/webbrowser.asp
http://www.codeproject.com/csharp/winformiehost.asp?target=webbrowser|C#
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwebgen/ht
ml/reusebovw.asp

=======================================================
If you have any further concern, please feel free to post, I will help you.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
J

Jeffrey Tan[MSFT]

Hi Andrew,

Thanks for your feedback.

JW's link article is a COM reference of WebBrowser control.

The articles I provided is writen in C#, does it make sense to you?

Is your problem resolved? If you have anything unclear, please feel free to
tell me, I will work with you.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
J

Jeffrey Tan[MSFT]

Hi Andrew,

Thanks very much for your feedback.

Yes, WebBrowser control is actually a COM control, to use it, you have to
add this COM control into your project, VS.net IDE will do the wrap for you.

If you have further concern, please feel free to tell me.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top