And started extending it to include some additional functionality. The first major addition is the ability to enumerate and to the Favourites that are contained within the Users Favourites folder on their machine. Details regarding how this was achieved can be found in this post:
Nice one, very usefull stuff.
I Practised it and found two issues in the tabbed browser,i.e Back button is enabled in the new tab and the textbox url is not changing according to the navigation in the new tab.
Please suggest me how to do this.
Can you describe the exact steps that you are using to produce these problems? They don't look like they should be happening, but if I can reproduce them, I will update the code with corrections.
If I remember correctly (it has been a while since I have looked at it), I haven't implemented this functionality. At the minute, you can only add and delete.
It should be a simple extension of the current source code, so if I get a chance in the next while I will try to add this functionality.
Anyone else have trouble running this? Whenever i try to debug
NullReferenceExemption was unhandled
this.tabs.AddTab();
Line 83 MainWindow.cs
and
Warning 1 Field 'Enhanced_CS_Tabbed_Web_Browser.MainWindow.tabs' is never assigned to, and will always have its default value null
@
Enhanced CS Tabbed Web Browser\MainWindow.Designer.cs 537 69 Enhanced CS Tabbed Web Browser
I'm only a beginner so it's more than a bit confusing!
The .sln file icons are different, when i click on the .sln icon from your project it does nothing (nothing opens) i have to open visual studio first then file > open project.
I have upgraded the project on GitHub to now use Visual Studio 2010, and I have just verified that I can open the solution file, compile the code, and debug it, and it works without any problems.
Can you try the new code, and let me know how you get on?
Ok, I am going to have to get Visual Studio Express installed, and try this out. It works fine on the edition of Visual Studio I am using. I will do some research, and get back to you.
1. Went to here
2. Clicked the zip link to download everything
3. Unzipped the zip file
4. Opened Visual C# 2010 Express Edition
5. Select File | Open Project...
6. Navigate to the folder that contains the .sln file
7. Select the .sln file and select Open
8. Build the solution, CTRL + SHIFT + B
9. Hit F5
10. Works as expected
Yeah it runs when i click F5 and loads google.com then if i click to visit a further webpage i get the picture below.
I'm only a beginner and have no idea what these error codes mean. sorry to be so critical.
I followed your instructions on post no:21 and the application loads as normal
then:
Type www.google.com into the address box press enter
Google loads as per normal
I then enter a search phrase into Google press enter
get results as expected
click on one of these search results page loads
if i click on a link on that webpage get error above
'Argument out of range exemption', Value of 5310 is not valid for value, value should be between minimum and maximum, parameter name: value.
Ok, I have just tried to repeat this, and I can't get it to give the same error that you have described.
The search term that I used was "test" and I can happily click on each of the links that the search returns, and each one appears in the tab as expected.
Can you tell me the search term that you used, and what link you tried to click on?
I entered 'test' into google
clicked the first link test.com > individuals
then clicked the back button four times to return to google and got same error with above but with
'Argument out of range exemption', Value of 10000 is not valid for value.
The re-opened it with F5
went to google entered 'nfl' got search results but then error
'Argument out of range exemption', Value of 4283 is not valid for value,
The opened again
went to google entered bbc
bbc homepage > news > world > UK > England
then get error
'Argument out of range exemption', Value of 10000 is not valid for value,
I altered the number on the row of code to 1000000000 and not 100 and as soon i visited google i got the error
'Argument out of range exemption', Value of 10000000 is not valid for value
I altered the number on the row of code to 10 and as soon i visited google i got the error
'Argument out of range exemption', Value of 1000 is not valid for value
I removed the whole of line 399 from Mainform.cs
this.pageLoadProgress.Value = (int)Math.Round(((double)(1000 * e.CurrentProgress / e.MaximumProgress)));