zaks
Member
- Joined
- May 5, 2007
- Sythe Gold
- 0
- Messages
- 55
ok.... you got visual basic six and it looks really complicated huh?
im going to show you one of the simplest programs you will ever make..
you will need the following..
(1. 1 command box (the blank button looking thing)
(2. 1 label (the big "A")
----------
step 1 make a new .exe
step 2 make a new label (stretch it across the form that you just made)
step 3 make a command button any size will do
step 4 click back on the lable rename it " lblHelloworld " and erase the caption
step 5 click back on the command button rename it " cmdhelloworld " type hello world in the caption
step 6 ok heres the hardest part and its easy
double click the command button that you just renamed to cmdhelloworld you should see this
all you have to do is click in the empty space between the two and add this
it will look like this
step 7 run the form (press F5) then click your Command button and watch what you created
step 8 play around with it and see what happens
-----------------------------------------------
yep its that easy
im going to show you one of the simplest programs you will ever make..
you will need the following..
(1. 1 command box (the blank button looking thing)
(2. 1 label (the big "A")
----------
step 1 make a new .exe
step 2 make a new label (stretch it across the form that you just made)
step 3 make a command button any size will do
step 4 click back on the lable rename it " lblHelloworld " and erase the caption
step 5 click back on the command button rename it " cmdhelloworld " type hello world in the caption
step 6 ok heres the hardest part and its easy
Code:
Private Sub cmdhello_Click()
End Sub
Code:
lblhelloworld.caption = "Your Text Here, it's that easy"
Code:
Private Sub cndhello_Click()
lblhelloworld.Caption = "Your Text Here, it's that easy"
End Sub
step 7 run the form (press F5) then click your Command button and watch what you created
step 8 play around with it and see what happens
-----------------------------------------------
yep its that easy
















