7 Replies - 3008 Views - Last Post: 15 October 2008 - 02:08 PM Rate Topic: -----

#1 RAYDERO  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 14-October 08

VB5 WEB BROWSER CONTROL

Posted 14 October 2008 - 08:28 PM

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

Is This A Good Question/Topic? 0
  • +

Replies To: VB5 WEB BROWSER CONTROL

#2 DeCompile  Icon User is offline

  • D.I.C Regular

Reputation: 19
  • View blog
  • Posts: 301
  • Joined: 20-July 08

Re: VB5 WEB BROWSER CONTROL

Posted 14 October 2008 - 08:42 PM

I do believe this to be a VB.net question.
Was This Post Helpful? 0
  • +
  • -

#3 RAYDERO  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 14-October 08

Re: VB5 WEB BROWSER CONTROL

Posted 14 October 2008 - 11:11 PM

View PostRAYDERO, 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

Was This Post Helpful? 0
  • +
  • -

#4 pr4y  Icon User is offline

  • Location: 127.0.0.1
  • member icon

Reputation: 35
  • View blog
  • Posts: 621
  • Joined: 19-September 08

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.
Was This Post Helpful? 0
  • +
  • -

#5 RAYDERO  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 14-October 08

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
Was This Post Helpful? 0
  • +
  • -

#6 RAYDERO  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 14-October 08

Re: VB5 WEB BROWSER CONTROL

Posted 15 October 2008 - 10:09 AM

View Postpr4y, 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
Was This Post Helpful? 0
  • +
  • -

#7 pr4y  Icon User is offline

  • Location: 127.0.0.1
  • member icon

Reputation: 35
  • View blog
  • Posts: 621
  • Joined: 19-September 08

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!
Was This Post Helpful? 0
  • +
  • -

#8 RAYDERO  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 14-October 08

Re: VB5 WEB BROWSER CONTROL

Posted 15 October 2008 - 02:08 PM

View Postpr4y, 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.....
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1