Login Register




The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.


Tutorial Basics of Visual Basic 2010 filter_list
Author
Message
Basics of Visual Basic 2010 #1
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
Wavy baby

Reply





Messages In This Thread
Basics of Visual Basic 2010 - by Bannedshee - 12-09-2012, 02:05 AM
RE: Basics of Visual Basic 2010 - by Charon - 12-09-2012, 02:19 AM
RE: Basics of Visual Basic 2010 - by Bannedshee - 12-09-2012, 02:21 AM