Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Browser ActiveX Control and NewWindow2 events
Message
From
16/05/2004 21:51:19
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Browser ActiveX Control and NewWindow2 events
Miscellaneous
Thread ID:
00904468
Message ID:
00904468
Views:
73
NewWindow2 does not seem to be triggered at all. Any thoughts what prevents it from happening? I am trying to drive certain Web site in a form which has some popups ( calendars and etc... ) . Assuming if I succeded with enabling NewWindow2 would it be supposed to work in Browser control ?

Microsoft Knowledge Base Article - 184876 with VB example is the following
Private Sub WebBrowser1_NewWindow2(ppDisp As Object,
                                   Cancel As Boolean)
   Dim frmWB As Form1
   Set frmWB = New Form1

   frmWB.WebBrowser1.RegisterAsBrowser = TRUE

   Set ppDisp = frmWB.WebBrowser1.Object
   frmWB.Visible = True
End Sub
TIA
Michael
Next
Reply
Map
View

Click here to load this message in the networking platform