Visual Basic Tutorial#1 Hello World.
To create a Hello World Program you'll need your form and one button
Double Click the button
And Type
Messagebox.Show ("Hello World")
or simple way
MsgBox ("Hello World")
That's how you create a hello world program on vb.net :)
Dec 9, 2014 05:47 AM
(This post was last modified: Dec 9, 2014 05:48 AM by markzuckerberg.)
ok thanks you helped me it is so useful i will use this later 😏
Dec 9, 2014 06:09 AM
(This post was last modified: Dec 9, 2014 06:29 AM by Corios.)
They should be starting in a console application, not a windows form. Don't use MsgBox. This isn't a tutorial, you didn't actually explain anything. What does 'Message' do (that isn't even a thing, or at least this context), and how does it do it? Why does double clicking the button make it magically work?
Agree with Corios, if you're going to do beginner tutorials, start with console applications. Windows forms are a bit more advanced if you don't use all these automated helping tools. Also explain what you do, and why you do it.
Don't learn people to c+p, learn them to code.
Good job OP, you failed with the most simple tutorial.
hi sir,
can you include latest installer vb?
thanks in advance,this is informative on newbie like me :)
OP, good tutorial for the beginners but you messed up on one part lol.
Messagebox.Show("YOUR TEXT HERE")
(Dec 9, 2014 06:38 AM)alma143 Wrote: hi sir,
can you include latest installer vb?
thanks in advance,this is informative on newbie like me :)
God man please: lmgtfy(DOT)com/?q=Visual+studio+2013
You could also just google how to call a messagebox. Microsoft would give you a much more detailed description of parameters and such.
DO NOT DEAL WITH THIS MEMBER
(Dec 9, 2014 06:42 AM)Image™ Wrote: OP, good tutorial for the beginners
What are you talking about? This is an awful tutorial. He's teaching the newbies an incredibly bad habit.
Dec 9, 2014 06:51 AM
(This post was last modified: Dec 9, 2014 08:36 AM by Nervo.)
(Dec 9, 2014 06:45 AM)Odus Wrote: What are you talking about? This is an awful tutorial. He's teaching the newbies an incredibly bad habit.
Not just bad habit, his code doesn't even work. Besides, posting tutorial like this is pretty much pointless since this can be found on google in a second.
"Never be a spectator of unfairness or stupidity. Seek out argument and disputation for their own sake; the grave will supply plenty of time for silence." - C.H.
|