Reputation: 4592
I need to develop own .NET off-line application which will just open a web page inside it. Basically I just need to open a web browser (like Internet Explorer 9) in my own offline app window and my web application inside it.
How to do that please?
Thanks for help
Upvotes: 2
Views: 1345
Reputation: 31630
Process.Start("IExplore.exe", "C:\myPath\myFile.htm")
or
Process.Start("IExplore.exe", "http://stackoverflow.com")
Upvotes: 0
Reputation: 13029
What are you using? Windows Forms or Windows Presentation Foundation?
Anyway for both of them exists WebBrowser
control:
Windows Presentation Foundation
Windows Forms
Upvotes: 0
Reputation: 54764
Do you want to open a web page inside the user's standard web browser? If so,
Process.Start("http://example.com/yoururl")
Or do you want a web browser physically inside your application's window? If so, use the WebBrowser
control.
Upvotes: 2