.Net 2.0 Web Browser Control New Window URL

  • Thread starter Thread starter Abhi
  • Start date Start date
A

Abhi

Hi,
I am using WebBrowser control in my .Net 2.0 C# Windows application.
I want to open all new Windows in my Own Application instead of the
default IE.

I have used event NewWindow to cancel opening of new IE instance,
however i am not able to get the New URL.

How to get the URl that was to be opened.

Thanks.
 
Abhi said:
Hi,
I am using WebBrowser control in my .Net 2.0 C# Windows application.
I want to open all new Windows in my Own Application instead of the
default IE.

I have used event NewWindow to cancel opening of new IE instance,
however i am not able to get the New URL.

How to get the URl that was to be opened.

Thanks.

Hi Abhi,

how does your application work? Do you allow more instances of your
app. Do you use somehing like Tabs to show multiple pages. Please
describe your application in more detailed way. Do you mean links
opened from your application or opened on system. Once i wrote
a Kiosk Browser so maybe i can help you if you can tell use more
about the thing you want to do,...


Beste Grüsse / Best regards / Votre bien devoue

Kerem Gümrükcü
 
you can open a hidden form and wait for the Navigating event, and decide to
show it or close it there
 

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

Back
Top