I placed a web control in vb5 on a form... all requests from the navigate come back to the browser...Some find their way to open another browser outside the web control in vb5.. I tried passing the _self argunent to the naigate command and vb5 will not take it... Is there a way for all my pages including liked paged to stay inside my web control..
Thank you
Ray D[code]webcontrol1.navigate("abc.com",,"_self",,)
Does nothing
VB5 WEB BROWSER CONTROL
Page 1 of 17 Replies - 2741 Views - Last Post: 15 October 2008 - 02:08 PM
Replies To: VB5 WEB BROWSER CONTROL
#2
Re: VB5 WEB BROWSER CONTROL
Posted 14 October 2008 - 08:42 PM
I do believe this to be a VB.net question.
#3
Re: VB5 WEB BROWSER CONTROL
Posted 14 October 2008 - 11:11 PM
RAYDERO, on 14 Oct, 2008 - 08:28 PM, said:
I placed a web control in vb5 on a form... all requests from the navigate come back to the browser...Some find their way to open another browser outside the web control in vb5.. I tried passing the _self argunent to the naigate command and vb5 will not take it... Is there a way for all my pages including liked paged to stay inside my web control..
Thank you
Ray D[code]webcontrol1.navigate("abc.com",,"_self",,)
Does nothing
Thank you
Ray D[code]webcontrol1.navigate("abc.com",,"_self",,)
Does nothing
#4
Re: VB5 WEB BROWSER CONTROL
Posted 14 October 2008 - 11:24 PM
Private Sub object_NewWindow( _ ByRef ppDisp As Object, _ ByRef Cancel As Boolean)
This is what you are looking for. The ppDisp is your object that will open a new window.
#5
Re: VB5 WEB BROWSER CONTROL
Posted 15 October 2008 - 08:53 AM
I want ti keep all winfows in the web control browser. Will you code open a new winow on me?
thanks for the reply
thanks for the reply
#6
Re: VB5 WEB BROWSER CONTROL
Posted 15 October 2008 - 10:09 AM
pr4y, on 14 Oct, 2008 - 11:24 PM, said:
Private Sub object_NewWindow( _ ByRef ppDisp As Object, _ ByRef Cancel As Boolean)
This is what you are looking for. The ppDisp is your object that will open a new window.
I dont want to open a new window... I want all the wep pages to stay ind the web browser control... sometimes when you click on a link in a web page inside the browser, the web browser opens iexplor outside of my program...I dont want any pages to leave my applications web browser control
#7
Re: VB5 WEB BROWSER CONTROL
Posted 15 October 2008 - 01:17 PM
Ah sorry I read this wrong, I will write up another function to force contain windows (if i can figure it out) when i get a minute!
#8
Re: VB5 WEB BROWSER CONTROL
Posted 15 October 2008 - 02:08 PM
pr4y, on 15 Oct, 2008 - 01:17 PM, said:
Ah sorry I read this wrong, I will write up another function to force contain windows (if i can figure it out) when i get a minute!
thank you so much for your time..... if there is anything I can do for you feel free to ask...
again, on the web browser control in vb5, the specks for the control read,
webbrowser1.document to browser,,_self,,)
the _self argument suppose to keep all windows inside the web control.....
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote



|