Invoke IE from ASP.NET  
Author Message
wdewebserver





PostPosted: 2005-10-20 2:33:21 Top

dotnet-framework-aspnet, Invoke IE from ASP.NET Hi

I would like to invoke a new instance of IE from within a page and pass it a
URL. How can I do this in C#?

I have tried using SHDOCVW.DLL to no avail.

TIA


 
Ray Costanzo [MVP]





PostPosted: 2005-10-20 2:38:00 Top

dotnet-framework-aspnet >> Invoke IE from ASP.NET Do you want to do this on the server, you mean?

Ray at work

"wdewebserver" <email***@***.com> wrote in message
news:%email***@***.com...
> Hi
>
> I would like to invoke a new instance of IE from within a page and pass it
> a
> URL. How can I do this in C#?
>
> I have tried using SHDOCVW.DLL to no avail.
>
> TIA
>
>


 
Mark Rae





PostPosted: 2005-10-20 3:01:00 Top

dotnet-framework-aspnet >> Invoke IE from ASP.NET "wdewebserver" <email***@***.com> wrote in message
news:%email***@***.com...

> I would like to invoke a new instance of IE from within a page and pass it
> a
> URL. How can I do this in C#?

Unless I'm seriously off the mark here, create an anchor tag and set its
target to "_blank"...

<html>
<head>
</head>

<body>
<form>
<a target="_blank" href="http://www.microsoft.com">Click here to
open a new browser window</a>
</form>
</body>
</html>


 
 
wdewebserver





PostPosted: 2005-10-20 3:04:00 Top

dotnet-framework-aspnet >> Invoke IE from ASP.NET Yes, as I need to send the URL based on the user selection. The browser
should open in a new window.

TIA


"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:eZU$email***@***.com...
> Do you want to do this on the server, you mean?
>
> Ray at work
>
> "wdewebserver" <email***@***.com> wrote in message
> news:%email***@***.com...
> > Hi
> >
> > I would like to invoke a new instance of IE from within a page and pass
it
> > a
> > URL. How can I do this in C#?
> >
> > I have tried using SHDOCVW.DLL to no avail.
> >
> > TIA
> >
> >
>
>


 
 
U3JlZWppdGggUmFt





PostPosted: 2005-10-20 3:08:00 Top

dotnet-framework-aspnet >> Invoke IE from ASP.NET If you just want an IE open at client, javascript is enough

winodw.open(....)

if you are trying to get content of a webpage at server side, checkout this
post.. it may help..

http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet/msg/a80afdc14c2d8baf?hl=en&



"wdewebserver" wrote:

> Hi
>
> I would like to invoke a new instance of IE from within a page and pass it a
> URL. How can I do this in C#?
>
> I have tried using SHDOCVW.DLL to no avail.
>
> TIA
>
>
>
 
 
Q3VydF9DIFtNVlBd





PostPosted: 2005-10-20 3:18:00 Top

dotnet-framework-aspnet >> Invoke IE from ASP.NET What Ray was getting at is that this new window would be ON the server..
litterally. The Client wouldn't see it. You are trying to invoke IE ON the
server not FROM the server...

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com



"wdewebserver" wrote:

> Yes, as I need to send the URL based on the user selection. The browser
> should open in a new window.
>
> TIA
>
>
> "Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
> message news:eZU$email***@***.com...
> > Do you want to do this on the server, you mean?
> >
> > Ray at work
> >
> > "wdewebserver" <email***@***.com> wrote in message
> > news:%email***@***.com...
> > > Hi
> > >
> > > I would like to invoke a new instance of IE from within a page and pass
> it
> > > a
> > > URL. How can I do this in C#?
> > >
> > > I have tried using SHDOCVW.DLL to no avail.
> > >
> > > TIA
> > >
> > >
> >
> >
>
>
>
 
 
wdewebserver





PostPosted: 2005-10-20 3:31:00 Top

dotnet-framework-aspnet >> Invoke IE from ASP.NET Here's what I'm trying to accomplish.

1. The User clicks on the Menu
2. Then based on selection, the application retrieves a URL from the
configuration file.
3. A new Browser window opens.

That's all, I need. TIA


"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:eZU$email***@***.com...
> Do you want to do this on the server, you mean?
>
> Ray at work
>
> "wdewebserver" <email***@***.com> wrote in message
> news:%email***@***.com...
> > Hi
> >
> > I would like to invoke a new instance of IE from within a page and pass
it
> > a
> > URL. How can I do this in C#?
> >
> > I have tried using SHDOCVW.DLL to no avail.
> >
> > TIA
> >
> >
>
>


 
 
Q3VydF9DIFtNVlBd





PostPosted: 2005-10-20 3:46:00 Top

dotnet-framework-aspnet >> Invoke IE from ASP.NET Menu Item posts back
You read the item they selected
You get your value
You pass it to a clientside javascript call to open a window.

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com



"wdewebserver" wrote:

> Here's what I'm trying to accomplish.
>
> 1. The User clicks on the Menu
> 2. Then based on selection, the application retrieves a URL from the
> configuration file.
> 3. A new Browser window opens.
>
> That's all, I need. TIA
>
>
> "Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
> message news:eZU$email***@***.com...
> > Do you want to do this on the server, you mean?
> >
> > Ray at work
> >
> > "wdewebserver" <email***@***.com> wrote in message
> > news:%email***@***.com...
> > > Hi
> > >
> > > I would like to invoke a new instance of IE from within a page and pass
> it
> > > a
> > > URL. How can I do this in C#?
> > >
> > > I have tried using SHDOCVW.DLL to no avail.
> > >
> > > TIA
> > >
> > >
> >
> >
>
>
>