DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Mon, 20 Aug 2007 09:44:03 -0700,    posted on: microsoft.public.dotnet.framework        back       

Thread Index
  1    Andrew
          2    Jim Rand
                 3    Andrew


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.
Date:Mon, 20 Aug 2007 09:44:03 -0700   Author:  

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"  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. 
Date:Mon, 20 Aug 2007 13:03:02 -0400   Author:  

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"  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. 
> 
> 
> 
Date:Mon, 20 Aug 2007 10:50:00 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us