Ragnar
Ragnar

Reputation: 4592

How to open a web page inside of my own .net offline application?

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

Answers (4)

Ta01
Ta01

Reputation: 31630

Process.Start("IExplore.exe", "C:\myPath\myFile.htm")

or

Process.Start("IExplore.exe", "http://stackoverflow.com")

Upvotes: 0

as-cii
as-cii

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

PMC
PMC

Reputation: 4766

For Windows Forms WebBrowser

WPF WPF - WebBrowser

Upvotes: 1

Tim Robinson
Tim Robinson

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

Related Questions