How To Make "Hello World" - VB 6.0

Lesson 1 - VBRoom


Hello Guys,
For The First Lesson 1 on VbRoom Blogs, we can try to make a simple program with Visual Basic 6.0.

And Its Very Easy,
Lets Go!

(see also, Get started with Vb 6.0)

What we need:
OK, Lets Make a Simple Program "Hello Worlds" VB 6.0
Step :
1. Open Your VB
2. You Have 1Form
3. On Form1 :
    - Add CommandButton1 to Form
 
    Form1 Properties :
    - BorderStyle: 1 - Fixed Single
    - Caption      : VBRoom - Hello World
    - Font          : MS Sans Serif
    - Icon          : add your Icon ( *.ico)

 ________________________________________________________________
    
     Button1 Properties:
    - Caption    : Click Me!
    - Font         : OCR A Extended, 18, Bold


 
  ________________________________________________________________________________

4. Then add Form Again (Form2), Click  Project > Add Form > in New Window, Click Open.

OK Now you have 2 Form on your Project


 ________________________________________________________________

5. On Form2 :
     - add a Label1 and or Label2

    Form2 Properties :
    - BorderStyle: 3 - Fixed Dialog
    - Caption      : VBRoom - Welcome
    - Font           : MS Sans Serif
    - Icon           : add your Icon ( *.ico)

    ___________________________________________________________
    Label Properties :
    - Alignment    : 2 - Center
    - BackStyle     : 0 - Transparent
    - Caption        : HELLO WORLDS!
    - Font            : MS Sans Serif
    - ForeColor     : &H00C00000& (Blue)

_________________________________________________________________

6.  Coding :
     - On Form1, Double Click the Button1 and save this code in the CommandButton1 :
Code:
Private Sub Command1_Click()
Form2.Show
End Sub
_________________________________________________________________________________

7. Here you are finished, you can test it, by clicking the Play () or hit F5

 

_________________________________________________________________________________

8. Finished :
    Make Your .Exe File
 
     
_________________________________________________________________________________

You Can Download The Video Tutorial and or This Project "Hello Worlds" - Made by VBRoom


DOWNLOAD VIDEO TUTORIALS



DOWNLOAD FILES PROJECT



To Ask And Question for This, Please Comment in in Form Comment.
Good luck.
best Regards ....
DindaPhobia .................................. kisses : *


Tags : Hello Word, Visual Basic 6.0, Visual, Basic, bagaimana cara membuat Hello World menggunakan Visual basic, belajar Visual basic, Basic Info, Tutorial Visual Basic, VB 6.0 VB 2010, Free Download Project Visual BAsic, Pemograman dasar.

download note
Link download in a picture Download button.

     * You Will be redirected to the site adf.ly
     wait 5 seconds until there is written SKIP AD at the top right of your monitor.
     click > SKIP AD < to continue.


 
Tested by: DindaPhobia
( in Windows XP SP3 - X-Gamer )
All software and applications as well any files on this site are based on experience and tried and Executed by the author,
in Windows XP

Please Trace / Copy - Paste my article if it can be beneficial, however if you do not mind
"DON'T FORGET TO INCLUDE CREDITS!!"
Thank you.
dp _



Related Post



0 comments:

Post a Comment

Enter Your Comment For This Post.
Please Do not SPAM!