Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 136,408 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,460 people online right now. Registration is fast and FREE... Join Now!




VB5 WEB BROWSER CONTROL

 
Reply to this topicStart new topic

VB5 WEB BROWSER CONTROL

RAYDERO
14 Oct, 2008 - 07:28 PM
Post #1

New D.I.C Head
*

Joined: 14 Oct, 2008
Posts: 5

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
User is offlineProfile CardPM
+Quote Post

DeCompile
RE: VB5 WEB BROWSER CONTROL
14 Oct, 2008 - 07:42 PM
Post #2

D.I.C Head
**

Joined: 20 Jul, 2008
Posts: 180



Thanked: 6 times
My Contributions
I do believe this to be a VB.net question.
User is offlineProfile CardPM
+Quote Post

RAYDERO
RE: VB5 WEB BROWSER CONTROL
14 Oct, 2008 - 10:11 PM
Post #3

New D.I.C Head
*

Joined: 14 Oct, 2008
Posts: 5

QUOTE(RAYDERO @ 14 Oct, 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


User is offlineProfile CardPM
+Quote Post

pr4y
RE: VB5 WEB BROWSER CONTROL
14 Oct, 2008 - 10:24 PM
Post #4

D.I.C Head
Group Icon

Joined: 19 Sep, 2008
Posts: 76


Dream Kudos: 50
My Contributions
VB

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.
User is offlineProfile CardPM
+Quote Post

RAYDERO
RE: VB5 WEB BROWSER CONTROL
15 Oct, 2008 - 07:53 AM
Post #5

New D.I.C Head
*

Joined: 14 Oct, 2008
Posts: 5

I want ti keep all winfows in the web control browser. Will you code open a new winow on me?
thanks for the reply
User is offlineProfile CardPM
+Quote Post

RAYDERO
RE: VB5 WEB BROWSER CONTROL
15 Oct, 2008 - 09:09 AM
Post #6

New D.I.C Head
*

Joined: 14 Oct, 2008
Posts: 5

QUOTE(pr4y @ 14 Oct, 2008 - 11:24 PM) *

VB

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
User is offlineProfile CardPM
+Quote Post

pr4y
RE: VB5 WEB BROWSER CONTROL
15 Oct, 2008 - 12:17 PM
Post #7

D.I.C Head
Group Icon

Joined: 19 Sep, 2008
Posts: 76


Dream Kudos: 50
My Contributions
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!
User is offlineProfile CardPM
+Quote Post

RAYDERO
RE: VB5 WEB BROWSER CONTROL
15 Oct, 2008 - 01:08 PM
Post #8

New D.I.C Head
*

Joined: 14 Oct, 2008
Posts: 5

QUOTE(pr4y @ 15 Oct, 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!



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.....
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 12:13PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month