AtomZ .be

Hello,

as I have seen a lot new threads about the webbrowser,
I thought: "Why don't try it myself " :p

So I tried, and I just made myself a working tabbed browser :o

I put the source and working example online so you people can have a look how everything works..
Here is the link

Please post any questions/suggestions/bugs (I know there are a lot of 'em) here :)

Grtz, Tom.




Re: Visual Basic Express Edition Example of tabbed webbrowsing

ReneeC

Tom,

Your links are really broken. :(






Re: Visual Basic Express Edition Example of tabbed webbrowsing

AtomZ .be

Hi Renee,
thanks for noticing

Here is the new link

grtz, Tom.






Re: Visual Basic Express Edition Example of tabbed webbrowsing

ReneeC

 

Tom, that's rather nice. I can tell it's based on the standard webbrowser control because it has the webbrowser's bugs.

one of which becomes apparent http://www.vanishingpointgame.com/ here. click on the left box and then click on the tab the extends. Then repeat that with IE.

However, I have a bug that you don't that's driving me crazy.  You may want to take a look at www.freewebs.com/reneecc

in the forum search boxes.

 






Re: Visual Basic Express Edition Example of tabbed webbrowsing

AtomZ .be

Hello Renee,
thank you for the comment, I really appreciate :)
I went to vanishingpointgame, and I saw what you mean.

But can you please explain me what bug you mean I don't quite udnerstand what you mean by that.
Maybe that's just because English isn't my home-language (or however it's called) :p

And what do you mean by 'in the forum search boxes'

Grtz, Tom.






Re: Visual Basic Express Edition Example of tabbed webbrowsing

ReneeC

Easy questions first..... each forum in MSDN has a Search box. Your browser handles the searchbox correctly, mine doesn't. On the other hand I've done a lot to get vanishingpoint to work because that is actually a flash URL and is the tip of an iceberg for all of flash.






Re: Visual Basic Express Edition Example of tabbed webbrowsing

AtomZ .be

K..

For the searchbox:
Do you also use the custom webbrowser control Or another one
As if it's the same one as mine, it's reeeeeeealy weird :s
And I do see the searchbox correct in your browser, if that's the problem !

And for the (flash) url, I have a question:
how can I detect what url is being clicked on in my webbrowser so I can make
my program open the link in a new tab of mine
Because now it opens it OR in the same window as the document where it is clicked on,
OR in my default webbrowser (IE in my case).

Grtz, Tom.






Re: Visual Basic Express Edition Example of tabbed webbrowsing

ReneeC

 

 

Aggggghhhhhh Tom.

I'm not screaming at you I'm just screaming.  

If you are using KN look under controls.webbrowser.extensions.webbrowserextensions-wilfridB in the treeview and double click on that link.

for the answer to your question. Caution it's complicated. I've have to make a C# dll from code project.  But anyway what you want for NewWindows is information from the extended event StartNavigating3.

Yes, my browser shows the box correctly, but if you enter; test:<enter> if will navigate right back to the same place. However if I enter test and hit the search button , it's fine. :( 






Re: Visual Basic Express Edition Example of tabbed webbrowsing

AtomZ .be

Renee,

first of all: dont scream, it doesn't solve ur problems.. ;)

So, when your done screaming:
Is it possible that you capture the <enter> in your form's KeyDown event
instead of in the combobox's KeyDown event
This is one of the possible explanations I have for that issue..

Kind regards,
Tom.

 

/* Begin Edit */

BTW, I've uploaded a newer version to the download page (same link as before)

/* End Edit*/






Re: Visual Basic Express Edition Example of tabbed webbrowsing

ReneeC

tom,

the webbrowser is in a tab, in a groupbox, and the webbrowser has focus. The form should not be capturing keydown under that circumstance should it Also there is an htmldocument inside the webrowser. The webbrowser does have a keypreview event. The event looks for other keys such as f1 for help. I commented the whole event out and it made no difference, put I will have to look for all keydowns. Thank you those are good places to look.