Xabber
Jun 5th 2007, 6:58 am
OK, I assume this is the first tutorial you are reading for VB [ Visual Basics ]. Once you start up VB standard EXE . You will see form1, let's double click form one. This is what you should have now :
Private Sub Form_Load()
End Sub
Let's change that into :
Private Sub Form_Load()
msgbox "Hello world !", vbokonly, "Tutorial made by Xabber"
End Sub
Press F5 and you should see a message box, click ok and the form will load. We want to end the program after you clicked ok, this is easy. You should have :
Private Sub Form_Load()
msgbox "Hello world !", vbokonly, "Tutorial made by Xabber"
End Sub
Just change it in :
Private Sub Form_Load()
msgbox "Hello world !", vbokonly, "Tutorial made by Xabber"
end
End Sub
The end function simply just ends the program. Well, that's it !
Private Sub Form_Load()
End Sub
Let's change that into :
Private Sub Form_Load()
msgbox "Hello world !", vbokonly, "Tutorial made by Xabber"
End Sub
Press F5 and you should see a message box, click ok and the form will load. We want to end the program after you clicked ok, this is easy. You should have :
Private Sub Form_Load()
msgbox "Hello world !", vbokonly, "Tutorial made by Xabber"
End Sub
Just change it in :
Private Sub Form_Load()
msgbox "Hello world !", vbokonly, "Tutorial made by Xabber"
end
End Sub
The end function simply just ends the program. Well, that's it !