|
Learn Step-by-step how to write
the application - work_VBNet_10 developed with Microsoft
Visual Basic .Net.
Classes used
in this Application: 1- DataSet,
Toolbar, TabControl,, ComboBox,
MainMenu, Timer, PictureBox,
Label, TextBox, Button,
ScrolBar, Check Box, Radio Box, ImageList, ListBox DataGrid and
...
2- Logical Classes : OleDbConnection,
OleDbDataAdapter, OleDbCommand
- Name -
work_VBNet_10.
- Calculator and
Database Software.
- Developed with
Microsoft Visual Basic .Net.
- Uses the
Microsoft Access database file -
work_VBNet.mdb.
The
work_VBNet database file stores 2 tables: book
and agenda
- Project -
work_VBNet_10 and
those items
this application
work_VBNet_10
consist of
10 forms. |
 | |
- Requirements:
Microsoft Visual Studio .Net.
If you want to run it:
- Remove the
read-only attribute of all files in the
folder -
C:\work_VBNet_10
- Run the
Microsoft Visual Studio 2010 Professional.
- From
File menu, choose Open
then choose
Project/Solution, the
Open Project dialog box
appears, select the
work_VBNet_10 project file -Type:
Microsoft Visual Studio Solution
(C:\work_VBNet_10\work_VBNet_10.sln)
and then click Open.
- From
Debug menu, choose and click
Start Debugging.
| |
After running, you can observe the following
Forms design ...:
The design
.. |
 |
List of Functions ...
From Tools
menu, to
call the following Forms
calculator, book note, agemda, introductory and about
From exit
menu, to
unload the current project
From the toolbar, to
call the following Forms
calculator, book note, agemda,
introductory and about
From the group of
pictures, to
call the following Forms
calculator, book note, agemda, introductory and
about | |
|
|
|
The
design ... |
|

|
|
List of Functions ...
Calculator
functions with 2 windows ....
To
display the detail
operation .... - (Click thebutton
detail) | |
| |
|
|
1. |
book_note.vb |
|
|
The
design ... |
|

|
|
List of Functions ...
data form,
uses the Microsoft Access
database file - work_VBNet.mdb.
The work_VBNet database file
stores the table -
book. Each record consists of 25 fields, and
stores detail information data and
picture corresponding to the member of
the book note
the book note
record stores the name, birth,
address, post-address, telephone
numbers, email and web address
Functions:
navigation -
(First, previous, Next, Last),
add new record, modify,
Save,
Search, Close
Sub Functions
: Add and remove
picture - this sub
functions work only with Functions - add new
record and modify
To
unload the current Form. -
(Click the
close)
| |
|
|
2. |
book_search.vb |
|
|
The
design ... |
|

|
|
List of Functions
...
To
search by
: name,
first name, father name, country, city -
from these comboboxes
corresponding select any words and then
click the button search. All records
of the book Table
include these words you
specified, will appears in the datagrid
control, select one datagrid item and click
OK button. Systen unload this
form and this record appears at the Form
book_note.
To
search by phone
no - Type
any phone number at the box
corresponding - ( repeat the procedure described
at the previous point)
To
unload the current Form. -
(Click the button
Cancel) | |
|
| |
|
|
1. |
agenda.vb |
|
|
The
design ... |
|

|
|
This Form stores 2
types of agenda : task and appointment
agenda. every agenda stores 25
items
data form,
uses the Microsoft Access
database file - work_VBNet.mdb.
The work_VBNet database file
stores the table -
agenda. Each record consists of 13
fields, and stores detail information
data corresponding to the member of
the agenda
List of
Functions ...
Add,
Edit and delete items to the
part task agenda.
Add, Edit and delete items to the
part appointment agenda for
specific date.
To
unload the current
Form. - (Click the button
Ok)
| |
|
| |
|
|
2. |
agenda_task.vb |
|
|
The
design ... |
|

|
|
Uses this form to Add
or Edit item with task
prirority to the form agenda
at the part task List
of Functions ...
After add
or modify data click Ok
button. Systen unload
this form and this item appears at the Form
agenda (task part) ...
To
unload the
current Form. - (Click the button
Cancel
) |
|
| |
|
|
3. |
agenda_appoint.vb |
|
|
The design ... |
|

|
|
Uses this form to Add or Edit
item with specific time
to the form agenda at
the part appointment
List of Functions ...
After add
or modify data with
specific time click Ok
button.Systen unload
this form and this item appears at the Form
agenda (appointment part) appears
this item ...
To
unload the
current Form. - (Click the button
Cancel
) |
|
|
|
agenda_time.vb |
|
The design ... |
|

|
|
Uses this form
to add and display specific day time
to the agenda_task form
| |
|
| |
|
The design ... |
 |
List of Functions...
To
unload the
current Form. - (Click the button
Done
) | | | |
|
|
The design
... |

|
List of Functions ...
Animation.
General Info ....
Information data,
about PC - (Click the button detail,
to show this information
)
To
unload the
current Form. - (Click the button
Done
) | | | |
|
|
|
| |
|