Sinisterly
Tutorial Basics of Visual Basic 2010 - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Hacking (https://sinister.ly/Forum-Hacking)
+--- Forum: Tutorials (https://sinister.ly/Forum-Tutorials)
+--- Thread: Tutorial Basics of Visual Basic 2010 (/Thread-Tutorial-Basics-of-Visual-Basic-2010)



Basics of Visual Basic 2010 - Bannedshee - 12-09-2012

Hey everybody! This is a simple tutorial on VB basics.

So first you need to learn what classes are. A class is basically a part of the code that only commences the code between Private/Public Sub and End Sub. A private sub means that the "Sub" can only be accessed by itself, a public means it could be accessed by anything.

Then comes variables which are declared by the Dim function. For example Dim Name as
Integer. This declared a variable named name and it only consist of integers(+ and - numbers).

Now lets talk about the if statement. If is used if you want something to happen and something else to happen depending on something. Kind of confusing but yeah Tongue. Example: If name = 2 then
Me.Close

This is saying, if the name variable is equal to 2, then close the program.

There is much more to be discussed. But this would explain more, feel free to pm me or post here for extra help Smile
Link: http://www.vbtutor.net/vb2010/index.html



RE: Basics of Visual Basic 2010 - Charon - 12-09-2012

Nice short tutorial, Cyber!

Keep it up, too bad I'm not into VB anymore or else I could've surely use your help.


RE: Basics of Visual Basic 2010 - Bannedshee - 12-09-2012

(12-09-2012, 02:19 AM)INST1NCT Wrote: Nice short tutorial, Cyber!

Keep it up, too bad I'm not into VB anymore or else I could've surely use your help.

No problem Biggrin VB is really good for beginner coders so yea VB probably isnt the right coding lang for you XD