VB.NET Beginner Tutorial - Subs vs Functions & Building a Real-Time Calculator (Visual Basic .NET)

  Рет қаралды 13,921

VB Toolbox

VB Toolbox

Күн бұрын

Пікірлер: 26
@chrism4993
@chrism4993 8 жыл бұрын
Lol trust me I've been waiting for that "ahhhh" moment where everything makes sense.. but you're right, repetition is everything. I've actually been watching the crap out of your subs and function but I'm also writing everything down on paper and then entering it into VB w/o trying to look.... just like you said it'll eventually hit me, seriously though, thank God for people like you who are willing to help out others just for the sake of it, and if I have any questions I'll definitely ask ya, I'm sure I'll have one or two.. Thanks again and keep up the great work!
@dogsgame
@dogsgame 7 жыл бұрын
Loved this video...the part with "Master"...really funny :)). Thanks for sharing the knowledge and regards from Romania :)
@michaelnewman9645
@michaelnewman9645 9 жыл бұрын
Great tutorials. Clear, concise and easy to follow.
@VBToolbox
@VBToolbox 9 жыл бұрын
Thank you for the positive feedback, Michael! I really appreciate it. :-D
@traybeinlouis7051
@traybeinlouis7051 7 жыл бұрын
Michael Newman ,.
@traybeinlouis7051
@traybeinlouis7051 7 жыл бұрын
we
@shwoopswoop5475
@shwoopswoop5475 9 жыл бұрын
Its good to see you back!
@VBToolbox
@VBToolbox 9 жыл бұрын
Thanks, Shwoop Swoop! :-)
@atpa7963
@atpa7963 9 жыл бұрын
Not only this one, but all tutorials u made are great, they helped me a lot. Thank you so much.
@VBToolbox
@VBToolbox 9 жыл бұрын
Thank you very much for the positive feedback. :-) I'm very happy that the tutorials have been helpful.
@scotolivera8207
@scotolivera8207 4 жыл бұрын
Thanks a lot for taking the time to make this video.
@chrism4993
@chrism4993 8 жыл бұрын
lol, I'm actually watching your video over as we speak, I just started taking VB and everything was really simple at first and then it literally went from stupid easy to I'm really stupid and now I'm completely lost, we went from Boolean one week to If, Then Else statements the following week, and that's where I got lost, IDK what I'm missing (probably my brain).... This is what I've been doing day and night for the past two and a half weeks and I'm starting to go nuts, anyway thanks for the quick reply and the great videos...Greatly Appreciated
@VBToolbox
@VBToolbox 8 жыл бұрын
+Chris M Give it a little time and things will start to click. Exposure and repetition is the key. It won't be long before you're thinking in code. :-D Don't burn yourself out, though. Sometimes you just need to step away a bit and come back with a fresh perspective and then you'll go "Ooooh! That makes sense!" If you need any explanations on anything, please feel free to ask. :-)
@NewLeaf88
@NewLeaf88 9 жыл бұрын
I absolutely love every tutorial you make, you're easy to follow and you speak clearly. I have watched almost all your videos since your first one. I am wondering if you could upload a tutorial on botting with a webbrowser control and possibly in the future, using web requests :). Thanks again for your help! Happy coding!
@VBToolbox
@VBToolbox 9 жыл бұрын
Hey, Sean! Thanks for that encouragement. :-D I dunno about "botting", specifically, but I was working on a couple of WebBrowser tutorials. One may actually be along the lines of what you need since it shows how to interact with with web components in your WebBrowser control - giving you the ability to send information to web forms and launch Click events against objects like buttons and hyperlinks.
@NewLeaf88
@NewLeaf88 9 жыл бұрын
VB Toolbox Thank you :). I look forward to watching that tutorial and learning more about VB.NET. The reason I ask about the "botting" is because I have a software called UBot studio which allows people with little to no programming experience at all to automate things within webbrowsers. But it's very limited in that you need to pay for the pro or dev license to use their image recognition and mulit-threading support tools. But I know with VB.NET this can be done without additional software.
@terryk558
@terryk558 9 жыл бұрын
As usual, great tutorial. I've learned a lot watching your tutorials. I was surprised about one thing. In your Calculate function, you have a number of if statements and then the lonely Return 0. I would have thought that the function would always return 0 assuming that it would go through each statement and the last statement would be the final return.
@VBToolbox
@VBToolbox 9 жыл бұрын
Terry K Thank you, Terry. :-) With functions, the moment a "Return" is hit the function exits and all calls after the moment of the Return are aborted. That means that, if we coded it properly, "Return 0" should actually *never* be called and is really nothing more than a safety net or failsafe in the event that for some reason none of the preceding statements evaluate to true. This makes VB happy with the Function structure. For example, if for some reason "Op" [Add, Subtract, etc.] is ever detected --> Return 0 Of course, we coded it in such a way that this should never happen. Then moment the Operation is detected, one of the "Returns" will be fired and the Function will complete successfully. I hope that makes sense. :-)
@terryk558
@terryk558 9 жыл бұрын
Sure does. Thanks for taking the time to explain!
@chrism4993
@chrism4993 8 жыл бұрын
Hey Great video! I'm new to VB, I just got a quick question, at around the 9 minute mark you created a Private Sub MakeTextBoxCool( ), I been trying to figure out why you made that? and did you name something on the form called MakeTextBoxCool( )? Thanks again for making all these great videos!!
@VBToolbox
@VBToolbox 8 жыл бұрын
+Chris M MakeTextBoxCool() was an example of how you can create a Sub routine with any name. The Subs and Functions can be completely independent of form controls and don't need to be named after any component on your form. From within those routines, however, you can reference or alter any of the items within your form - for example "txtOut.ForeColor".
@peteconstantinos9864
@peteconstantinos9864 7 жыл бұрын
Hello, i was wondering if you could create a tutorial on the DataGridView. i need to initialize the DataGridView with column header size, font and cell alignment and same for the data cells. Also perform some arithmetic to sum of a grid column and place the total into a textbox.
@antidinosaur
@antidinosaur 9 жыл бұрын
The screen in the new videos are too small. Will be nicer if it is the same size as before.
@VBToolbox
@VBToolbox 9 жыл бұрын
Jacob Liang Is it the 1080p? I'm glad that you said something. I was wondering if the 1080p was better or worse, but no one said anything about it. It's certainly nicer for screen space, but it's awful to edit and upload them over my slow internet connection. Maybe I will go back to 720p. I appreciate the feedback.
@antidinosaur
@antidinosaur 9 жыл бұрын
Sadly, it is worse.
@scotolivera8207
@scotolivera8207 4 жыл бұрын
@@VBToolbox perfect for me
小丑妹妹插队被妈妈教训!#小丑#路飞#家庭#搞笑
00:12
家庭搞笑日记
Рет қаралды 36 МЛН
OYUNCAK MİKROFON İLE TRAFİK LAMBASINI DEĞİŞTİRDİ 😱
00:17
Melih Taşçı
Рет қаралды 7 МЛН
LEARN OPENCV C++ in 4 HOURS | Including 3x Projects | Computer Vision
3:57:04
Murtaza's Workshop - Robotics and AI
Рет қаралды 2,5 МЛН
Swift Programming Tutorial for Beginners (Full Tutorial)
3:22:45
CodeWithChris
Рет қаралды 7 МЛН
Kubernetes 101 workshop - complete hands-on
3:56:03
Kubesimplify
Рет қаралды 1,6 МЛН
Build a Realtime Chat App in React Native (tutorial for beginners) 🔴
3:49:50
小丑妹妹插队被妈妈教训!#小丑#路飞#家庭#搞笑
00:12
家庭搞笑日记
Рет қаралды 36 МЛН