Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 7th, 2005, 07:47 AM
Registered User
 
Join Date: Jul 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Calling a new IE window from another IE window

Can anyone please tell me how to open a IE window from another window using C#?

Basically what I want to happen is that a user clicks a button in the parent window which then causes the second to open.

I have tried examples using the InternetExplorerClass referenced from the vwShwDoc dll but this did not work, the code compiled but nothing happend when the button was clicked.

Thanks

 
Old July 8th, 2005, 08:02 AM
Authorized User
 
Join Date: Nov 2004
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to avanishp
Default

Hi

that thing you can do through javascript by window.open function, why you need to do it through c#?

Avanish Pandey
 
Old July 8th, 2005, 09:54 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Your C# server code must emit the javascript Avanish provided to the browser in some where. This can be done thru the "RegisterStartupScript" method, or it can be added as an onclick attribute to a button.

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
Centering Popup window & Blur Parent window jkusmanto Javascript How-To 0 May 25th, 2007 03:19 AM
Window refresh and window pop up in Java Script Aleksandra Javascript How-To 2 March 2nd, 2007 06:47 PM
calling a dll in a window based program abhi_web C# 1 August 31st, 2006 03:21 AM
calling functions form another window geogomez Javascript How-To 2 November 29th, 2005 07:20 AM
calling a link into a popup (java) window dvdrony Classic ASP Basics 3 November 30th, 2004 08:21 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.