| |

VerySource

 Forgot password?
 Register
Search
View: 737|Reply: 2

How to make WebBrowser1 pop-up page open in a new window?

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-3-3 20:00:01
| Show all posts |Read mode
How should I write in WebBrowser1_NewWindow2? ? ?
Originally, cancel = true
Now I find that the link on my webpage is also banned
Reply

Use magic Report

0

Threads

46

Posts

23.00

Credits

Newbie

Rank: 1

Credits
23.00

 Macau

Post time: 2020-5-23 12:00:01
| Show all posts
Make another window yourself and pop up that connection
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-6-28 23:15:01
| Show all posts
Private Sub WebBrowser1_NewWindow2(ppDisp As Object, Cancel As Boolean)
    Set ppDisp = WebBrowser2.Application 'pops up in the specified window
End Sub
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list