473,394 Members | 1,769 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

AxWebBrowser in windows form NewWindow2() event

Hello, I am trying to provide a handler for the NewWindow2() event in this
windows forms application. Here is the handler:
Private Sub wbrPOS_NewWindow2(ByVal sender As Object, ByVal e As
AxSHDocVw.DWebBrowserEvents2_NewWindow2Event) Handles wbrPOS.NewWindow2
Dim frmPopUpCatcher As New frmBrowse2
frmPopUpCatcher.wbrPOS2.RegisterAsBrowser = True
e.ppDisp = wbrPOS.Application
frmPopUpCatcher.ShowDialog()
End Sub

The window.open() happens on frmBrowse (I am trying to use a second form
here) trying to get away from running the form load event for the first form
since a lot of authentication info is being passed in there. So far, nothing
shows in my new window. I saw the support document on how to implement this.
Tried that to no result. Any help/suggestion appreciated. Thanks.
Nov 21 '05 #1
2 2351
Sergiu,

This events starts when inside this window a new window is created (popup).
However now it is that a part of IE itself so probably will that be blocked
now.

Just a guess

Cor
Nov 21 '05 #2
the new window that is triggered by the newwindow2() event just seems to be
empty on return. It is not being blocked.

"Cor Ligthert" wrote:
Sergiu,

This events starts when inside this window a new window is created (popup).
However now it is that a part of IE itself so probably will that be blocked
now.

Just a guess

Cor

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Sergiu Dev | last post by:
I am working on a win forms application trying to control the DOM of a page that starts several javascript functions. I can control window.open() functions with the newwindow2() event of the...
0
by: Matthias Kwiedor | last post by:
I have a aplication which hosts an axWebbrowser. This activex component needs about 10 to 15 mb of memory. Because i have a option to move the aplication to tray icon and do some timer work i...
3
by: Clint MacDonald | last post by:
I have used the AxWebBrowser in a Visual Basic Project... I found that both Framework 1.0 and 1.1 had to be installed for it to work properly. I now have found that in Studio 2003, that the...
11
by: Bernie Yaeger | last post by:
I have an axwebbrowser control in a windows app and I want it to start at the user's IE start page, and to start when the form opens, but I can't get it to start in the form's load event. I even...
2
by: hplloyd | last post by:
Hi, My question is very simple I am sure but I cant seem to find a solution anywhere.... I have a windows form in C# and I have added an axWebBrowser control. When the form loads I am trying...
12
by: Don Juan | last post by:
I have had a terrible 10 days period with AxWebBrowser ActiveX Control. I can't understand why there is no goog documentation and tutorials for that monster.
0
by: elphantasmo | last post by:
Hi, I have created a hosted AxWebBrowser control and I handle the NewWindow2 event to open new windows in my own forms. Our application accesses a JSF (Java Server Faces) backend with some...
2
by: Michael | last post by:
Hi experts, I am using axWebBrowser in windows form to load web pages. There is a page that contains a group of buttons. (More than 10 buttons.) The source code behind each button is like below:...
1
by: tim2006 | last post by:
When i try to run the program, it just hangs. If i remove the axwebbrowser control it works fine. Any ideas? Here is my code: class1.vb Imports System.Windows.Forms Imports...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.