Enhanced VB Tabbed Web Browser - Page 2-VBForums
Page 2 of 3 FirstFirst 123 LastLast
Results 41 to 80 of 94

Thread: Enhanced VB Tabbed Web Browser

  1. #41
    Lively Member
    Join Date
    Sep 2009
    Posts
    65

    Re: Enhanced VB Tabbed Web Browser

    It seems like it has worked but its now saying:


    If its any help im running Windows 7 Ultimate 64-bit
    Attached Images Attached Images  

  2. #42
    Lively Member
    Join Date
    Sep 2009
    Posts
    65

    Re: Enhanced VB Tabbed Web Browser

    Ignore this, its now fixed it self, thank you very much I can now use your WebBrowserTabControl, thank you.

  3. #43

    Thread Starter
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,962

    Re: Enhanced VB Tabbed Web Browser

    Hey,

    Glad to hear it!!

    Gary

  4. #44
    Fanatic Member coolcurrent4u's Avatar
    Join Date
    Apr 2008
    Location
    *****
    Posts
    970

    Re: Enhanced VB Tabbed Web Browser

    @gep
    this is wonderfull
    Programming is all about good logic. Spend more time here


    (vHost for Apache) (Generate pronounceable password) (Generate random number c#) (Filter array with another array)

  5. #45

    Thread Starter
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,962

    Re: Enhanced VB Tabbed Web Browser

    Quote Originally Posted by coolcurrent4u View Post
    @gep
    this is wonderfull
    Why thank you very much! Glad you like it. The majority of the praise has to go to jmchilhinney though, I just extended his existing work

    Gary

  6. #46
    Fanatic Member coolcurrent4u's Avatar
    Join Date
    Apr 2008
    Location
    *****
    Posts
    970

    Re: Enhanced VB Tabbed Web Browser

    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

    Code:
    Value of '10026' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'. Parameter name: Value
    the image below show it exact
    Attached Images Attached Images  
    Programming is all about good logic. Spend more time here


    (vHost for Apache) (Generate pronounceable password) (Generate random number c#) (Filter array with another array)

  7. #47

    Thread Starter
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,962

    Re: Enhanced VB Tabbed Web Browser

    Hello,

    Are you able to provide a complete step of steps to reproduce this issue?

    Thanks

    Gary

  8. #48

    Thread Starter
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,962

    Re: Enhanced VB Tabbed Web Browser

    Hello,

    Are you able to provide a complete step of steps to reproduce this issue?

    Thanks

    Gary

  9. #49
    Fanatic Member coolcurrent4u's Avatar
    Join Date
    Apr 2008
    Location
    *****
    Posts
    970

    Re: Enhanced VB Tabbed Web Browser

    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
    Programming is all about good logic. Spend more time here


    (vHost for Apache) (Generate pronounceable password) (Generate random number c#) (Filter array with another array)

  10. #50
    Junior Member
    Join Date
    Mar 2011
    Location
    Canada
    Posts
    23

    Re: Enhanced VB Tabbed Web Browser

    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.

  11. #51

    Thread Starter
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,962

    Re: Enhanced VB Tabbed Web Browser

    Quote Originally Posted by 3no7ch View Post
    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.
    Sounds like a plan! Let me know if you have any issues, or whether you add anything interesting.

    Gary

  12. #52

    Thread Starter
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,962

    Re: Enhanced VB Tabbed Web Browser

    Quote Originally Posted by coolcurrent4u View Post
    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
    I haven't forgotten about this issue, I just haven't had a chance to look at it yet.

    Gary

  13. #53
    Hyperactive Member Grunt's Avatar
    Join Date
    Oct 2004
    Location
    Las Vegas
    Posts
    498

    Re: Enhanced VB Tabbed Web Browser

    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.
    My Mobile Software Development Company - http://www.mbpsoftllc.com

  14. #54

    Thread Starter
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,962

    Re: Enhanced VB Tabbed Web Browser

    Hello Grunt,

    Sounds interesting! Will be good to see how you get on.

    Gary

  15. #55
    Lively Member
    Join Date
    Apr 2011
    Location
    At home
    Posts
    64

    Re: Enhanced VB Tabbed Web Browser

    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.

  16. #56

    Thread Starter
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,962

    Re: Enhanced VB Tabbed Web Browser

    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

  17. #57
    Lively Member
    Join Date
    Apr 2011
    Location
    At home
    Posts
    64

    Re: Enhanced VB Tabbed Web Browser

    Quote Originally Posted by gep13 View Post
    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

  18. #58

    Thread Starter
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,962

    Re: Enhanced VB Tabbed Web Browser

    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

  19. #59
    Lively Member
    Join Date
    Apr 2011
    Location
    At home
    Posts
    64

    Re: Enhanced VB Tabbed Web Browser

    Quote Originally Posted by gep13 View Post
    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
    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.

    Julian

  20. #60
    Fanatic Member coolcurrent4u's Avatar
    Join Date
    Apr 2008
    Location
    *****
    Posts
    970

    Re: Enhanced VB Tabbed Web Browser

    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?
    Programming is all about good logic. Spend more time here


    (vHost for Apache) (Generate pronounceable password) (Generate random number c#) (Filter array with another array)

  21. #61

    Thread Starter
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,962

    Re: Enhanced VB Tabbed Web Browser

    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

  22. #62
    Fanatic Member coolcurrent4u's Avatar
    Join Date
    Apr 2008
    Location
    *****
    Posts
    970

    Re: Enhanced VB Tabbed Web Browser

    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
    Programming is all about good logic. Spend more time here


    (vHost for Apache) (Generate pronounceable password) (Generate random number c#) (Filter array with another array)

  23. #63

    Thread Starter
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,962

    Re: Enhanced VB Tabbed Web Browser

    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

  24. #64
    Fanatic Member coolcurrent4u's Avatar
    Join Date
    Apr 2008
    Location
    *****
    Posts
    970

    Re: Enhanced VB Tabbed Web Browser

    Thanks, but i can't use it in .net 2.0 as it uses linq
    Programming is all about good logic. Spend more time here


    (vHost for Apache) (Generate pronounceable password) (Generate random number c#) (Filter array with another array)

  25. #65

    Thread Starter
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,962

    Re: Enhanced VB Tabbed Web Browser

    Hello,

    One line of that code sample uses LINQ. It should be simple enough to factor LINQ out.

    Gary

  26. #66

    Thread Starter
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,962

    Re: Enhanced VB Tabbed Web Browser

    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

  27. #67
    Lively Member
    Join Date
    Aug 2010
    Posts
    68

    Re: Enhanced VB Tabbed Web Browser

    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?
    myFav.Url = New Uri(sb.ToString())"

  28. #68

    Thread Starter
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,962

    Re: Enhanced VB Tabbed Web Browser

    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

  29. #69
    Lively Member
    Join Date
    Aug 2010
    Posts
    68

    Re: Enhanced VB Tabbed Web Browser

    Hi,

    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.

  30. #70

    Thread Starter
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,962

    Re: Enhanced VB Tabbed Web Browser

    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

  31. #71

    Thread Starter
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,962

    Re: Enhanced VB Tabbed Web Browser

    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

  32. #72
    Lively Member
    Join Date
    Aug 2010
    Posts
    68

    Re: Enhanced VB Tabbed Web Browser

    Name:  error1.jpg
Views: 95
Size:  31.6 KBName:  error2.jpg
Views: 105
Size:  295.4 KB

    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?

  33. #73

    Thread Starter
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,962

    Re: Enhanced VB Tabbed Web Browser

    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

  34. #74
    Lively Member
    Join Date
    Aug 2010
    Posts
    68

    Re: Enhanced VB Tabbed Web Browser

    Quote Originally Posted by gep13 View Post
    Hello,


    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"

  35. #75

    Thread Starter
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,962

    Re: Enhanced VB Tabbed Web Browser

    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

  36. #76
    Lively Member
    Join Date
    Aug 2010
    Posts
    68

    Re: Enhanced VB Tabbed Web Browser

    Sorry for the late reply. here is the information you required.

    Name:  Untitled.jpg
Views: 95
Size:  277.5 KB

  37. #77

    Thread Starter
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,962

    Re: Enhanced VB Tabbed Web Browser

    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

  38. #78
    Lively Member
    Join Date
    Aug 2010
    Posts
    68

    Re: Enhanced VB Tabbed Web Browser

    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.

    Name:  Image1.jpg
Views: 84
Size:  274.6 KBName:  Image2.jpg
Views: 86
Size:  285.7 KBName:  Image3.jpg
Views: 80
Size:  292.2 KBName:  Image4.jpg
Views: 78
Size:  48.6 KB

  39. #79

    Thread Starter
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,962

    Re: Enhanced VB Tabbed Web Browser

    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

  40. #80
    Lively Member Amerigo's Avatar
    Join Date
    Dec 2008
    Location
    PSR B1620-26 c-1
    Posts
    121

    Re: Enhanced VB Tabbed Web Browser

    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

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.