Added: 2 years ago
From: FactorXTech
Views: 7,069
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (150)

Sign In or Sign Up now to post a comment!
  • giving the error "Object reference not set to an instance of an object." when i click go.

    error is displayed at this part of go button's code

    "Navigate(TextBox1.Text)"

  • i didnt see you add a actual web browser component to the Form1 so where do i put the web browser?

  • @C0mputerTut0rialZ You don't put a WebBrowser on this project. You convert the coding of the TabControl and turn each tab into a WebBrowser. Again, you don't add a webbrowser.

  • @FactorXTech i noticed that later and btw i really like ur vids and i will sub to you if you help me fix some of the coding of my project, im trying to make a vb web browser that could match or even beat professional ones like firefox

  • @C0mputerTut0rialZ Thanks a lot, I really appreciate it! And sure, I'll help. But I'm a bit rusty, after a year of not coding. But sure, I'll try my absolute best.

  • @FactorXTech ill send you the whole project file if you want and a list of some of the coding that is causing problems.

  • @C0mputerTut0rialZ Sounds good.

  • HELP!!!

    When i debug mine a tab does not open and i have to keep adding a tab every time is loads and then if i type something in the search bar when a tab is not open then an error pops up please help!!!!!!!!!!!! Thanks

  • @TecHmoDzFx Since I haven't used VB2008 in 2 years, to be honest; I've completely forgot. I'm sorry, but try finding some codes which are underlined in red; or just remake the whole thing. Sorry :\

  • @FactorXTech Thats ok ive fixed it now and thanks for trying to help, great video

    you just got yourself a sub and a like:D

  • @TecHmoDzFx I'm glad you've got it to work! Sorry my work failed btw :\ And thank you for the sub and like <3

  • /|\

  • AMAZING Tutorial!

    The best on youtube! :)

  • @TheLoLGameplays7312 Thanks :D!!

  • You stole code from another guys video, real professional, dude.

  • @AwesomeStep That really helps, not explaining who's video. Plus this is basic coding, there is no "stealing code" dipshit. The people who created this programs are the ones who made the basic coding, not whoever made a video. Nice try trolling, you clearly fail; idiot.

  • @FactorXTech I will find the link, and usually most people wouldn't recognize the term "Scrip Kiddy", so I didn't use it. And yes this is basic, I am doing an extra credit project in school for a coding class I am taking (I have to take VB then I can go to Java and C++), I am making a web browser with a decent amount of features, I needed to find some code to make the tab labels display the website title. I never said you stole the video, I said you stole the code, I may be wrong, but ->

  • @FactorXTech I will find the link, and usually most people wouldn't recognize the term "Scrip Kiddy", so I didn't use it. And yes this is basic, I am doing an extra credit project in school for a coding class I am taking (I have to take VB then I can go to Java and C++), I am making a web browser with a decent amount of features, I needed to find some code to make the tab labels display the website title. I never said you stole the video, I said you stole the code, I may be wrong ->

  • @FactorXTech But usually people don't have the EXACT same code. Here is the link /watch?v=Gd5xh_HF7EE

  • @AwesomeStep Yo, there are different ways to code; bro. And people who code cannot take codes from someone else, unless a coder creates something so unique that no one else has made it before.

  • @FactorXTech The code that is used in this video is EXACTLY the same code as the code in the description of that video.

  • @AwesomeStep Guess what? Who fucking cares? There is absolutely no such thing as stealing someone elses code, again, unless the code was to create something unique. Just stop trying to accuse me of stealing because there is no possibility of doing so.

  • how do i remove script errors though?

  • @harshal75 I have a video on it. Go to my channel and type Script Error Suppressed.

  • @FactorXTech and do you know how to navigate with the enter button

  • @harshal75 I have a video on it based on a non-tabbed webbrowser.

  • @FactorXTech yea i did that vid and can you xplain to me how to make that tabbed

  • Comment removed

  • @harshal75 to do it u gotta put in the code: If e.KeyCode = Keys.Enter Then WebBrowser1.Navigate(TextBox1.­Text) Me.Text = (ComboBox1.Text)

    End If

  • dude thanks

    other videos take 10 hours urs took 10 minuts

  • How to open up the Popup in new taB

  • i added to Favorites when i make 2nd version i will use this.

  • waching the vid in my new web browser! thnx 4 the help!

  • @ChristianHeard1 No problem :)

  • Also you need to change the anchor points to allow the browser to maximise properly. To do this....

    Click the tabbed box you made

    On the right hand side is a list of the properties of the box

    Find Anchor and click it

    Click the white rectangles until they all become gray. Thats it done

    Thumb up both comments so it helps everyone out, thanks

  • @oTheGreenMarine oh my god I was looking for this everywhere!! Thank you so much! :D I'll thumb this up 100! :DDD

  • @Driftb0yy it doesnt have 100 thumbs yet

  • @harshal75 It's a hyperbole to show you how awesome you are, not literally 100 likes.

  • Anyone who gets the -1 error do this

    Change: Private Sub Loading(ByVal sender As Object, ByVal e As Windows.Forms.WebBrowserProgre­ssChangedEventArgs)

    ToolStripProgressBar1.Maximum = e.MaximumProgress

    ToolStripProgressBar1.Value = e.CurrentProgress

    End Sub

    To this: Private Sub Loading(ByVal sender As Object, ByVal e As Windows.Forms.WebBrowserProgre­ssChangedEventArgs)

    ToolStripProgressBar1.Maximum = e.MaximumProgress

    ToolStripProgressBar1.Value = e.MaximumProgress

    End Sub

  • @oTheGreenMarine but if the current value of the loading bar is set to always be the maximum progress instead of the current progress like you stated in line 10 of your comment, then wouldn't that destroy the purpose of the code, woudln't it just always be a full progress bar and not actually load?

  • @oTheGreenMarine

    Thanks, I got that error and had no idea how to fix it. Then I saw your comment, and it helped everything.

    Anyway, thanks again.

  • @TechPerson32 You're welcome :)

  • mine says argumentoutofrangeexception was unhandled by user code

  • Thanks Bro Good Tutorial

  • @plaieboi101 Thank you! And wow I just found out my voice was that high?! Woah.

  • and a tip: if copy, paste and cut dont work, try those codes:

    Paste:CType(TabControl1.Select­edTab.Controls.Item(0), WebBrowser).Document.ExecComma­nd("Paste", True, vbNull)

    Copy:CType(TabControl1.Selecte­dTab.Controls.Item(0), WebBrowser).Document.ExecComma­nd("Copy", True, vbNull)

    Cut:CType(TabControl1.Selected­Tab.Controls.Item(0), WebBrowser).Document.ExecComma­nd("Cut", True, vbNull)

    Hope it helps ;)

    if it does, thumbs up so others can see :D

  • uhm... you added google search option but to use it you have to click aol.

  • Really bad video. Its going too fast.

    Really stupid.

  • @ITWorld2 Thanks, you're going to fast for thinking; because clearly I already explained that I get right to the point in my videos. I don't babble on and on, I explain exactly what to do. And plus, I don't see you making any videos besides that one. GF.

  • @Giannis7312 Thanks :)

  • It's really good!

    

  • What should I change the code to use Webkit Browser instead of Web Browser? (Google Translate)

  • Very very niCe TuT +5

  • do i have to add Tabcontrol to make tabs? Cant i just use WebBrowser instead of tabcontrol?

  • @richardwang1007 If you want a webbrowser with tabs, you must use a tabcontrol. If you do not want tabs, use a regular webbrowser.

  • why do u use an timer for the progressbar?? webbrowser_progresschanged event?

    toolstripprogressbar1.value=e.­currentprogress???? but nevertheless thumb up....

  • @rohoeltrinker The timer tells the Progressbar what percentage the site has loaded in the current time. Like say the page is halfway loaded...the timer would tell the progressbar to be like 50% or so. This just shows how fast or slow the user's internet is; and how fast the page is loading.

  • @FactorXTech currentprogress does the same:

    Private Sub Loading(ByVal sender As Object, ByVal e As Windows.Forms.WebBrowserProgre­ssChangedEventArgs) ProgressBar1.Maximum = e.MaximumProgress ProgressBar1.Value = e.CurrentProgress If e.CurrentProgress = e.MaximumProgress Then ProgressBar1.Visible = False stopbutton.Visible = False End If End Sub

    another prob with ur script if i click my home button on the 2nd tab --> error

  • @rohoeltrinker I will send you a code.

  • Comment removed

  • Comment removed

  • when i debug, vs say is "Value of '-1' is not valid for 'Minimum'. 'Minimum' must be greater than or equal to 0.

    Parameter name: Minimum"

    whats happen?

  • Comment removed

  • Comment removed

  • Comment removed

  • any chance u can give me ur cursor pack thnx

  • @8898samuel Go on DeviantArt and type in Aero Sky cursor pack.

  • @sanford271 I don't know if you're trying to have me look bad, but if not, please specify what part of my WebBrowser tutorial has not worked. Thank you.

  • Just a remark - when clicking on a link from a page the programme go's to the IE that's installed to open that page instead of opening that page within it's own application. Anyway of changing this?

    Great video an tut bu the way.

  • @marcbelgium1 I have absolutely no clue. I'm sorry, I'm only an intermediate coder.

  • @LilMGonz98 Yeah, I was meaning to change it. I didn't realize what the other guy was talking about until now lol.

  • Oh, and I have the codes and stuff to make Favorites/Booksmarks.

  • Nice tutorial! I'm making a touch-screen enabled browser, would you by any chance have a tutorial for making an On-Screen Keyboard?

  • "Value of '-1' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'.Parameter name: Value"

    Sorry if I sound like a noob but, what do I do?

  • @xionicle Change -1 to 1

  • Thanks, but how do I change it? Because when I put "= 1" after "progressbar1.value = e.currentprogress" the bar doesn't even works!

  • @xionicle Just change the value of that property setting, like if there were to be a value of -1 for like TabControl, change that value to 1. Wherever you may find it, is possibly the problem.

  • @FactorXTech ok I'm going to try this as soon as I can thank you! =)

  • @xionicle

    Add this codes in VB.NET : Private Sub Loading(ByVal sender As Object, ByVal e As Windows.Forms.WebBrowserProgre­ssChangedEventArgs) Try ToolStripProgressBar1.Maximum = e.MaximumProgress ToolStripProgressBar1.Value = e.CurrentProgress Catch ex As Exception End Try End Sub

    This Work For ME !! Thanks in advance

  • how do you fix the error about the -1 value and change it? im double clicking the value in the autos window, but im supposedly not allowed fixing it...how do i change this value to get the browser to work?

  • @RykeeGaming Rather than it being "-1", make it "1".

  • @FactorXTech i understand that, but how do i change it to "1"?

  • this is my fave vid I love it I have been trying to make a web browser for a long time thxs

  • Tahnk you! it was so clear and organized great tutorial! I subbed :) added it to my favorites and gave a thumbs up :D

  • @scottyrul No, thank you :) You have made my day! I greatly appreciate the courtesy you have given to me today because I barely get any thanks in this world. Again, thanks a lot!

  • hey dont u need to add a webbrowser to that

  • @rockhopper123452 Nope. The Tab-control acts as if it were a WebBrowser.

  • @factorxtech. Thanks anyway. Do you know how i could get a right click menu: eg. Right click on background for menu to select "change background" i know how to get the background to save, just not the right click

  • @BTScompanies Just add a Context Menustrip whichever object.

  • @factorxtech. Do u know how to make a coverflow in vb2010 (like u have on a mac at the bottom of the screen?

  • @BTScompanies To be honest, I do not know what a coverflow is. You mean the little floating bar at the bottom holding all of the programs? Sort of like Rocketdock?

  • @FactorXTech Yes that is exactly what I mean (Sorry for making it shound complicated

  • @BTScompanies I'm sorry man, but I really don't know exactly how to make a Coverflow. I am just a novice programmer, I teach the basics. Once I know a few things, I can probably make a tutorial exactly for what you asked me about.

  • @factorXTechThanks. The code was perfect apart from this slight error. But thank you for replying. You are a brilliant YouTuber.

  • @BTScompanies Thank you very much :D I can say the same to you!

  • Mine won't work!!! It says: The "Value -1 its not Value"

  • @BTScompanies Sorry, it's not "-1" it's just "1".

  • But i Option it!

    THAMKS IT WORKS!!! My Webbrowser now got name : iSurf 4.0

  • @L0l71 :)

  • :( Me talks:

    The "Value -1 its not Value"

    HELP ME!

  • It also only seems to happen when I open a second tab.

  • Whenever I type an address into the text box (TextBox1) and press Go (Button6), it says "System.ArgumentOutOfRangeExce­ption".

    Here's the code:

    Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click CType(TabControl1.SelectedTab.­Controls.Item(0), WebBrowser).Navigate(TextBox1.­Text) End Sub

    Is there something I'm missing? Because none of my other VB projects ever had this problem.

  • @XMMxmmXM In the ".Navigate(Textbox1.text) you did ".Navigate(Textbox1.-Text)

  • @FactorXTech Thanks! It worked :) Do you know how to make a radio button change a control button so that is has different code?

  • @XMMxmmXM Hey, I'm glad it worked :) Also, please be a little more specific with what you are saying, because I don't exactly understand what it is you are asking.

  • @FactorXTech Example: I have a Search button that searches Google with the text entered in TextBox2. I also have a settings form where it allows the user to change the homepage and the default tab page and stuff. If I were to add about 4 radio buttons to that form to change the code of the Search button in Form1, what would the code be for the Radio buttons?

  • Comment removed

  • Comment removed

  • By the first 10 seconds of this video i subscribed to you. I love that ur getting right on what the viewers want and also the great link's and all... Thank you!

  • @123halo97 Thank you for that subscription :) I really do appreciate the way that you have noticed what I try to do for everyone. I really do try my best for everyone! Again, thanks :)

  • lol can u explain how to make it that i hit enter and it goes cuse i am totally lost

  • @Ziualuivlapestepe18f You know where you click the button and you add text onto it? Instead, click the Form itself and scroll up to the top where it says "Accept Button" and make the GO Button the Accept Button. The GO Button for example could be Button6.

  • Do you got a code for me.. when I press ' enter' , the site will come so I do not click on ' Go ' to load the page

  • @Tha19Boy94 It's not necessary to have a code for that specific event when the Properties Box has it to allow that button to do that. Click the GO Button once, go to properties and at the top there will be a setting called "AcceptButton". Select the Button# the GO Button is and you have the ability to have that event to happen by the click of your ENTER Button. But make sure you still have the code in the button so that it will navigate on the tabbed webbrowser.

  • ToolStripProgressBar1.Value = e.CurrentProgress

    That's the reason why I can't debug my WebBrowser ..

    Help me ??

    This is there to assist:

    Value of '-1' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'.

    Parameter name: Value

  • @Tekmill94 e.MaximumProgress(100) try that.

  • @FactorXTech Now I get an error if I put that in my codes

  • Every line is a nulll reference ill post my code

  • @fireXtract i fixed it i have to get vb08 not 2010

  • @fireXtract That's good. Just letting you know it wasn't the way the codes were used, it's the different types of codes that were used. The difference between VB2008 and VB2010 is that they have a slight change of the code database.

  • @FactorXTech Also is their anyway to convert those 08 codes to 10 codes?

  • @fireXtract What you need to do is make the project in VB2008, and once done, save ALL files. Once you do that, re-install VB2010 and take the VB2008 Project and a "Convert" Box will pop-up.

  • @R3CoNSysteM Ah... well your problem might be for the fact it says web browser, not webbrowser1 which seems to be the case if you're selecting the 'Web Browser' tool. However if its a complete homebrew i can check your code for you, or is it exactly the same as the one he put in the file?

  • @IENiXMedia I already solved his problem. Thank you anyways.

  • Problem: When the tab is changed, the URL of the page doesn't change when the tab is changed..

  • @nehalvpatel I don't know how to find the specific code for it to show the URL based on what tab the user is currently on. Sorry, I'll try to find that code somewhat later on tonight.

  • @FactorXTech

    Already found it...

  • The Form1_Load: function. It says e.CurrentProgress is out of peremeter.

  • I keep getting an error with the loading bar. It says it's out of perimiter...

  • Hey Factor!

    You can use strings to replicate bookmarks... Or save them to a text file.... Or use the method Firefox and Internet Explorer uses.. :D

  • @nehalvpatel Thank you very much for the idea, negalvapel! I will sure use it in my upcoming Web Browser.

  • @R3CoNSysteM Well these could be the reasons:

    -There's spaces in the codes that aren't supposed to be there...

    -You might have put the wrong code...

    -I must have put the wrong name for the wrong code...

    Contact me through YT Mail, and paste the code in so I can check it out.

  • @R3CoNSysteM Well anyways, I cannot help right now, because I have to go offline. It's almost the middle of the night, and I need some sleep. I'll be on tomorrow to solve your problem. Promise :)

  • @R3CoNSysteM That still doesn't help. Are you saying that whenever you want to change the homepage, it has an Error?

  • hey i need some help.... im trying to make a webbrowser with a button just like a tab but i want the button to go to a notepad to type in can you please help?

  • @Tehnoobbobshow Can you be a little bit more specific, please?

  • link dosn't work : P

  • Whoops. Thank you SO much for pointing that out!

  • great video quality

    great audio quality

    HD

    u rly deserve more views...

  • Thank you so much! For saying that, I will subscribe to you =D

    (I do that to people who are nice!)

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more