Now that you know how to create a Standard
EXE Project, the first program that is traditionally made is the
'Hello World' program. Here is how you do it with Visual Basic 6.0:
1. On the General combo box of the code window, choose Form and the following text
will appear:
Private
Sub Form_Load()
End Sub
2. Between these two lines, type:
MsgBox "Hello
World"
Unload Me
The MsgBox function displays a message box with 'Hello World' as
its caption. The line underneath - Unload Me, unloads (closes) the
program.
3. Press F5 to start the program and the following dialog box
will appear:
4. Congratulations, you have made your first program and can now
be called a programmer!
this is a very good and assential work for us.because iam still student of
higher national diploma in engineering institute.vb programs very
essential for us.so I like to thanks all of you.
I think u r doing a g8 job explaining things in so simple manner 4beginners like me.Thanks a tonne.Please send me some typical programs on my mail id which i can try myself.that will gimme self confidence.
sir...
i would like to express my gratitude for a really cool site especially for beginners like me..i really appreciate it.its a great help for me because im just a student learning the basics of vb..:)
If you are looking for good tutorials dont bug him, hes just trying to teach beginners, dont go off on him for having a small program.Instead of looking at tutorials why dont you get off your lazy asses and explore visual basic.
it is a very great for beginners but i would like to get more stuff and toturials and if you can give me some code examples so i can learn much better cause i want to be a programmer to program some programs that are very usefful for people thanks and i hope you give some codes and toturials via email ok thanks....
good to complete my first vb program and to be called as a programmer
From:
anonymous <None>
Date:
Thursday, January 13, 2005 at 21:45:17
Comments:
Well didn't know you could type that little of code and get a message box. I didn't just because you make simple programs you could call your self a programmer.
Thanks I will try it!
I WAS SO GLAD WHEN I FOUND OUT THAT I HAD REALLY MADE A PROGRAM I WOULD REALLY LIKE TO MAKE MORE PLEASE SEND ME SOME MORE ON MY EMAIL.
From:
bob
Date:
Tuesday, November 23, 2004 at 20:43:37
Comments:
Well I think they are well explained, easy-to-use tutorials for beginners, good job :)
From:
--=The X-Ploitor=-- <Secret>
Date:
Friday, October 29, 2004 at 20:33:06
Comments:
To be honest , these tutorials are really worthless !
Like , if you do spent your time on the net make`in tutorials on VB , why can`t you write something usefull ? Like a remote Port Scanner or somethin ?
This stuff you are writing , even noobZ can come up with that ! Write cool tutorials ! Like FTP`erz , port scanners , database developpment etc.
I think the Hello World MsgBox is a goodway to get beginners into any programing app. I just don't understand this guy with " I made a Media Player for my first app" Don't thinkso DUDE. GREAT SITE HERE KEEP UP THE GOOD WORK!
You see there are some ppl in this world who are greedy pigs....well what they want is that no 1 should share the knowledge of this world. One of these ppl is some1 who posted their view on this site and that person is as he put his name Dark_Vision. Well Dark Minded being here is your answer don't feel jalous this man did a great job, instead of showing you could do frmForm.show stuff like that why can't u come up with something like this, this is A GREAT MAN'S JOB. MR MARTIN PERSONALLY I THANK YOU FOR WHAT U DID. PLEASE FORGIVE SOME1 LIKE DARK VISION FOR HE TRULLY SPOKE ABOUT HIM/HER SELF ON THEIR NAME "DARK VISION" sorry Dark_Vision the world aint dark any more. Welcome to the bright world. Martin once again thankx man keep up the great work. And may your God Reward you.
That was your first application hmmmm most of the simple coding is common sense like opening another form, form2.show ' simple. My first application was a media player.
Reply:
You are missing the point. The above code is for someone who
knows absolutely nothing about Visual Basic 6.0. I'm sure you
learnt the MsgBox function before you made your Media Player.
you see this is what i need something that takes you to the basics of vb.
at the minute im designing a program for my hnc and this site has been a great help.
if you can offer any other help please feel free to send any ideas. thanks
Can you send me a simple program through my email add, give some example used as a Visual Basic.
Will give me some exampe used in a Visual Basic Program
i hope you for give my message.
Thank You
Reply:
There are hundreds of example projects available from this website: