How to embed IE in C#.net windows application? - DOTNET
This is a discussion on How to embed IE in C#.net windows application? - DOTNET ; Hello, friends,
We have a Windows application programmed using c#.net 2005. Now our users
need to access web pags of one or two dedicated IP addresses only.
We are thinking to embed an IE component in our application and control ...
-
How to embed IE in C#.net windows application?
Hello, friends,
We have a Windows application programmed using c#.net 2005. Now our users
need to access web pags of one or two dedicated IP addresses only.
We are thinking to embed an IE component in our application and control it
in our application. As a resutl, it will look like one windows application
and our users won't notice that he/she is actually viewing a web page.
Can we do this way? If yes, how? Any reference paper, sample sourse code,
and etc.?
Thanks a lot for your input.
-
Re: How to embed IE in C#.net windows application?
This really peaked my curiosity. Talk about simple.
Create a form with a text box and a button on the top. In the remainder of
the form, place a web browser control.
Here is the code for the button click event:
private void btnGo_Click(object sender, EventArgs e)
{
webBrowser.Url = new Uri(txtUrl.Text);
}
Instant web browser.
Jim
"Andrew" <Andrew@discussions.microsoft.com> wrote in message
news:89DF0AE5-027E-40D8-8C68-8FA376995F0A@microsoft.com...
> Hello, friends,
>
> We have a Windows application programmed using c#.net 2005. Now our users
> need to access web pags of one or two dedicated IP addresses only.
>
> We are thinking to embed an IE component in our application and control it
> in our application. As a resutl, it will look like one windows application
> and our users won't notice that he/she is actually viewing a web page.
>
> Can we do this way? If yes, how? Any reference paper, sample sourse code,
> and etc.?
>
> Thanks a lot for your input.
-
Re: How to embed IE in C#.net windows application?
it looks quite straightfoward, thanks...
"Jim Rand" wrote:
> This really peaked my curiosity. Talk about simple.
>
> Create a form with a text box and a button on the top. In the remainder of
> the form, place a web browser control.
>
> Here is the code for the button click event:
>
> private void btnGo_Click(object sender, EventArgs e)
> {
> webBrowser.Url = new Uri(txtUrl.Text);
> }
>
> Instant web browser.
>
> Jim
>
> "Andrew" <Andrew@discussions.microsoft.com> wrote in message
> news:89DF0AE5-027E-40D8-8C68-8FA376995F0A@microsoft.com...
> > Hello, friends,
> >
> > We have a Windows application programmed using c#.net 2005. Now our users
> > need to access web pags of one or two dedicated IP addresses only.
> >
> > We are thinking to embed an IE component in our application and control it
> > in our application. As a resutl, it will look like one windows application
> > and our users won't notice that he/she is actually viewing a web page.
> >
> > Can we do this way? If yes, how? Any reference paper, sample sourse code,
> > and etc.?
> >
> > Thanks a lot for your input.
>
>
>
Similar Threads
-
By Application Development in forum Python
Replies: 10
Last Post: 12-07-2007, 06:07 AM
-
By Application Development in forum CSharp
Replies: 1
Last Post: 09-04-2007, 12:06 PM
-
By Application Development in forum Java
Replies: 5
Last Post: 08-02-2006, 09:14 AM
-
By Application Development in forum Perl
Replies: 3
Last Post: 07-22-2005, 06:28 AM
-
By Application Development in forum Javascript
Replies: 2
Last Post: 11-06-2003, 08:44 PM