Invoke IE from ASP.NET

W

wdewebserver

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
 
M

Mark Rae

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>
 
W

wdewebserver

Yes, as I need to send the URL based on the user selection. The browser
should open in a new window.

TIA
 
W

wdewebserver

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top