It seems like it has worked but its now saying:
If its any help im running Windows 7 Ultimate 64-bit
Printable View
It seems like it has worked but its now saying:
If its any help im running Windows 7 Ultimate 64-bit
Ignore this, its now fixed it self, thank you very much :D I can now use your WebBrowserTabControl, thank you.
Hey,
Glad to hear it!!
Gary
@gep
this is wonderfull
i found a bug in the code. first before reporting the bug, let me ask a related question.
How do you display progress in the progress bar when you switch tab?.
Next here is the bug
the image below show it exactCode:Value of '10026' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'. Parameter name: Value
Hello,
Are you able to provide a complete step of steps to reproduce this issue?
Thanks
Gary
Hello,
Are you able to provide a complete step of steps to reproduce this issue?
Thanks
Gary
just browse with more that one tab, say about 3 to 4 and switch tabs while the pages are still loading frequently, say every 3 sec or 5
Wow, nice. Oh well, I'm going to just modify stuff around to see if there's anything useful that I can see in the code.
I am thinking of doing something like this, but instead of going with the vanilla browser control, to using embedded firefox with xulrunner. I will post some stuff on it in the future.
Hello Grunt,
Sounds interesting! Will be good to see how you get on.
Gary
Hi,
First of, I would like to give you a well done :) very nice project. and nice design. - Although some things I have found to "pop out".
1. The history doesn't update itself? when you go into new websites...
2. Maybe make the tools dialog a bit bigger and include the Clear History etc in there, like um, Last Hour Cache etc.
3. This might also be my personal preference: Adding the add new tab button in the tabs.
4. It doesn't support Multimedia, such as metacafe movies, (because of flash player)...
other than that I love it. :)
Hello,
Thanks for the feedback.
1) As per the notes at the top of the thread, the history tab has not yet been implemented
2) Again, this hasn't been looked at yet
3) Good idea
4) I can't say that I have tried this, but this could be a limitation of the WebBrowser control that is being used.
Gary
Hey Gary,
Thanks for your reply.
1) I didn't read the entire top thread (lazy me), you're planning on implementing it though? it would be awesome with history included.
2) Maybe even some security level modifications in the tools? that comes to my mind: "Parental Control", to even limit websites that have *sex* or what so ever wild card in the website, to ask if you want to continue to a website which has certain words in its URL.
3) Another thing that you might like to implement, is the ability of "Clicking" on the tab while keeping the mouse button down a "Close" button will pop up, which will give more comfort for the user. (ease of use is very important for me personally)
4) I understand. even limitation of Adobe Flash, as it doesn't support all browsers, but.... as VB's Web implementation uses IE engine (I think), it should let one use multimedia, maybe theres a way around?
Julian
Hello again,
1) One day I hope to get back round to looking at this, yes. As with most things though, it really depends on what other stuff I have on, and at the minute I have lots :(
2) Agreed, this would be a useful addition.
3) Nice suggestion.
4) Off the top of my head, really not sure, would need to look into this. Do you have a link to a site that you have tried where it hasn't worked?
Gary
Hello Gary
I'd like to auto fill form fields in the multitab webbrowser control, in the document complete event, how do i fill the correct webbrowser?
Hello,
There is already a reference to the current Selected Tab, so surely you should already know which browser you want to fill, or what am I missing?
Gary
Thanks for responding.
Is it possible to add close button to each tab, can you give me a hint on how i can do that
thanks
Hello,
You would need to "paint" a button onto each TabPage, and handle the click event of it.
Pradeep has an example of doing this here:
http://www.vbforums.com/showthread.php?t=622242
Gary
Thanks, but i can't use it in .net 2.0 as it uses linq
Hello,
One line of that code sample uses LINQ. It should be simple enough to factor LINQ out.
Gary
Hello,
For anyone who is interested, I have moved the Code for this application onto github, you can find it here:
https://github.com/gep13/VBForums-En...ed-Web-Browser
Thanks
Gary
Anyone tried this in Visual Studio 2012 pro?
Without making any changes when trying to run it I get an error
URI Format Exception was unhandled - Invalid URL: The Format of the URI could not be determined?
Quote:
myFav.Url = New Uri(sb.ToString())"
Hello,
No, I can't say that I have tried this in Visual Studio 2012, but I also can't think of any reason why it wouldn't work.
I will add it to my list of things to look into. I will report back if I find anything.
Also, on the line that you have identified, can you set a breakpoint and find out what the value of sb.ToString() is?
Gary
Hi,
This is the just copying the text from the unhandled exception.
Adding a break point say the following:Quote:
System.UriFormatException was unhandled
Message=Invalid URI: The format of the URI could not be determined.
Source=System
StackTrace:
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at Enhanced_VB_Tabbed_Web_Browser.MainWindow.GetFavouritesForDirectory(DirectoryInfo di, TreeNode dirNode) in C:\Users\Ian\Downloads\VBForums-Enhanced-Tabbed-Web-Browser-master\VBForums-Enhanced-Tabbed-Web-Browser-master\src\VB\Enhanced VB Tabbed Web Browser\MainWindow.vb:line 420
at Enhanced_VB_Tabbed_Web_Browser.MainWindow.GetFavourites() in C:\Users\Ian\Downloads\VBForums-Enhanced-Tabbed-Web-Browser-master\VBForums-Enhanced-Tabbed-Web-Browser-master\src\VB\Enhanced VB Tabbed Web Browser\MainWindow.vb:line 447
at Enhanced_VB_Tabbed_Web_Browser.MainWindow.MainWindow_Load(Object sender, EventArgs e) in C:\Users\Ian\Downloads\VBForums-Enhanced-Tabbed-Web-Browser-master\VBForums-Enhanced-Tabbed-Web-Browser-master\src\VB\Enhanced VB Tabbed Web Browser\MainWindow.vb:line 81
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
InnerException:
Quote:
Live Event: Breakpoint Hit: GetFavouritesForDirectory, MainWindow.VB line 42 A Breakpoint or tracpoint was hit by the debugger" Thread Main 8060.
Hello,
Yes, that is the stacktrace, but what was interested in was the actual value of the sb variable at the time the exception occurred. If you set a breakpoint on that line, and then run the application, you should be able to inspect the value.
Gary
Hey,
I have just done the following:
1. Download the Source
2. Open the solution in Visual Studio 2012
3. Build Solution
4. Run the Application
5. Type www.google.co.uk into the address bar
6. Click go
And everything works as expected.
Can you let me know what you do differently?
Thanks
Gary
Attachment 99417Attachment 99419
Two screen shots attached.
First screen shot is if I just try and launch the application outside of the visual studio just as standalone application.
Second screen shot is simply opening the project and after build pressing the green play button.
Using Windows 8 if that makes a difference, although I've tried the standalone application on windows 7 and go the same netframe error in screen shot 1?
Hello,
Nope, Windows 8 shouldn't make any difference, I am also running that.
What favourites, if any, do you have set up in Internet Explorer? Looks like one of these is not a valid URL. It looks like you have identified a bug in the application though :-)
For now, again, what is the value of sb.ToString() when the exception occurs? If you set a breakpoint on this line, you should be able to figure this out. Are you familiar with how to do this?
Gary
It appears if I delete the bookmark it has the problem with it runs the application. Until it gets stuck again with a bad url.
I'm not familiar enough with how to set a break point? Do I just click the line so it puts a red circle next to it? + What information do you require once it "breaks"
Hey,
Yes, that is essentially what you need to do, yes. Once it "breaks" on that line, hover your mouse over the "sb" variable, and Visual Studio should tell you what the current value of sb is. I am interested to know what the value is, and why it isn't a valid URL. From there, we can start to figure out the best approach to handle correcting this problem in the code.
Thanks
Gary
Sorry for the late reply. here is the information you required.
Attachment 99499
Hey,
So, that doesn't look like an invalid URI to me, so I don't think that this is the troublesome favourite.
Can you get to the above point again, and then press F5? I suspect that you will land on this line of code again, this time with a different value for sb. Keep doing this, inspecting the value of sb each time, until you once again get the exception being thrown.
Gary
here are the screen shots. Also shown a screenshot of my favorites. Oddly if you delete the favorites for "bing, facebook, Microsoft, twitter" it loads without this error and can look into the folders fine.
Attachment 99501Attachment 99503Attachment 99505Attachment 99507
Hello,
Ok, this is VERY confusing. None of those are invalid URL's, and none of them should be throwing the exception that you are seeing.
Are you sure that there weren't other favourites in that folder when you were seeing this problem?
Thanks
Gary
I haven't looked at your code yet, but I have a feeling I just wasted 3 weeks creating my Tabbed_IE usercontrol.dll. I searched for months before creating one of my own.
@Grunt: I am also working on a Tabbed Gecko Browser control, but having issues adding it to a form. How are you coming along with yours?