Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

vb.net and webbrowser control new window

techbee

Recruit
Basic Member
Messages
8
Reaction score
0
Points
16
first off, just assume na makacatch ng new window ang webbrowser control at makukuha ang url ng new window sa usapan.

so ang form1 ay may webbrowser na mag navigate sa isang webpage. pag click ng button sa webpage, ma-oopen nito ang system default browser dahil sa javascript window.open pero syempre ayaw ko yun mangyari kaya icacatch ko yung new window na yun, kukunin ko ang url ng new window at ilalagay ko sa webbrowser sa form2 at inanavigate doon at icacancel ko ang pag open ng system default browser.

sa webpage sa webbrowser ng form2, magseselect ako ng value at ipapasa ko pabalik sa webpage ng webbrowser sa form1 through window.opener ng javascript sa webpage sa webbrowser ng form2.

sa haba ng detailed explanation ko, ito ang tanong ko, mapapasa ba ang selected value from webpage sa webbrowser sa form2 using javascript window.opener to webpage sa webbrowser ng form1?

natanong ko ang question na ito dahil ang webpage sa webbrowser ng form2 ay hindi ang actual na tinawag ng window.open mula sa pagclick ng button sa webpage sa webbrowser ng form1. interception yung ginawa natin sa new window. yung actual na nag react ay yung system default browser.
 
Back
Top Bottom