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.
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)...
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.
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?
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?
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
Hey Gary,
1) Looking forward for that.
2) I agree.
3) Thank you
4) metacafe doesn't work for sure, as I tried to see if media is supported and nothing comes up in the 'movie' box.
This is the just copying the text from the unhandled exception.
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:
Adding a break point say the following:
Live Event: Breakpoint Hit: GetFavouritesForDirectory, MainWindow.VB line 42 A Breakpoint or tracpoint was hit by the debugger" Thread Main 8060.
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.
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
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?
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?
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"
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.
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.
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.
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?
Anyone who does not wonder, is either omnipotent or a fool. Amerigoware <<<My Projects