A. familiar ms visual basic 6.0
Ms-Visual Basic 6.0 is a programming language that works within the scope of
Ms-Windows. Ms-visual Basic 6.0 can take advantage of the ability Ms-Windows in
an optimal.
a. begin ms visual basic 6.0 program
Ms Visual basic 6.0 to start doing the following steps in:
1. Click icon to start the operating system ms windows.
2. Navigate to Programs, moving with the Microsoft Visual Basic 6.0, and then
select the Visual Basic 6.0.
3. Select the icon VB Control Enterprise Edition or Professional Edition VB
Controls.
4. Select File and then New Project.
b. basic view ms visual basic 6.0
For the early stage using MS-Visual Basic 6.0 must be regulated in order to
look similar to or equal to the toolbar display components, equipment,
projects, properties and form layout. If one of these components do not
appear on the screen, you can take by selecting the View menu and click the
component that will be displayed.
c. general steps to make an application program
This first programmed will be not reviewed in detail because the intended to
help understand at a glance the capacity and the means to create applications
with MS-Visual Basic 6.0. General to create application programs steps are as
follows:
1. Fig components and layout window form using devices in the Toolbox window
layout.
2. Find the property for each component by using the Properties window.
3. Write the source code of the event (something that felt objects, such a
point, click, or other events) associated with each component.
d. store application programs
To create the first example of an application program, follow these steps:
1. Double-click on the form to the project window appears a Form1, which
moved by double-clicking Form1 in writing, so that they appear on the
display screen Form1.
2. Command button icon weaving.
3. Click and hold, and drag, or drag in a window with a diagonal direction to
form an object or command1 button.
4. In the Properties window, fill the title with words earlier.
5. Create three text boxes. This time using a different way, the only
double-click on the icon three times a Textbox.
6. Empty the contents of the text in three text boxes to delete the contents
of text fields in the Properties window.
7. Create a timer by double clicking the timer object is located Timer.
Object be everywhere, because at the time of the request, the object will
be step display on the screen.
8. Double click the Command1 button or click the Start button that appears
editor and add the contents of the program source code.
9. Click objects list box and select Timer. Will appear insert the code for
the event countdown. Write the code of its programmed.
10. At this point, which makes the application program is complete. Close the
program code editor window by clicking the close button or the form of a
cross on the top right-hand corner of the program editor code window. to
store application programs application programs trying to run, preferably
in the reserve. How to save is to click on the icon in the form of a
floppy disk. Files stored composed of two parts, namely the form and
project files. Give the name of both the Cont01 name.
Selasa, 24 November 2009
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar