|
In this section, we are not going into the technical aspect of VB programming, just have a feel of it and now, you can try out the examples below:
Example below is a simple program and first of all, you have to launch Microsoft Visual Basic. Normally,to start your new project,a default form Form1 will be available for you. Now, double click on form1 and then the source code window for form1 will appear. Don't worry about the begining and the end statements(i.e Private Sub Form_Load.......End Sub.) and then just key in the lines in between the above two statements exactly as are shown here.When you run the program, you will be surprise that nothing shown up and in order to display the output of the program, you have to add the Form1.show statement like in Example 1,Example 2 and Example 3. Try it out.
|