Post on 03-Apr-2018
transcript
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 1/91
A Major Project
On
“COLLEGE MANAGEMENT”
For Partial Fulfillment of Diploma Course
SUBMITTED TO: SUBMITTED BY:
Er. Aman Deep Garg PANKAJ SHARMA
Project In-Charge 100799029239
REGIONAL POLYTECHNIC COLLEGE
BEHMAN DIWANA, BATHINDA
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 2/91
ACKNOWLEDGEMENT
The submission of this project gives both of us an opportunity to convey our gratitude to
all those who have helped us reach a stage where we have immense confidence to
launch our career in the competitive world of information technology.
We have no second thought in admitting that it is our respected Lecturers who have
played a significant role in shaping our career and we would be miserably failing in our
duty if we don’ extend our heart filled gratitude and sincere acknowledgement to our
project guide Er. Aman Deep Gerg, who has been a source of perpetual inspiration to
us, gently guiding and paving our way towards a bright career. Both were ever willing to
give us all kind of support and encouragement. We are also very thankful to both for
being an inspired project in charge and for providing necessary help throughout our
project work. We also want to thank who helped us a lot during the complete project by
giving us his precious time.
And in the end we would like to thank our parents and the almighty God for all the things
that they did to us.
Pankaj Sharma
100799029239
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 3/91
CERTIFICATE
It is certified that all these Final
year, Computer Engineering students of PDM Institute of Engineering & Technology have completed their minor project “COLLEGE
MANAGEMENT” successfully on time. I found them sincere & hardworking. Their
performance during this project development period is excellent & I wish all of them successful
carriers.
Er. Aman Deep Garg
Project In –charge
PANKAJ SHARMA
100799029239
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 4/91
Table of Contents
• Introduction………………………………………………………….…...….
•
Introducing College Management……………….…………………...….......• System Analysis…………………………………… ….………..……..…
• Requirement Specification……………………………....................................
• Design Specification…………………………………………………........
• Software Engineering Paradigm Applied for the system……………........
• Introduction to VISUAL BASIC 6.0……………………………........…...
• Introduction to MS ACCESS 2003……………...…………….………….
• Project Output………………………………………………….………....
• DataBase Table………………………………………………....…….......
• Coding...……………………………………………………………..........
• Testing........................................................................................................
• Future Scope……………………………………………………….…………
• Limitation of Project……………………………………………....…....….…
• References………………………………………………………..…...………
• Bibliography……………………………………………………........…...…..
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 5/91
INTRODUCTION
1.1 Abstract :
The project “COLLEGE MANAGEMENT” is made to use that management working in
P.D.M.I.E.T. COLLEGE. This Project is help full to Register of New records into the
“COLLEGE”. This Project Contain mainly following section:-
• VIEW SECTION.
•
ALTER SECTION• STAFF INFORMATION.
• STUDENT INFORMATION.
• TIME-TABLE INFORMATION.
• STAFF RECORDS(ADD / MODIFY / DELETE)
• STUDENT RECORDS(ADD / MODIFY / DELETE)
• ATTENDENCE RECORDS(ADD / MODIFY / DELETE).
The upper “EIGHT” Forms are mainly used in this project. View Section is used to view the
information of staff and student and Alter Section is used to modify the records.In staff
information we saw the genral and salary of staff member.In student information we are able to
saw his/her recods about their performance ,fees and attendance. In “TIME TABLE”Section we
can see the lecture of all branches. IF a new lecturer is appointed to college we can add its
genral information by using alter section. IF a new Student is addmited to college we can add its
genral information by using alter section. By using the attendance section we can see the
monthly attendance of the student and also prepare monthly attendence percentage.
The Software VISUAL BASIC 6.0 is used as front end for the designing and programming and
to create user friendly GUI forms. Microsoft Access 2003 is used as backend to create the data
tables required to store the information. At present there is no such system which helps in
addition, ensure, alteration and demonstration of information to the client. So this system
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 6/91
facilitates us to perform all these functions rather straightforwardly with no supplementary
specialization required.
1.2 Scope :
• The project stores all the information about the staff and students.
• The management must be able to get details of all their information after storing.
• It is simple to use and it is Graphical user interface.
• The management can also be able to modify the information.
• It has self explanatory form.
• Management can check all the information of any staff member and student.
• It is user friendly.
• It is very easy to modify .
1.3 Platform :
This project has been developed in one of the most popular and user friendly Microsoft
Windows’ environment. The following components are also used for a successful user friendly
effective development of this project:
1. FRONT END:- VISUAL BASIC .
2. BACK END:-MS ACCESS 2003.
1.4 Methodology :
The following approach is used to design this system, which is called "classic life cycle" or
"Waterfall model". This linear sequential model suggests a sequential, systematic approach to
system development that begins at the system level and progress through the analysis, design,
coding, testing and maintenance. The linear sequential model encompasses the following
activities:
1. System/ Information engineering and modeling.
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 7/91
2. System requirement analysis
3. Design
4. Code generation
5. Testing
6. Maintenance
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 8/91
WATER FALL MODEL
These above phases mark the progress of a system analysis and design effort. It is an orderly set
of activities conducted and planned for each development project. In most business situations the
activities are closely related, usually inseparable, and even the order may be difficult to
determine.
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 9/91
INTRODUCTION TO COLLEGE MANAGEMENT
COLLEGE MANAGEMENT:--
This project(College Management) is made into the VISUAL BASIC 6.0 .It is used to modify
/ add / delete.The data into the project after submission is store into the MS ACCESS 2003.
. This Project Contain mainly following forms:-
1 VIEW SECTION.
• ALTER SECTION
• STAFF INFORMATION.
• STUDENT INFORMATION.
• TIME-TABLE INFORMATION.
• STAFF RECORDS(ADD / MODIFY / DELETE)
• STUDENT RECORDS(ADD / MODIFY / DELETE)
• ATTENDENCE RECORDS(ADD / MODIFY / DELETE).
Detail of these forms…………
VIEW SECTION:- .
View Section is used to view the student and staff information their
salary information, genral information, attendance information of student.We can check the
semester wise information of student. We can also find the student who have not deposit
their fees at time. . This form is fill by the user in alter section and user can see its data in
view section..On this form there is a commend button by which we can select an id to see
information . In this form there is some text boxes, command buttons, labels, , combo box .
TEXT BOX:-A text box is use to receive the information from the user by typing into it. A text
box generally used in conjunction with a label
LABEL :-A label is a control used to display text on the form. The value of label button will be
given on design time or can be change on the run time.
COMMAND BUTTON:-A command button is used to initiate an action when user clicks on it.
The code for the action to be performed is provide by the programmer
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 10/91
COMBO BOX:-It is Similar to the list box. Most of what you know about list box will apply to
combo boxes. Item are added, Remove and clear with the add item, remove item and clear
method.
The user can fill following Fields
• Name
• Address
• Phone No
• Sem.
• Branch
• F.Name
• Roll No.
•Sex etc.
2. ALTER SECTION:- Alter section is used to add the genral,fees,attendances,result
information accoring to their needs.Manegement can add,modify,delete the information about
their staff.Lecter can add monthly attendensce.
• E-id
• Name
• Depdt. Name.
• Designation
• Salary
• Date of Joining
• Qualification
• Sex
• Age
• Add.
SYSTEM ANALYSIS
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 11/91
3.1 IDENTIFICATION OF NEED
This Project is use to store information of new visitors.
Into past the data will be stored into the conventional file system and it is very costly and time
consuming. IN today time have very importance. so, to save our time and money we need this
project .Because this project is used into the computer and store information into the memory of
computer, and save our TIME and MONEY.
3.2 PROBLEM ANALYSIS
Problem analysis is done to obtain a clear understanding of the needs of the users and what
exactly is desired from the software information and documentation and so forth. One of the
major problems during analysis is how to organize the information obtained that can be
effectively evaluated for completeness and consistency. Second major during analysis is
resolving the contradiction that may exists in the information from different sources.
3.3 FEASIBILITY ANALYSIS
Feasibility of a system refers to the potentiality and workability of the system. A system is said to
be a feasible one if its development is beneficial to an organization.
Feasibility analysis is the process of analyzing the system so as to determine whether would be
feasible or not. Feasible analysis should be performed throughout the system development life
cycle.
3.4 FEASIBILITY CHECKPOINTS
Feasibility study is done at various points in the system development life cycle. The scope and
complexity of an apparently feasible project can change after the current problems are fully
understood, after the end-user’s needs have been defined in detail, or after the technical
requirements have been established. The project feasible at one stage may become infeasible or
less feasible at any other checkpoint.
Various checkpoints in the system development life cycle where feasibility study is performed
are:
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 12/91
1. Survey phase checkpoint
2. Study phase checkpoint
3. Selection phase checkpoint
4. Acquisition phase checkpoint
5. Design phase checkpoint
3.5 Hardware Requirements
Processor
Pentium-IV
RAM
256
MB
Hard Disk
40 GB
3.6 Software Requirements
Front End VISUAL BASIC 6.0
Back End MICROSOFT ACCESS 2003.
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 13/91
REQUIREMENT SPECIFICATION
4.1 OUTCOME OF REQUIREMENT ANALYSIS (SRS)
1) There should some password validation to allow only authorized users to access
the system.
2) It will fulfill the perspective request of every user according to their requirements.
3) The administrator can also login from client side and can do all type of updation.
4) The administrator can do testing of server’s working as a client.
DESIGN SPECIFICATION
System design is the first step in software development, which needs careful and intricate
planning. It helps us to prepare detailed technical design of the application-based system. It is
based on Requirement Analysis. It provides the specification and design for system giving a brief
overview of user functions, requirements and their actual implementation.
5.1 DESIGN OBJECTIVES : The goal that was kept in mind while designing the system are:
• To make the system user friendly as much as possible.
• To make the flow of program comprehensible to the user.
• To have transparency in work i.e. show how everything is being
done by the system stepwise.
5.2 DATA FLOW DIAGRAM:
The DFD serve these purposes:
• A D.F.D. clarifies system requirements and identifies transformations that will become
programs in system design.
• It is the starting point of design phase that functionally decomposes the requirements
down to the lowest level of detail.
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 14/91
Register User
5.3 ARCHITECTURAL DESIGN
Architectural design represents the data structure and program components that are required to
build the computer based system. It consider the structures and properties
Of the components that constitute the system and relationship that exist between all architectural
components of the system.
5.4 PROCEDURAL DESIGN
Procedural design or component level design occur after data, architectural, and interface design
have been established. The intent is to translate the design model into operational software. But the
level of abstraction of the existing design model is relatively high, and the abstraction level of the
operational program is low.
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 15/91
SOFTWARE ENGINEERING PARADIGM APLIED FOR THE
SYSTEM
For this project we have used the incremental model paradigm. Because the company needs to
add functionality as per the need. We choose incremental model because this model combines
elements of the linear sequential model or water fall model (applied repetitively) with the
iterative philosophy.
When an increment model is used, the first increment is often a core product. That is basic
requirements are addressed, but many supplementary features (some known, other unknown)
remain undelivered. The core product is used by the customer and as a result of use and
evaluation; a plan is developed for the next increment.
6.1 Code efficiency
With the help of data abstraction it tried to reduce the code size as much as possible. The
information flow is made through arguments and returned values and global variables are
avoided as much as possible. Coding is maintained in terms of hierarchy of classes and can be
extended to greater code readability.
6.2 Optimization of Code
Optimization of code means improvement in performance to maximum extent.
Optimization coding is done in terms of multithreading software development. The design is
flexible as it permits the execution of the processes in simultaneous manner. The OOPS code is
more manageable. The server software is optimized to the best utilization of resources such as
CPU and main memory.
6.3 Validation check
In the software design, special attention is given to the validation of the data entry. All the
data entry is done keeping the validation check in mind. All the fields are checked for
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 16/91
consistency and integrity of the data. The module interfaces are checked for argument validation
and returned values. The validation is done in such an appropriate manner, so that invalid data
entry can be fully denied.
6.4 SYSTEM SECURITY MEASURES
In the development and operation of the software is protected against the intentional
disclosures. Various types of security provisions are applied so that unauthorized users can not
enter the system. The system is protected with individual password provision. The requisite
condition for using system is that you must be the valid (authorized) user of the system.
Introduction to VISUAL BASIC 6.0:
7.1 The Development Environment
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 17/91
Earning the ins and outs of the Development Environment before you learn visual basic is
somewhat like learning for a test you must know where all the functions belong and what their
purpose is. First we will start with
7.1.1 labeling the development environment.
The above diagram shows the development environment with all the important points labeled. Many ofVisual basic functions work similar to Microsoft word eg the Tool Bar and the toolbox is similar to other
products on the market, which work off a single click then drag the width of the object required. The
Tool Box contains the control you placed on the form window. All of the controls that appear on the Tool
Box controls on the above picture never runs out of controls as soon as you place one on the form
another awaits you on the Tool Box ready to be placed as needed.
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 18/91
7.2 The project explorer window
The Project explorer window gives you a tree-structured view of all the files inserted into the
application. You can expand these and collapse branches of the views to get more or less detail (Project
explorer). The project explorer window displays forms, modules or other separators, which are
supported by the visual basic like classes and Advanced Modules. If you want to select a form on its
own simply double click on the project explorer window for a more detailed look. And
It will display it where the Default form is located.
7.3 Properties Window
Some programmers prefer the Categorisized view of the properties window. By defaulting, the
properties window displays its properties alphabetically (with the exception of the name value)
when you click on the categorized button the window changes to left picture.
7.3.1 The Default Layout
When we start Visual Basic, we are provided with a VB project. A VB project is a collection of the
following modules and files.
• The global module (that contains declaration and procedures)
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 19/91
• The form module (that contains the graphic elements of the VB application along with the
instruction)
• The general module (that generally contains general-purpose instructions not pertaining to
anything graphic on-screen)
• The class module (that contains the defining characteristics of a class, including its properties
and methods)
• The resource files (that allows you to collect all of the texts and bitmaps for an application in one
place)
On start up, Visual Basic will displays the following windows:
• The Blank Form window
• The Project window
7.4Understanding the tool box.
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 20/91
You may have noticed that when you click on different controls the Properties Window changes
slightly this is due to different controls having different functions. Therefore more options are
needed for example if you had a picture then you want to
Show an image. But if you wanted to open a Internet connection you would have to fill in the
remote host and other such settings. When you use the command () you will find that a new set
of properties come up the following will provide
7.5 Opening an existing Visual Basic project.
Microsoft has included some freebies with visual basic to show its capabilities and functions.
Dismantling or modifying these sample projects is a good way to understand what is happening
at runtime. These files can be located at your default directory /SAMPLES/
To Open these projects choose 'Open Project' from the 'File' menu. Then Double click on the
samples folder to open the directory then Double click on any project to load it.
7.5.1 Opening a new visual basic file & Inserting Source code.
From looking at the examples it time to make your own application. Choose 'New Project' from
the 'File' menu. Use the blank form1 to design a simple interface for an estate agents database,
have some textboxes for names and other details. Insert some controls and make it look
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 21/91
professional. Textboxes can be used to store there name and other details, make sure you put a
picture box in for a picture of the house.
Now insert the following source code for your application.
Private Sub Form_Load ()
Picture1.Picture = LoadPicture("C:\Program Files\VB\Graphics\Icons\Misc\MISC42.ICO")
End Sub
7.5.2 Running and viewing the project in detail.
Once an application is loaded it can be run by click on the icon from the toolbar, to pause press
and to terminate use .
Once a project is loaded, the name of the form(s) that it contains is displayed in the project
window. To view a form in design mode, select the form required by clicking with
In this example the project has been loaded and the maillist.frm has been selected for viewing.
This Ms Mail example project useds 6 forms and 1 modules.
In Design mode, when the form is viewed, the code attached to any screen object may be inspected
by double clicking on that object. The screen shots below show the interface of the Ms Mail example
(.../samples/Comtool/VBMail/MaiLLST.FRM) to view the code for this form select from the project
window item.
Private Sub SetupOptionForm (BasePic As Control)
BasePic.Top = 0
BasePic.Left = 0
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 22/91
BasePic.Visible = True
BasePic.enabled = True
OKBt.Top = BasePic.Height + 120
Me.width = BasePic.Width + 120
Me.Heigh = OkBt.Top + OkBt.Height + 495
End Sub
Button Properties for reference
,Command Button & labels properties
PRIVATEProperty
Description
Name
The name of the object so you can call it at runtime
Back Color
This specifies the command button's background color. Click the Back Color’s palette down
arrow to see a list of common Windows control colors, you must change this to the style
property from 0 - standard to 1 - graphical
Cancel
Determines whether the command button gets a Click event if the user presses escape
Caption
Holds the text that appears on the command button.
Default
Determines if the command button responds to an enter keypress even if another control has
the focus
Enable
Determines whether the command button is active. Often, you'll change the enable property at
runtime with code to prevent the user pressing the button
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 23/91
Font
Produces a Font dialog box in which you can set the caption's font name , style and size.
Height
Positions the height of the object - can be used for down
Left
Positions the left control - can be used for right
Mouse Pointer
If selected to an icon can change the picture of the mouse pointer over that object
PictureHold's the name of an icon graphic image so that it appears as a picture instead of a Button for
this option to work the graphical tag must be set to 1
Style
This determines if the Command Button appears as a standard windows dialog box or a
graphical image
Tab index
Specifies the order of the command button in tab order
Tab Stop
Whether the object can be tabbed to
7.6 DATA TYPE SUMMARY
Visual Basic recognize following six types of variables as Numeric, String, Boolean, Date,Object, Variant.
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 24/91
NUMERIC
Like other Programming Language Visual Basic provide Numeric Variables. They
are:- Integers, Single, double, Byte, Long, Currency
Integer Variables are used for the Non Fractional Values. It stores values in the range from – 32768to 32767. Long Data type is used for the range –2147483648 to 2147483647. Single Data Type is
used for Fractional Values from –3.402 e 38 to 1.40 e 45. Double Precision Floating Point Numbers
is capable of containing values from –1.797 e 308 to 4.940 e 324 and positive numbers. Currency isused for fixed-point numbers with four decimal digits. It can represent numbers in the range –
922377203685477.5808 to 922377203685477.5807. Byte data type is used for representing numbers
from 0 to 255. String variables are used to store string type data.
BOOLEAN
Boolean Data Type stores True/ False values. Boolean variables are used in testingconditions.
DATE
Date and Time variables are stored internally in a special format, but you don’t need to
know the exact format. Date variables are declared by following statements.
VARIANT
Special Types of Variables declare without any data type treated as variant they are capable
of containing any type of value. If one can ski data type in variable declaration statement then
variable will treated as a variant
INTRODUCTION TO DATABASE:
Definition of Database: A collection of inter- related data stored together without harmful
or unnecessary redundancy to serve multiple applications.
Definition of Database Management System: A collection of inter-related files and set of
ore-written programs that allow users to access and modify these files.
Need of DBMS: DBMS needed in order to eliminate the disadvantage of a file based
system, which are as follows:-
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 25/91
• Data duplication
• No integrity checks
• Accuracy not possible
• Data not secure
• Quick retrieval not possible
Major functions of DBMS: The major functions of DBMS are as follows: -
• Ability to represent inherent data structure
• Ease of use
• Time related performance enhancement
• Minimal cost
• Minimal redundancy
• Search capability
• Integrity
• Data privacy and security
Advantages of DBMS:
• Centralized control
• Data independence allows dynamic changes and growth potential
• Data duplication elimination with controlled redundancy
• Data quality enhanced
• Security enforcement
• Security enforcement possible
Disadvantages of DBMS:
• Problem associated with centralization
• Cost of hardware, software and migration
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 26/91
• Complexity of backup and recovery
Project Output:
LOADING FORM:-
• This is the first form which is firstly appear on the running of
project.
• It contain some information about the project such as:
TOOL USED:
FRONT END:- VISUAL BASIC 6.0.
BACK END:- MS ACCESS 2003.
PROGRAMMER:
9.2Login Form: After sometime a new form is loaded. Its name is loginform. In this form user
name and password is given by the user.
9.3 VIEW SECTION:-
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 27/91
• FORM5-:-
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 28/91
• FORM-6:-
FORM-7
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 29/91
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 30/91
FORM-8
• FORM-9:-
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 31/91
FORM-10:-
FORM-11:-
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 32/91
FORM-12:-
ALTER SECTION:-
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 33/91
FORM-13:-
FORM:-14:-
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 34/91
FORM-15:-
FORM-16:-
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 35/91
FORM -16:-
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 36/91
FORM-17:-
FORM-18:-
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 37/91
FORM-19:-
FORM-20:-
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 38/91
FORM-21:-
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 39/91
FORM-22:-
FORM-23:-
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 40/91
FORM-24:-
FORM-25:-
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 41/91
FORM-26:-
FORM-28:-
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 42/91
FORM-29:-
FORM-30:-
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 43/91
FORM-31:-
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 44/91
FORM-34:-
FORM-34:-
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 45/91
FORM-35:-
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 46/91
FORM35-:-
FORM-35:-
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 47/91
FORM-36:-
FORM-:37-
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 48/91
9.9 About Us Form
This form only give information about the Programmer.
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 49/91
Data Base Tables
10.1 TIME-TABLE (TABLE)
This Application form table. This table contains the fields—
SESSION which describe the year. SR NO is provided as primary key and it describes the Sr no of the form., STUDENT ID which contains the id of that student, LAST DATE contains the Last date
for receipt of compete Application Form .NAME OF COLLEGE contains Name of the college in
which student take admission. BRANCH NO contain the number of the branch .DATE OF ISSUE
contain the date of submission of form.
NAME OF STUDENT contain the name of the student. F’NAME contain name of father.
M’NAME contain name of mother. NAME OF COURSE contain the name of the branch.
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 50/91
10.2 RESULT TABLE:-
SALARY TABLE:-
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 51/91
FEES INFORMATION TABLE:-
GENERAL INFORMATION:-
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 52/91
STAFF INFORMATION:-
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 53/91
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 54/91
1. Coding
Private Sub Command1_Click()
If Text1.Text = "pdmprj" And Text2.Text = "pdmprj" Then
MsgBox "welcome to pdmiet safidon"
Form2.ShowUnload Me
Else
MsgBox "invalid username or password"
End
End If
End Sub
FORM2:Private Sub Command1_Click()
Form3.Show
End Sub
Private Sub Command2_Click()
Dim a, b As String
a = InputBox("enter adminstrator user")
b = InputBox("enter password")
If a = "kundan" And b = "01234" Then
MsgBox "most welcome to alter section"Form8.Show
Else
MsgBox "not authorised person"
Exit Sub
End If
End Sub
Private Sub Command3_Click()
Unload Me
End Sub
Private Sub Command4_Click()
End
End Sub
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 55/91
FORM 3:
Private Sub Command1_Click()
Form5.ShowEnd Sub
Private Sub Command2_Click()
Form4.Show
End Sub
Private Sub Command3_Click()
Form6.Show
End Sub
Private Sub Command4_Click()
Unload Me
End Sub
Private Sub Command5_Click()
End
End Sub
FORM 4
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Command2_Click()
Form37.Show
End Sub
Private Sub Command3_Click()
Form38.Show
End Sub
Private Sub Command3_Click()
Form38.Show
End Sub
Private Sub Command5_Click()
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 56/91
Form40.Show
End Sub
Private Sub Command6_Click()
Unload Me
End Sub
FORM 5
Private Sub Command1_Click()
Form35.Show
End Sub
Private Sub Command2_Click()
Form36.Show
End Sub
Private Sub Command3_Click()
Unload Me
End Sub
Private Sub Command4_Click()
End
End Sub
FORM6
Private Sub Combo1_Click()
Data1.RecordSource = "select * from tt"
Data1.Refresh
Do While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("class") Then
Text1.Text = Data1.Recordset.Fields("fir")
Text2.Text = Data1.Recordset.Fields("sec")
Text3.Text = Data1.Recordset.Fields("trd")
Text4.Text = Data1.Recordset.Fields("frh")
Text5.Text = Data1.Recordset.Fields("ffh")
Text6.Text = Data1.Recordset.Fields("six")
Text7.Text = Data1.Recordset.Fields("sev")
Text8.Text = Data1.Recordset.Fields("egt")
End If
Data1.Recordset.MoveNext
Loop
End Sub
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 57/91
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Command2_Click()
EndEnd Sub
Private Sub Label1_Click()
End Sub
FORM8
Private Sub Command4_Click()
End Sub
Private Sub Command1_Click()
Form9.Show
End Sub
Private Sub Command2_Click()
Form10.Show
End Sub
Private Sub Command6_Click()
End
End Sub
Private Sub Command7_Click()
Unload Me
End Sub
FORM9
Private Sub Command1_Click()
Form11.Show
End Sub
Private Sub Command2_Click()
Form15.Show
End Sub
Private Sub Command5_Click()
Unload Me
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 58/91
End Sub
Private Sub Command6_Click()
End
End Sub
FORM10
Private Sub Command1_Click()
Form19.Show
End Sub
Private Sub Command2_Click()
Form20.Show
End Sub
Private Sub Command3_Click()Form21.Show
End Sub
Private Sub Command4_Click()
Form22.Show
End Sub
Private Sub Command5_Click()
Unload Me
End Sub
Private Sub Command6_Click()
Unload Me
End Sub
FORM-11
Private Sub Combo4_Click()
Combo4.List = Data1.Recordset.f
End Sub
Private Sub Command1_Click()
Form12.Show
End Sub
Private Sub Command2_Click()
Form13.Show
End Sub
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 59/91
Private Sub Command3_Click()
Form14.Show
End Sub
Private Sub Command4_Click()
Unload MeEnd Sub
FORM-12
Private Sub Command1_Click()
Data1.RecordSource = "select * from sinfo"
Data1.Refresh
Data1.Recordset.AddNew
Data1.Recordset.Fields("eid") = CInt(Text1.Text)
Data1.Recordset.Fields("name") = Text2.Text
Data1.Recordset.Fields("dname") = Combo1.TextData1.Recordset.Fields("dest") = Combo2.Text
Data1.Recordset.Fields("sal") = CInt(Text3.Text)
Data1.Recordset.Fields("qli") = Text4.Text
Data1.Recordset.Fields("sex") = Combo3.Text
Data1.Recordset.Fields("age") = CInt(Text5.Text)
Data1.Recordset.Fields("doj") = CDate(Text6.Text)
Data1.Recordset.Fields("add") = Text7.Text
Data1.Recordset.Update
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Label1_Click()
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 60/91
End Sub
FORM-13
Private Sub Combo1_Click()
Data1.RecordSource = ("select * from sinfo")Data1.Refresh
Do While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("eid") Then
Text1.Text = Data1.Recordset.Fields("name")
Text2.Text = Data1.Recordset.Fields("dname")
Text3.Text = Data1.Recordset.Fields("dest")
Text4.Text = Data1.Recordset.Fields("sal")
Text5.Text = Data1.Recordset.Fields("qli")
Text6.Text = Data1.Recordset.Fields("sex")
Text7.Text = Data1.Recordset.Fields("age")
Text8.Text = Data1.Recordset.Fields("doj")Text9.Text = Data1.Recordset.Fields("add")
End If
Data1.Recordset.MoveNext
Loop
End Sub
Private Sub Command1_Click()
Data1.RecordSource = ("select * from sinfo")
Data1.Refresh
Do While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("eid") Then
Data1.Recordset.Edit
Data1.Recordset.Fields("name") = Text1.Text
Data1.Recordset.Fields("dname") = Text2.Text
Data1.Recordset.Fields("dest") = Text3.Text
Data1.Recordset.Fields("sal") = CInt(Text4.Text)
Data1.Recordset.Fields("qli") = Text5.Text
Data1.Recordset.Fields("sex") = Text6.Text
Data1.Recordset.Fields("age") = CInt(Text7.Text)
Data1.Recordset.Fields("doj") = CDate(Text8.Text)
Data1.Recordset.Fields("add") = Text9.Text
Data1.Recordset.Update
End If
Data1.Recordset.MoveNext
Loop
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 61/91
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Form_Load()
Dim a As IntegerData1.RecordSource = "select * from sinfo"
Data1.Refresh
Do While Not Data1.Recordset.EOF
a = Data1.Recordset.Fields("eid")
Combo1.AddItem (a)
Data1.Recordset.MoveNext
Loop
End Sub
Private Sub Label1_Click()
End Sub
FORM 14
Private Sub Combo1_Click()
Data1.RecordSource = ("select * from sinfo")
Data1.Refresh
Do While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("eid") Then
Text1.Text = Data1.Recordset.Fields("name")
Text2.Text = Data1.Recordset.Fields("dname")
Text3.Text = Data1.Recordset.Fields("dest")
Text4.Text = Data1.Recordset.Fields("sal")
Text5.Text = Data1.Recordset.Fields("qli")
Text6.Text = Data1.Recordset.Fields("sex")
Text7.Text = Data1.Recordset.Fields("age")
Text8.Text = Data1.Recordset.Fields("doj")
Text9.Text = Data1.Recordset.Fields("add")
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 62/91
End If
Data1.Recordset.MoveNext
Loop
End Sub
Private Sub Command1_Click()Data1.RecordSource = ("select * from sinfo")
Data1.Refresh
Do While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("eid") Then
Data1.Recordset.Delete
End If
Data1.Recordset.MoveNext
Loop
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Form_Load()
Dim a As Integer
Data1.RecordSource = "select * from sinfo"
Data1.Refresh
Do While Not Data1.Recordset.EOF
a = Data1.Recordset.Fields("eid")
Combo1.AddItem (a)
Data1.Recordset.MoveNext
Loop
End Sub
Private Sub Label1_Click()
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 63/91
End Sub
FORM-15
Private Sub Command1_Click()
Form16.ShowEnd Sub
Private Sub Command2_Click()
Form17.Show
End Sub
Private Sub Command3_Click()
Form18.Show
End Sub
Private Sub Command4_Click()End
End Sub
Private Sub Command5_Click()
Unload Me
End Sub
FORM-16
Private Sub Command1_Click()
Data1.RecordSource = "select * from sal"
Data1.Refresh
Data1.Recordset.AddNew
Data1.Recordset.Fields("eid") = CInt(Combo1.Text)
Data1.Recordset.Fields("bs") = CInt(Text1.Text)
Data1.Recordset.Fields("ta") = CInt(Text2.Text)
Data1.Recordset.Fields("da") = CInt(Text3.Text)
Data1.Recordset.Fields("ha") = CInt(Text4.Text)
Data1.Recordset.Fields("gs") = CInt(Text5.Text)
Data1.Recordset.Fields("ns") = CInt(Text6.Text)
Data1.Recordset.Update
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Combo1.Text = ""
End Sub
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 64/91
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Command3_Click()End
End Sub
Private Sub Form_Load()
Dim a As Integer
Data2.RecordSource = "select * from sinfo"
Data2.Refresh
Do While Not Data2.Recordset.EOF
a = Data2.Recordset.Fields("eid")
Combo1.AddItem (a)
Data2.Recordset.MoveNextLoop
End Sub
Private Sub Label2_Click()
End Sub
FORM -17
Private Sub Combo1_Click()
Data1.RecordSource = ("select * from sal")
Data1.Refresh
Do While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("eid") Then
Text1.Text = Data1.Recordset.Fields("bs")
Text2.Text = Data1.Recordset.Fields("ta")
Text3.Text = Data1.Recordset.Fields("da")
Text4.Text = Data1.Recordset.Fields("ha")
Text5.Text = Data1.Recordset.Fields("gs")
Text6.Text = Data1.Recordset.Fields("ns")
End If
Data1.Recordset.MoveNext
Loop
End Sub
Private Sub Command1_Click()
Data1.RecordSource = ("select * from sal")
Data1.Refresh
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 65/91
Do While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("eid") Then
Data1.Recordset.Edit
Data1.Recordset.Fields("bs") = CInt(Text1.Text)
Data1.Recordset.Fields("ta") = CInt(Text2.Text)
Data1.Recordset.Fields("da") = CInt(Text3.Text)Data1.Recordset.Fields("ha") = CInt(Text4.Text)
Data1.Recordset.Fields("gs") = CInt(Text5.Text)
Data1.Recordset.Fields("ns") = CInt(Text6.Text)
Data1.Recordset.Update
End If
Data1.Recordset.MoveNext
Loop
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""Text5.Text = ""
Text6.Text = ""
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Form_Load()
Dim a As Integer
Data1.RecordSource = "select * from sal"
Data1.Refresh
Do While Not Data1.Recordset.EOF
a = Data1.Recordset.Fields("eid")
Combo1.AddItem (a)
Data1.Recordset.MoveNext
Loop
End Sub
Private Sub Label2_Click()
End Sub
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 66/91
FORM-18
Private Sub Combo1_Click()
Data1.RecordSource = ("select * from sal")
Data1.Refresh
Do While Not Data1.Recordset.EOFIf Combo1.Text = Data1.Recordset.Fields("eid") Then
Text1.Text = Data1.Recordset.Fields("bs")
Text2.Text = Data1.Recordset.Fields("ta")
Text3.Text = Data1.Recordset.Fields("da")
Text4.Text = Data1.Recordset.Fields("ha")
Text5.Text = Data1.Recordset.Fields("gs")
Text6.Text = Data1.Recordset.Fields("ns")
End If
Data1.Recordset.MoveNext
Loop
End Sub
Private Sub Command1_Click()
Data1.RecordSource = ("select * from sal")
Data1.Refresh
Do While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("eid") Then
Data1.Recordset.Delete
End If
Data1.Recordset.MoveNext
Loop
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Form_Load()
Dim a As Integer
Data1.RecordSource = "select * from sal"
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 67/91
Data1.Refresh
Do While Not Data1.Recordset.EOF
a = Data1.Recordset.Fields("eid")
Combo1.AddItem (a)
Data1.Recordset.MoveNext
LoopEnd Sub
Private Sub Label2_Click()
End Sub
FORM-19
Private Sub Command1_Click()
Form23.Show
End Sub
Private Sub Command2_Click()
Form24.Show
End Sub
Private Sub Command3_Click()
Form25.Show
End Sub
Private Sub Command4_Click()
End
End Sub
Private Sub Command5_Click()
Unload Me
End Sub
FORM-20
Private Sub Command1_Click()
Form26.Show
End Sub
Private Sub Command2_Click()
Form27.Show
End Sub
Private Sub Command3_Click()
Form28.Show
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 68/91
End Sub
Private Sub Command4_Click()
End
End Sub
Private Sub Command5_Click()
Unload Me
End Sub
FORM-21
Private Sub Command1_Click()
Form29.Show
End Sub
Private Sub Command2_Click()Form30.Show
End Sub
Private Sub Command3_Click()
Form31.Show
End Sub
Private Sub Command4_Click()
Unload Me
End Sub
Private Sub Command5_Click()
Unload Me
End Sub
FORM-22
Private Sub Command1_Click()
Form32.Show
End Sub
Private Sub Command2_Click()
Form33.Show
End Sub
Private Sub Command3_Click()
Form34.Show
End Sub
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 69/91
Private Sub Command4_Click()
End
End Sub
Private Sub Command5_Click()Unload Me
End Sub
FORM-23
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Command2_Click()
Data1.RecordSource = "select * from sgen"Data1.Refresh
Data1.Recordset.AddNew
Data1.Recordset.Fields("rollno") = CInt(Text1.Text)
Data1.Recordset.Fields("name") = Text2.Text
Data1.Recordset.Fields("fname") = Text3.Text
Data1.Recordset.Fields("Branch") = Combo1.Text
Data1.Recordset.Fields("sem") = Combo2.Text
Data1.Recordset.Fields("sex") = Combo3.Text
Data1.Recordset.Fields("pno") = Int(Text4.Text)
Data1.Recordset.Fields("add") = Text5.Text
Data1.Recordset.Update
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Label1_Click()
End Sub
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 70/91
FORM-24
Private Sub Combo1_Click()
Data1.RecordSource = ("select * from sgen")
Data1.Refresh
Do While Not Data1.Recordset.EOFIf Combo1.Text = Data1.Recordset.Fields("rollno") Then
Text1.Text = Data1.Recordset.Fields("name")
Text2.Text = Data1.Recordset.Fields("fname")
Text3.Text = Data1.Recordset.Fields("class")
Text4.Text = Data1.Recordset.Fields("sec")
Text5.Text = Data1.Recordset.Fields("sex")
Text6.Text = Data1.Recordset.Fields("pno")
Text7.Text = Data1.Recordset.Fields("add")
End If
Data1.Recordset.MoveNext
LoopEnd Sub
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Command2_Click()
Data1.RecordSource = ("select * from sgen")
Data1.Refresh
Do While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("rollno") Then
Data1.Recordset.Edit
Data1.Recordset.Fields("name") = Text1.Text
Data1.Recordset.Fields("fname") = Text2.Text
Data1.Recordset.Fields("Branch") = CInt(Text3.Text)
Data1.Recordset.Fields("sem") = Text4.Text
Data1.Recordset.Fields("sex") = Text5.Text
Data1.Recordset.Fields("pno") = Int(Text6.Text)
Data1.Recordset.Fields("add") = Text7.Text
Data1.Recordset.Update
End If
Data1.Recordset.MoveNext
Loop
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 71/91
Text7.Text = ""
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Form_Load()
Dim a As Integer
Data1.RecordSource = "select * from sgen"
Data1.Refresh
Do While Not Data1.Recordset.EOF
a = Data1.Recordset.Fields("rollno")
Combo1.AddItem (a)
Data1.Recordset.MoveNext
Loop
End Sub
Private Sub Label1_Click()
End Sub
FORM-25
Private Sub Combo1_Click()
Data1.RecordSource = ("select * from sgen")
Data1.Refresh
Do While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("rollno") Then
Text1.Text = Data1.Recordset.Fields("name")
Text2.Text = Data1.Recordset.Fields("fname")
Text3.Text = Data1.Recordset.Fields("class")
Text4.Text = Data1.Recordset.Fields("sec")
Text5.Text = Data1.Recordset.Fields("sex")
Text6.Text = Data1.Recordset.Fields("pno")
Text7.Text = Data1.Recordset.Fields("add")
End If
Data1.Recordset.MoveNext
Loop
End Sub
Private Sub Command1_Click()
Unload Me
End Sub
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 72/91
Private Sub Command2_Click()
Data1.RecordSource = ("select * from sgen")
Data1.Refresh
Do While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("rollno") Then
Data1.Recordset.DeleteEnd If
Data1.Recordset.MoveNext
Loop
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Form_Load()
Dim a As Integer
Data1.RecordSource = "select * from sgen"
Data1.Refresh
Do While Not Data1.Recordset.EOF
a = Data1.Recordset.Fields("rollno")
Combo1.AddItem (a)
Data1.Recordset.MoveNext
Loop
End Sub
Private Sub Label1_Click()
End Sub
FORM-26
Private Sub Command1_Click()
Data1.RecordSource = "select * from sfee"
Data1.Refresh
Data1.Recordset.AddNew
Data1.Recordset.Fields("rno") = CInt(Combo1.Text)
Data1.Recordset.Fields("name") = Text1.Text
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 73/91
Data1.Recordset.Fields("Branch") = CInt(Combo2.Text)
Data1.Recordset.Fields("mon") = Combo3.Text
Data1.Recordset.Fields("fee") = CInt(Text2.Text)
Data1.Recordset.Fields("tfee") = CInt(Text3.Text)
Data1.Recordset.Fields("sfund") = CInt(Text4.Text)
Data1.Recordset.Fields("total") = CInt(Text5.Text)Data1.Recordset.Update
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Form_Load()
Dim a As Integer
Data2.RecordSource = "select * from sgen"
Data2.Refresh
Do While Not Data2.Recordset.EOF
a = Data2.Recordset.Fields("rollno")
Combo1.AddItem (a)
Data2.Recordset.MoveNext
Loop
End Sub
Private Sub Label1_Click()
End Sub
FORM-27
Private Sub Combo1_Click()
Data1.RecordSource = ("select * from sfee")
Data1.Refresh
Do While Not Data1.Recordset.EOF
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 74/91
If Combo1.Text = Data1.Recordset.Fields("rno") Then
Text1.Text = Data1.Recordset.Fields("name")
Text2.Text = Data1.Recordset.Fields("class")
Text3.Text = Data1.Recordset.Fields("mon")
Text4.Text = Data1.Recordset.Fields("fee")
Text5.Text = Data1.Recordset.Fields("tfee")Text6.Text = Data1.Recordset.Fields("sfund")
Text7.Text = Data1.Recordset.Fields("total")
End If
Data1.Recordset.MoveNext
Loop
End Sub
Private Sub Command1_Click()
Data1.RecordSource = ("select * from sfee")
Data1.RefreshDo While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("rno") Then
Data1.Recordset.Edit
Data1.Recordset.Fields("name") = Text1.Text
Data1.Recordset.Fields("class") = CInt(Text2.Text)
Data1.Recordset.Fields("mon") = Text3.Text
Data1.Recordset.Fields("fee") = CInt(Text4.Text)
Data1.Recordset.Fields("tfee") = CInt(Text5.Text)
Data1.Recordset.Fields("sfund") = CInt(Text6.Text)
Data1.Recordset.Fields("total") = CInt(Text7.Text)
Data1.Recordset.Update
End If
Data1.Recordset.MoveNext
Loop
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Command3_Click()
End
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 75/91
End Sub
Private Sub Form_Load()
Dim a As Integer
Data1.RecordSource = "select * from sfee"
Data1.RefreshDo While Not Data1.Recordset.EOF
a = Data1.Recordset.Fields("rno")
Combo1.AddItem (a)
Data1.Recordset.MoveNext
Loop
End Sub
Private Sub Label1_Click()
End Sub
FORM-28
Private Sub Combo1_Click()
Data1.RecordSource = ("select * from sfee")
Data1.Refresh
Do While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("rno") Then
Text1.Text = Data1.Recordset.Fields("name")
Text2.Text = Data1.Recordset.Fields("class")
Text3.Text = Data1.Recordset.Fields("mon")
Text4.Text = Data1.Recordset.Fields("fee")
Text5.Text = Data1.Recordset.Fields("tfee")
Text6.Text = Data1.Recordset.Fields("sfund")
Text7.Text = Data1.Recordset.Fields("total")
End If
Data1.Recordset.MoveNext
Loop
End Sub
Private Sub Command1_Click()
Data1.RecordSource = ("select * from sfee")
Data1.Refresh
Do While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("rno") Then
Data1.Recordset.Delete
End If
Data1.Recordset.MoveNext
Loop
Text1.Text = ""
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 76/91
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Form_Load()Dim a As Integer
Data1.RecordSource = "select * from sfee"
Data1.Refresh
Do While Not Data1.Recordset.EOF
a = Data1.Recordset.Fields("rno")
Combo1.AddItem (a)
Data1.Recordset.MoveNext
Loop
End Sub
Private Sub Label1_Click()
End Sub
FORM-29
Private Sub Command1_Click()
Data1.RecordSource = "select * from exam"
Data1.Refresh
Data1.Recordset.AddNew
Data1.Recordset.Fields("emn") = Combo2.Text
Data1.Recordset.Fields("rno") = CInt(Combo1.Text)
Data1.Recordset.Fields("name") = Text1.Text
Data1.Recordset.Fields("total") = CInt(Text2.Text)
Data1.Recordset.Fields("scr") = CInt(Text3.Text)
Data1.Recordset.Fields("per") = Text4.Text
Data1.Recordset.Fields("result") = Combo3.Text
Data1.Recordset.Fields("grade") = Combo4.Text
Data1.Recordset.Fields("position") = Combo5.Text
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 77/91
Data1.Recordset.Update
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Combo1.Text = ""Combo2.Text = ""
Combo3.Text = ""
Combo4.Text = ""
Combo5.Text = ""
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Form_Load()
Dim a As Integer
Data2.RecordSource = "select * from sgen"
Data2.Refresh
Do While Not Data2.Recordset.EOF
a = Data2.Recordset.Fields("rollno")
Combo1.AddItem (a)
Data2.Recordset.MoveNext
Loop
End Sub
Private Sub Label1_Click()
End Sub
FORM-30
Private Sub Combo1_Click()
Data1.RecordSource = ("select * from exam")
Data1.Refresh
Do While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("rno") Then
Text1.Text = Data1.Recordset.Fields("emn")
Text2.Text = Data1.Recordset.Fields("name")
Text3.Text = Data1.Recordset.Fields("total")
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 78/91
Text4.Text = Data1.Recordset.Fields("scr")
Text5.Text = Data1.Recordset.Fields("per")
Text6.Text = Data1.Recordset.Fields("result")
Text7.Text = Data1.Recordset.Fields("grade")
Text8.Text = Data1.Recordset.Fields("position")
End If Data1.Recordset.MoveNext
Loop
End Sub
Private Sub Command1_Click()
Data1.RecordSource = ("select * from exam")
Data1.Refresh
Do While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("rno") Then
Data1.Recordset.Edit
Data1.Recordset.Fields("emn") = Text1.TextData1.Recordset.Fields("name") = Text2.Text
Data1.Recordset.Fields("total") = CInt(Text3.Text)
Data1.Recordset.Fields("scr") = CInt(Text4.Text)
Data1.Recordset.Fields("per") = Text5.Text
Data1.Recordset.Fields("result") = Text6.Text
Data1.Recordset.Fields("grade") = Text7.Text
Data1.Recordset.Fields("position") = Text8.Text
Data1.Recordset.Update
End If
Data1.Recordset.MoveNext
Loop
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Command3_Click()
End
End Sub
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 79/91
Private Sub Form_Load()
Dim a As Integer
Data1.RecordSource = "select * from exam"
Data1.Refresh
Do While Not Data1.Recordset.EOF
a = Data1.Recordset.Fields("rno")Combo1.AddItem (a)
Data1.Recordset.MoveNext
Loop
End Sub
Private Sub Label1_Click()
End Sub
FORM-31
Private Sub Combo1_Click()
Data1.RecordSource = ("select * from exam")
Data1.Refresh
Do While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("rno") Then
Text1.Text = Data1.Recordset.Fields("emn")
Text2.Text = Data1.Recordset.Fields("name")
Text3.Text = Data1.Recordset.Fields("total")
Text4.Text = Data1.Recordset.Fields("scr")
Text5.Text = Data1.Recordset.Fields("per")
Text6.Text = Data1.Recordset.Fields("result")
Text7.Text = Data1.Recordset.Fields("grade")
Text8.Text = Data1.Recordset.Fields("position")
End If
Data1.Recordset.MoveNext
Loop
End Sub
Private Sub Command1_Click()
Data1.RecordSource = ("select * from exam")
Data1.Refresh
Do While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("rno") Then
Data1.Recordset.Delete
End If
Data1.Recordset.MoveNext
Loop
Text1.Text = ""
Text2.Text = ""
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 80/91
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Form_Load()Dim a As Integer
Data1.RecordSource = "select * from exam"
Data1.Refresh
Do While Not Data1.Recordset.EOF
a = Data1.Recordset.Fields("rno")
Combo1.AddItem (a)
Data1.Recordset.MoveNext
Loop
End Sub
FORM-32
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Command2_Click()
Data1.RecordSource = "select * from att"
Data1.Refresh
Data1.Recordset.AddNew
Data1.Recordset.Fields("rno") = CInt(Combo1.Text)
Data1.Recordset.Fields("mon") = Combo2.Text
Data1.Recordset.Fields("name") = Text1.Text
Data1.Recordset.Fields("tad") = CInt(Text2.Text)
Data1.Recordset.Fields("pa") = CInt(Text3.Text)
Data1.Recordset.Fields("ab") = CInt(Text4.Text)
Data1.Recordset.Fields("per") = Text5.Text
Data1.Recordset.Update
Text1.Text = ""
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 81/91
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Combo1.Text = ""
Combo2.Text = ""End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Form_Load()
Dim a As Integer
Data2.RecordSource = "select * from sgen"
Data2.Refresh
Do While Not Data2.Recordset.EOFa = Data2.Recordset.Fields("rollno")
Combo1.AddItem (a)
Data2.Recordset.MoveNext
Loop
End Sub
FORM-33
Private Sub Combo1_Click()
Data1.RecordSource = ("select * from att")
Data1.Refresh
Do While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("rno") Then
Text1.Text = Data1.Recordset.Fields("mon")
Text2.Text = Data1.Recordset.Fields("name")
Text3.Text = Data1.Recordset.Fields("tad")
Text4.Text = Data1.Recordset.Fields("pa")
Text5.Text = Data1.Recordset.Fields("ab")
Text6.Text = Data1.Recordset.Fields("per")
End If
Data1.Recordset.MoveNext
Loop
End Sub
Private Sub Command1_Click()
Unload Me
End Sub
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 82/91
Private Sub Command2_Click()
Data1.RecordSource = ("select * from att")
Data1.Refresh
Do While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("rno") Then
Data1.Recordset.EditData1.Recordset.Fields("mon") = Text1.Text
Data1.Recordset.Fields("name") = Text2.Text
Data1.Recordset.Fields("tad") = CInt(Text3.Text)
Data1.Recordset.Fields("pa") = CInt(Text4.Text)
Data1.Recordset.Fields("ab") = Text5.Text
Data1.Recordset.Fields("per") = Text6.Text
Data1.Recordset.Update
End If
Data1.Recordset.MoveNext
Loop
Text1.Text = ""Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Form_Load()
Dim a As Integer
Data1.RecordSource = "select * from att"
Data1.Refresh
Do While Not Data1.Recordset.EOF
a = Data1.Recordset.Fields("rno")
Combo1.AddItem (a)
Data1.Recordset.MoveNext
Loop
End Sub
FORM-34
Private Sub Combo1_Click()
Data1.RecordSource = ("select * from att")
Data1.Refresh
Do While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("rno") Then
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 83/91
Text1.Text = Data1.Recordset.Fields("mon")
Text2.Text = Data1.Recordset.Fields("name")
Text3.Text = Data1.Recordset.Fields("tad")
Text4.Text = Data1.Recordset.Fields("pa")
Text5.Text = Data1.Recordset.Fields("ab")
Text6.Text = Data1.Recordset.Fields("per")End If
Data1.Recordset.MoveNext
Loop
End Sub
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Command2_Click()
Data1.RecordSource = ("select * from att")Data1.Refresh
Do While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("rno") Then
Data1.Recordset.Delete
End If
Data1.Recordset.MoveNext
Loop
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Form_Load()
Dim a As Integer
Data1.RecordSource = "select * from att"
Data1.Refresh
Do While Not Data1.Recordset.EOF
a = Data1.Recordset.Fields("rno")
Combo1.AddItem (a)
Data1.Recordset.MoveNext
Loop
End Sub
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 84/91
FORM-35
Private Sub Combo1_Click()
Data1.RecordSource = ("select * from sinfo")
Data1.RefreshDo While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("eid") Then
Text1.Text = Data1.Recordset.Fields("name")
Text2.Text = Data1.Recordset.Fields("dname")
Text3.Text = Data1.Recordset.Fields("dest")
Text4.Text = Data1.Recordset.Fields("sal")
Text5.Text = Data1.Recordset.Fields("qli")
Text6.Text = Data1.Recordset.Fields("sex")
Text7.Text = Data1.Recordset.Fields("age")
Text8.Text = Data1.Recordset.Fields("doj")
Text9.Text = Data1.Recordset.Fields("add")End If
Data1.Recordset.MoveNext
Loop
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Form_Load()
Dim a As Integer
Data1.RecordSource = "select * from sinfo"
Data1.Refresh
Do While Not Data1.Recordset.EOF
a = Data1.Recordset.Fields("eid")
Combo1.AddItem (a)
Data1.Recordset.MoveNext
Loop
End Sub
FORM-36
Private Sub Combo1_Click()
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 85/91
Data1.RecordSource = ("select * from sal")
Data1.Refresh
Do While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("eid") Then
Text1.Text = Data1.Recordset.Fields("bs")
Text2.Text = Data1.Recordset.Fields("ta")Text3.Text = Data1.Recordset.Fields("da")
Text4.Text = Data1.Recordset.Fields("ha")
Text5.Text = Data1.Recordset.Fields("gs")
Text6.Text = Data1.Recordset.Fields("ns")
End If
Data1.Recordset.MoveNext
Loop
End Sub
Private Sub Command2_Click()
Unload MeEnd Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Form_Load()
Dim a As Integer
Data1.RecordSource = "select * from sal"
Data1.Refresh
Do While Not Data1.Recordset.EOF
a = Data1.Recordset.Fields("eid")
Combo1.AddItem (a)
Data1.Recordset.MoveNext
Loop
End Sub
FORM-37
Private Sub Combo1_Click()
Data1.RecordSource = ("select * from sgen")
Data1.Refresh
Do While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("rollno") Then
Text1.Text = Data1.Recordset.Fields("name")
Text2.Text = Data1.Recordset.Fields("fname")
Text3.Text = Data1.Recordset.Fields("class")
Text4.Text = Data1.Recordset.Fields("sec")
Text5.Text = Data1.Recordset.Fields("sex")
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 86/91
Text6.Text = Data1.Recordset.Fields("pno")
Text7.Text = Data1.Recordset.Fields("add")
End If
Data1.Recordset.MoveNext
Loop
End Sub
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Form_Load()
Dim a As IntegerData1.RecordSource = "select * from sgen"
Data1.Refresh
Do While Not Data1.Recordset.EOF
a = Data1.Recordset.Fields("rollno")
Combo1.AddItem (a)
Data1.Recordset.MoveNext
Loop
End Sub
FORM-38
Private Sub Combo1_Click()
Data1.RecordSource = ("select * from sfee")
Data1.Refresh
Do While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("rno") Then
Text1.Text = Data1.Recordset.Fields("name")
Text2.Text = Data1.Recordset.Fields("class")
Text3.Text = Data1.Recordset.Fields("mon")
Text4.Text = Data1.Recordset.Fields("fee")
Text5.Text = Data1.Recordset.Fields("tfee")
Text6.Text = Data1.Recordset.Fields("sfund")
Text7.Text = Data1.Recordset.Fields("total")
End If
Data1.Recordset.MoveNext
Loop
End Sub
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 87/91
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Command3_Click()
EndEnd Sub
Private Sub Form_Load()
Dim a As Integer
Data1.RecordSource = "select * from sfee"
Data1.Refresh
Do While Not Data1.Recordset.EOF
a = Data1.Recordset.Fields("rno")
Combo1.AddItem (a)
Data1.Recordset.MoveNext
LoopEnd Sub
FORM-39
Private Sub Combo1_Click()
Data1.RecordSource = ("select * from exam")
Data1.Refresh
Do While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("rno") Then
Text1.Text = Data1.Recordset.Fields("emn")
Text2.Text = Data1.Recordset.Fields("name")
Text3.Text = Data1.Recordset.Fields("total")
Text4.Text = Data1.Recordset.Fields("scr")
Text5.Text = Data1.Recordset.Fields("per")
Text6.Text = Data1.Recordset.Fields("result")
Text7.Text = Data1.Recordset.Fields("grade")
Text8.Text = Data1.Recordset.Fields("position")
End If
Data1.Recordset.MoveNext
Loop
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Command3_Click()
End
End Sub
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 88/91
Private Sub Form_Load()
Dim a As Integer
Data1.RecordSource = "select * from exam"
Data1.Refresh
Do While Not Data1.Recordset.EOFa = Data1.Recordset.Fields("rno")
Combo1.AddItem (a)
Data1.Recordset.MoveNext
Loop
End Sub
FORM-40
Private Sub Combo1_Click()Data1.RecordSource = ("select * from att")
Data1.Refresh
Do While Not Data1.Recordset.EOF
If Combo1.Text = Data1.Recordset.Fields("rno") Then
Text1.Text = Data1.Recordset.Fields("mon")
Text2.Text = Data1.Recordset.Fields("name")
Text3.Text = Data1.Recordset.Fields("tad")
Text4.Text = Data1.Recordset.Fields("pa")
Text5.Text = Data1.Recordset.Fields("ab")
Text6.Text = Data1.Recordset.Fields("per")
End If
Data1.Recordset.MoveNext
Loop
End Sub
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Command3_Click()
Unload Me
End Sub
Private Sub Form_Load()
Dim a As Integer
Data1.RecordSource = "select * from att"
Data1.Refresh
Do While Not Data1.Recordset.EOF
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 89/91
a = Data1.Recordset.Fields("rno")
Combo1.AddItem (a)
Data1.Recordset.MoveNext
Loop
End Sub
INFORMATION ABOUT COMMON BUTTONS PRESENT ON THE SCREEN
Command Buttons:-
• FIRST: - When we click on the FIRST button then the First record Will be displayed.
• NEXT: - When we click on the NEXT button then the Next record Will be displayed.
•
PREVIOUS : - When we click on the PREVIOUS button then the Previous record will bedisplayed.
• LAST : - When we click on the LAST button then the Last record Will be displayed.
• ADD: - This button is used to add a new record in Database.
• SAVE : -When we click on SAVE button Record will save in Database File.
• DELETE: - This command button is used to delete the selected Record
CLOSE:- This command button is used to un load the form.
12. TESTING
Testing is a very critical aspect of the Software Quality Assurance (SQA) and represents
the ultimate review of specification, design and code generation .The design process focuses on thelogical internals of the software, ensuring that all the statements have been tested and all the
functional externals i.e. defined input will produce actual results that agree with the required
results.
There are two types of testing
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 90/91
1. WHITE BOX TESTING
2. BLACK BOX TESTING
WHITE BOX TESTING
It is also called as glass-box testing. It is predicted on the close examination of the
procedural details. Here providing test cases that exercise specific sets of condition and for loops
tests the logical paths through the software. It demonstrate that each function operational at the
same searching for errors in each function.
BLACK BOX TESTING
This is also called as the behavioral testing and it focuses on the functional requirements of
the software. It enables the software engineer to derive set of input conditions that will fully
exercise all functional requirements for a program. These sets are used to demonstrate that
software functions are operational and output is correctly produced and integrity of external
database is maintained. It helps to ensure that the internal operations are performed according to
specification and all components have been adequately exercised.
TESTING IN OUR SYSTEM
When our system will be fully operational we will perform the following types of tests:
1. INTEGRATION TESTING
2. VALIDATION TESTING
Moreover the user will be asked to used this system in parallel with their existing system and
notify the end user of any exceptions and errors that they experiences. The rectification of all these
will be the developer’s responsibility.
Just now we are implementing the incremental integrated testing, where the programs are
constructed and tested in small increments that facilitates the easier detection of the errors,
isolation and correction.
7/28/2019 37243260
http://slidepdf.com/reader/full/37243260 91/91
14. Limitation of the project
Every system may be developed by a professional can not be said to be ideal in its own. The
present project implement by us is not an exception. There are different types of constraints that
have led to a system with limitation. But these can be removed with some modification. Because
of limited time some of these limitations remain in system.
The limitations of the project are described below:
• We have not used Bus Facility form so Student can not register for bus facility from this
project
• Student can not register for hostel join with this project.
15. REFERENCES
• www.google.com
• www.yahoo.com
16. BIBLIOGRAPHIES
The following BOOKS are used to make this project.
[1] VISUAL BASIC 6.0(Dhanpat Rai & Co.)