PROJECT REPORT OF HOSPITAL MANAGEMENT SYSTEM

Page No - 1

INTRODUCTION
Before moving on to the details, I would like to introduce my project in few words. The topic of my project is “Hospital Management System”. It is a useful system that can be used in any hospital to manage its working methods and various activities. It is proposed to be designed for the automation of various activities of the hospital and the integration of the information so that the proper tacking of a patient profile and case history can be done. The software seamlessly integrates various activities and functions of various entities involved in a typical healthcare environment like patients, doctors, pathological laboratory, OPD, radiology, IPD, ward management, operation theatre etc. The software in broadly classified into the following modules: 1) Reception/Registration. 2) OPD. 3) IPD. 4) Operation Theatre. 5) Pathology. 6) USG. 7) Doctors/ Consultants Management. 8) Certificate Management. Thus, it can be seen that the software includes all the modules that can manage various activities of a hospital, in an integrated way. The software has very dynamic, pleasant and user-friendly interface and is very easy to use.

Page No - 2

OBJECTIVE
Every software has a goal or aim behind which it is developed. The objective and scope of my software is to record the details of the patient maintaining the diagnosis details, certificate management, discharge management etc. There are various limitations and drawback in existing system: 1) The existing system only provides text-based interface, which is not as userfriendly as Graphical user Interface. 2) Since the system is implemented in Manual, so the response is very slow. 3) The transactions are executed in off-line mode, hence on-line data capture and modification is not possible. 4) On-line reports cannot be generated due to batch mode execution. Hence, there is a need of reformation of the system with more advantages and flexibility. My software eliminates most of the limitations of the existing software. It has the following objectives: -

1)

Enhancement- The main objective of my software is to enhance and
upgrade the existing system by increasing its efficiency and effectiveness. The software improves the working methods by replacing the existing manual system with the computer-based system.

2)

Automation- The software automates each and every activity of the manual
system and increases its throughput. Thus the response time of the system is very less and it works very fast.

3)

Accuracy- The software provides the uses a quick response with very
accurate information regarding the patient, doctors etc. Any details or system in an accurate manner, as and when required.

Page No - 3

5) Availability. The software provides accuracy along with a pleasant interface. Page No .4 . Thus the users will feel very easy to work on it. Thus. It gives a pleasant and user-friendly interface to my project. can be captured very quickly and easily.4) User-Friendly. whatever needed. Thus my software of Hospital management can be run on Windows XP/2000 /2003. there is no delay in the availability of any information. On the basis of the functional requirement of the system.6.0 seem to be an appropriate tool for the front end and SQL-server for the back end.The software has a very user-friendly interface. VB.The transaction reports of the system can be retried as and when required.

6. 5. Query Analyzer. Through this Language Web Browser based application can be written with the help of Microsoft DHTML. Service Manager. Page designer . create/modify stored procedures and execute administrative tasks. Visual Basic provides the first example of successful component object Model programming in which third Party available components could be added to provide additional functionality. which has brought Visual Basic into a realm of serious development tools. We can perform high-level administrative functions that affect one or more servers. Database. Hardware and Software requirement specification Page No . test queries before implementing them in other applications. VB.5 . Query Analyzer offers a quick and dirty method for performing queries against any of our SQL Server databases. It's a great way to quickly pull information out of a database in response to a user request. maintenance and administration.6 version to make this Project. Let's take a brief look at each: Enterprise Manager is the main administrative console for SQL Server installations. SQL Server2000 has six of the more frequently used tools: Enterprise Manager. SQL Profiler. whenever we need to develop any window-based application than we use VB. There have a lot of versions in VB like VB. Data Transformation Services and Books. It provides support for ODBS and RDO data access methods. It provides us with a graphical "birds-eye" view of all of the SQL Server installations on our network.7 etc & we use VB.TOOLS AND TECHNOLOGY About Technology ABOUT VB: Microsoft Visual Basic is new evolution in current era. schedule common maintenance tasks or create and modify the structure of individual databases. The basic idea of introducing visual Basic to the world was to provide a Rapid Application Development Environment to the developers.Microsoft SQL Server Microsoft SQL Server is a full-featured relational database management system (RDBMS) that offers a variety of administrative tools to ease the burdens of database development.

Hardware Requirements • • • Intel Celeron Processor and above 128 MB RAM 25 MB free Hard Disk Space Software Requirements 1) Operating System: 2) Language 3) Back End Windows 2000/ 2003 or above.0 SQL Server 2000 or above ANALYSIS Page No .6 . Visual Basic 6.

It relies o fact.This activity is at the heart of system analysis. Activities in Requirement Determination: . 2) Requirement Investigation: .The main activity in requirement determination is the collection of data about the current system. Before beginning the designing process of my software. They may include interviews. It causes the analyst to investigate the areas and issues that could otherwise be overlooked. Data Collection: . Pathology. Requirement Determination: . the current system can be analyzed and the recommendations for system design can be assembled. the analyst foresees the likelihood of certain problems or features and requirements for a new system. the analyst studies the current system and documents its features for further analysis. Effective therefore emphasize investigation and questioning to learn how system analysts currently operates and to identify the requirements that the users have for a new system. one or more techniques among these can be employed for data collection to help ensure an accurate and comprehensive investigation. IPD.In this activity. not solving problems. This study results in an evaluation of how current methods are working and whether adjustments are necessary or possible. So that. 3) Requirement Specification: -The data produced during the fact-finding investigation are analyzed to determine requirements specifications. and observation etc.Requirement determination process consists of following activities: 1) Requirement Anticipation: . It may include a way of capturing or processing data. The specific methods that are used for collecting data about requirements are called fact-finding techniques. to improve the accuracy and decrease the complexity. controlling activities and supporting management. the performance of system can be improved. Page No . I analyzed various departments of system. Requirement is a feature that must be included in a new system. etc. questionnaires. I also reviewed the reports generated in these departments. to determine the requirements of new system.Systems analysis is about understanding situations. The description of features for a new system. Using a variety of tools and skills. I analyzed various departments in hospital – OPD. I analyzed the current Hospital Management System.7 .It involves studying the current system to find out how it works and where improvements are to be made. X-Ray. producing information. The determination of requirements thus entails studying the existing system and collecting details about it to find out what these requirements are.finding techniques and includes methods for describing system features. record inspections. Ultrasound.

in an integrated way. hence on-line data capture and modification is not possible. it can be seen that the software includes all the modules that can manage various activities of a hospital. 8) On-line reports cannot be generated due to batch mode execution. SRS Page No . The software has very dynamic. it can be seen that the software includes all the modules that can Manage various activities of a hospital. IPD. The software seamlessly integrates various activities and functions of various entities involved in a typical healthcare environment like patients. which is not as user-friendly as Graphical user Interface. 7) The transactions are executed in off-line mode. The software has very dynamic. doctors.Hospital Management System”. There are various limitations and drawback in existing system: 5) The existing system only provides text-based interface.8 . radiology. ward management. 11) IPD. 14) USG. so the response is very slow. in an integrated way. The objective and scope of my software is to record the details of the patient maintaining the diagnosis details. 12) Operation Theatre. is a useful system that can be used in any hospital to manage its working methods and various activities. pathological laboratory. The software in broadly classified into the following modules: 9) Reception/Registration. 13) Pathology. 6) Since the system is implemented in Manual. pleasant and user-friendly interface and is very easy to use. Every software has a goal or aim behind which it is developed. 10) OPD. operation theatre etc. 16) Certificate Management. It is proposed to be designed for the automation of various activities of the hospital and the integration of the information so that the proper tacking of a patient profile and case history can be done. OPD. Thus. Thus. pleasant and user-friendly interface and is very easy to use. 15) Doctors/ Consultants Management. certificate management. discharge management etc.

Thus SRS is a means of communicating the findings of the analysis stage to the design stage. These new data are checked by the admin.Software requirement specification Software requirement specification contains details of the proposed software system. SRS gives all details of its introduction. In the view of Online Job Portal System. When user login to the website. • Users of the Project: Since the project Online Job Portal Management System is a job portal system so users of this project are students at various levels such as graduate level.9 . first he should be authenticated and then authorization should take place whether he is admin or user. PG level. • Product functioning: The raw data from clients is put into the database that is candidates and companies can upload their profiles this will then saved in the database that can be searched by the admin later . A simple and introductory SRS is as follows:-INTRODUCTION • Purpose: SRS provides details of the proposed software project. specific requirements and basic processing etc. or working professionals and companies will also visit the site for their recruitment process. overall description. A company also can register itself and upload its requirement of the candidate. • Scope: The scope of SRS includes:-  Proposed software description  Users of the proposed software  Constraints • • Overview : Product description: The candidate should be able to register itself through the registration form and the he can upload his resume which will be saved into the Database. after that on can work further online. OVERALL DESCRIPTION Page No .

Net framework. 3. some basic requirements of users are  A candidate can register itself easily and find job lists according to his He can find proper tips for making effective resume and for facing He can easily update his resume time to time He can find proper job alerts time to time through e-mails A company can find eligible candidate for their working criteria Admin can see the current status of jobs and candidates eligibility  interviews     • Hardware and Software Requirements: There are three environments that have been created for the project. 2.SPECIFIC REQUIREMENTS: • Interface Requirements:    • Easy to follow Interface Very less graphics No hidden buttons User Requirements: After the carefully study of requirements of the users. •   256 MB RAM 4 GB HDD (normally) Pentium family processor Logical Database Requirements: The following information is to be stored in the database: The Clients Raw data The Clients Validated data Page No . viz.    Development environment Quality Control environment Production environment The hardware requirements for all the platforms are: Since the project is based on the .10 . so it can run all platforms and basic hardware requirements are— 1.

once user send his query system will match it with data store in database and give response. The basic input format for the system contains the following screens: Square box is used for user input Rounded Square box is used for system display • Login screen: The following screen that inputs the Username and Password from the User for authentication of User to the system is: Login Id Password Close Login Page No . easy and less complex. resume sample. INPUT / OUTPUT FORMATS: • The input format: The input formats for the system plays an important role. so its format should be attractive.11 . candidate can upload his resume which will save in the database. Search Data: A candidate can also search data such as job.   Username and Password Companies profiles Detailed job list BASIC PROCESSING ACTIONS OF THE SYSTEM: The basic processing actions of the system are: • • • Verification of the User: A registered user can login with his user-id and password and system will verify that user login is valid or not. Upload Data: After the login. tips etc. through various options.

Pathology Report X-Ray Report Surgery Report Final Discharge & Cash Medicine Issued Bill Slip X-Ray X-Ray Depar tment X-Ray User Surgery Manage ment Discharge Manage Parts To be Examined Surgery Type Receive Order Prescription Registration Certificate Surgery Hospital Management Discharge System Medicine Issue d/ Sell Medicine Mana All Transaction Issued Certificate Final Bill Certificate Page No . and admin can find information in the form of reports. Few more specifications can also be added.• Output format: The outputs from the system should be in form of list such as list of job details. list of candidates etc.12 Mana . DFD (DATA FLOW DIAGRAM) Data Flow Diagram Context Diagram: Patient Card New Patient Pathology Pathology Depar Patient Details Test Basics Of Patient Details Reg. No. These are some requirement specifications of the system.

Notice Billing Certificate Level 1 DFD: Patient Record New Patient Patient Details 1 Patient Management Patient File Case Case details Sheet History Updated Patient History Case Details Patient Slip Prescription 2 OPD Management Referred To Doctor Patient File OPD Reports Diagnosis Details Page No .13 .

G.S.14 .S.T. Scan Department Ward Manager 4 IPD Management To be Admitted Patient File IPD File IPD Registration Page No .T. Scan File C. File C.G. Department Details 3 Diagnosis Management Report Details Patient File Pathology File X-Ray File U.Pathology Department X-Ray Department U.

15 .OT Management Surgical Details 5 Surgery Management IPD File Report Surgery File Medicine Department 6 Medicine Management IPD File Medicine File Find Bill Sanction 7 Billing Management IPD File Surgery File Medicine File Test File Patient File 8 Certificate Management Death Certificate Page No .

IPD File Fitness Certificate Birth Certificate Slip Patient File OPD File IPD File Surgery File 9 Final Slip or Report Pay Prescription Billing File Surgery Department Discharge Card Page No .16 .

Charges Details Test -Id Examined By Ultra Sound Test Examined -Id By Page No .17 Test-Result .ERD (E-R DIAGRAM) Clinicia n In charge E-R Diagram Id Issue s Test Phone Pathology Test Value Name Treat No. Se x Ag e Ward In charge Test Result Are Referr ed Positio n Name Receiv es Are Reffere d OPD No X-Ray Final Bill Details Bill No. Of Beds Address Doctor Visit s Normal Value Test s TestId s Patient WardNo.

medicine given.18 . (For any future reference).. then he will be issued an OPD Card. If he is a first time patient.DESIGN DOCUMENTATION Modularization NUMBER OF MODULES There are various modules used in my software “Hospital Management System” each having a different purpose.– This module manages the detail about the outpatient department. Page No .P. his bed status. if he has already visited the hospital. In the reception modules the new patient is filled the registration form. other option is that he has already visited the Hospital. This module is managing the details provided in the form. As the patient enters.D.P. treatment chart and then such information till the patient is been discharged. one is that he can be there for the first time.If the patient has to be admitted then this module is been used to record various information about the patient like.This module manages the reception where different types of inquiry can be handled and the registration for new patient takes place. They are as follows: - 1) Reception / Registration Counter . 3) I. 2) O. his OT schedule. the card will be renewed.D. Various validation checks and conditions are been provided for some controlling purpose. the hospital there can be two options. Any new patient generally comes to the OPD.

In this module. 6) USG.This module manages the ultrasound details. General or routine test. 8) Certificate Management. This module manages the various test details and reports for the patient. their chamber no. the day and time they visit hospital. how man doctors are going to do the surgery. Gall bladder etc.It plays a major role in the software.This module manages the various certificated to be issued by the hospital like discharge certificates. Page No .4) Operation Theatre.19 . The software checks the datewise rest reports and test details to ensure accuracy and correctness. illness certificate. It also manages that in which OT room which table. Every hospital has its own premises. fitness certificate. birth certificate etc. as there are a lot of test that a doctor suggests a patient and they are done through pathology. their consultation fee etc. 7) Doctors/ Consultant Management . It provides various facilities for editing and searching the records. the schedule of operation theatre is prepared like on which date and time at which patient has to be operated. Hematology/ Herpetology. so it is convenience to have a module for managing the pathology unit of hospital. The software can check the date wise reports and test details. Abdomen liver. emergency phone no.This module manages all the details regarding the doctors like their personal details. Hormone etc.. The major categories of ultrasound are chemistry. The surgery type and many other such details related to the operations are been recorded and managed. 5) Pathology. The tests can be categorized into Chemistry.

For example. Not NULL vs NULL-able For columns identified as NOT NULL. Valid Values Only allowed values are permitted in the database. Common ways of enforcing data integrity include: Referential integrity The relationship between the primary key of one table and the foreign key of another table must always be maintained. In a data warehouse or a data mart." If there is no data integrity in the data warehouse.DATA INTEGRITY Data Integrity – Data integrity refers to the validity of data. a value of '-1' cannot be allowed. there are three areas of where data integrity needs to be enforced: Database level We can enforce data integrity at the database level. In the data warehousing field. Page No . meaning data is consistent and correct. Garbage Out. if a column can only have positive integers. For example. a primary key cannot be deleted if there is still a foreign key that refers to this primary key.20 . Primary key / Unique constraint Primary keys and the UNIQUE constraint are used to make sure every row in a table can be uniquely identified. "Garbage In. any resulting report and analysis will not be useful. they may not have a NULL value. we frequently hear the term.

This differs from RESTRICT in that it is checked at the end of the statement. all associated dependent data is correspondingly updated. (Oracle uses No Action as its default action. Set to Null: When referenced data is updated or deleted. all associated dependent rows are deleted.21 . or at the end of the transaction if the constraint is deferred. Null Rule A null rule is a rule defined on a single column that allows or disallows inserts or updates of rows containing a null (the absence of a value) in that column. Unique Column Values A unique value rule defined on a column (or set of columns) allows the insert or update of a row only if it contains a unique value in that column (or set of columns). The rules associated with referential integrity are: • • • • • Restrict: Disallows the update or deletion of referenced data.Types of Data Integrity This section describes the rules that can be applied to table columns to enforce different types of data integrity. Referential Integrity Rules A referential integrity rule is a rule defined on a key (a column or set of columns) in one table that guarantees that the values in that key match the values in a key in a related table (the referenced value). all associated dependent data is set to NULL.) Page No . Primary Key Values A primary key value rule defined on a key (a column or set of columns) specifies that each row in the table can be uniquely identified by the values in the key. Cascade: When referenced data is updated. When a referenced row is deleted. Set to Default: When referenced data is updated or deleted. No Action: Disallows the update or deletion of referenced data. all associated dependent data is set to a default value. Referential integrity also includes the rules that dictate what types of data manipulation are allowed on referenced values and how these actions affect dependent values.

Field Name PatientId Name Address DateOfBirth Phone DateOfRegistration Sex Primary Key – PatientId Table Name: Doctor Type Auto Number Varchar (30) Varchar (60) DateTime Varchar (15) DateTime Varchar (8) It is a table. where the list of all available doctors in the hospital is maintained.22 . or deletes of a row based on the value it contains for the column (or set of columns). updates. used to store and maintain information related to various entities and the other relative information.Complex Integrity Checking Complex integrity checking is a user-defined rule for a column (or set of columns) that allows or disallows inserts. Field Name DoctorId Name Type Auto Number Varchar (30) Page No . Some of the major tables used in the software are as follows: Table Name: Patient This table contains the detail information for the patient been registered. DATA STRUCTURE There are tables created in the software as data structures.

this table is checked for the availability.23 .Address Specialization Qualification Sex E-mail Primary Key – DoctorId Table Name: Bed Varchar (60) Varchar (30) Varchar (50) Varchar (8) Varchar (30) It is a master table. Before a bed is assigned to a patient. Field Name Id PatientType DoctorID BedId DateOfVisit DateOfDischarge Symptoms Disease Treatment Primary Key – Id Type Auto Number Number Number Number DateTime DateTime Varchar (1000) Varchar (100) Varchar (1000) Page No . Field Name BedId BedName RatePerDay BedType Primary Key – BedId Table Name: Visit Type Auto Number Varchar (30) Number Varchar (30) This is a detail table where the record for each visit of each patient is created and maintained. where the list of all beds in the hospital is maintained.

NatureOfMaterial ClinicianIncharge Microscopic Primary Key – TestId Type Number DateTime Varchar (50) Varchar (10) Varchar (50) Varchar (30) Varchar (50) Table Name: CultureTest This table contains information related to the pathology culture tests.24 . Field Name TestId Date ClinicianDiagnosis RecieptNo. Field Name TestId PatientName ReferredBy ExaminedBy Region Position TestResult Primary Key – TestId Table Name: Histopathology Type Auto Number Varchar (30) Varchar (30) Varchar (30) Varchar (20) Varchar (20) Varchar (50) This is a table that contains records for histopathology requisition and report.Table Name: X-Ray This table includes the record for X-Ray details for patient (whom X-Ray is referred) . Page No .

is created and maintained.Field Name TestId Amoxiycillin Ampicillin Bacitracin Pencillin Septran Doxycycline Erthromycin Gentamycin Primary Key – TestId Table Name: SemenAnalysis Type Auto Number Number Number Number Number Number Number Number Number This table contains record related the semen analysis in pathology. Field Name TestId Color Volume Count Motility NormalType AbnormalType NonMotility Primary Key – TestId Type Auto Number Varchar (15) Number Number Number Number Number Number Table Name: LabTest This is a table where all the details for each laboratory test for the patient (to which the test is referred). Field Name TestId Cholesterol Tryglycerides Type Auto Number Number Number Page No .25 .

Graphical user interfaces. such as Microsoft Windows and the one used by the Apple Macintosh. Well-designed graphical user interfaces can free the user from learning complex command languages. On the other hand. many users find that they work more effectively with a command-driven interface.26 . feature the following basic components: pointer : A symbol that appears on the display screen and that you move to select objects and commands. the pointer appears as a small angled Page No . Usually. A program interface that takes advantage of the computer's graphics capabilities to make the program easier to use. Field Name WardId Type Name Location TotalBeds Primary Key – WardI Type Auto Number Number Number DateTime DateTime USER INTERFACE Abbreviated GUI (pronounced GOO-ee). especially if they already know the command language.Sodium Potassium CPK BloodSugar BloodUrea RAFactor Primary Key – TestId Table Name: Ward Number Number Number Number Number Number This detail table contains the details related to the wards in the hospital.

for example.  icons : Small pictures that represent commands. you can execute a command or convert the icon into a window. You can move windows around the display screen. A true GUI includes standard formats for representing text and graphics. and change their shape and size at will. In addition to their visual components.  desktop : The area on the display screen where icons are grouped is often referred to as the desktop because the icons are intended to represent real objects on a real desktop.arrow. use an I-beam pointer that is shaped like a capital I.  windows: You can divide the screen into different areas. that enables you to select objects on the display screen. You can also move the icons around the display screen as if they were real objects on your desk. to copy a graph created by a spreadsheet program into a document created by a word processor. but are not graphics based. One reason for their slow acceptance was the fact that they require considerable CPU power and a highquality monitor. Text -processing applications. graphical user interfaces also make it easier to move data from one application to another. however.  pointing device : A device. but it was not until the 1980s and the emergence of the Apple Macintosh that graphical user interfaces became popular. In each window. which until recently were prohibitively expensive. The first graphical user interface was designed by Xerox Corporation's Palo Alto Research Center in the 1970s. files.  menus : Most graphical user interfaces let you execute commands by selecting a choice from a menu. By moving the pointer to the icon and pressing a mouse button. This makes it possible. Many DOS programs include some features of GUIs. Page No . or windows.27 . such as a mouse or trackball. Because the formats are well-defined. you can run a different program or display a different file. such as menus. Such interfaces are sometimes called graphical character-based user interfaces to distinguish them from true GUIs. different programs that run under a common GUI can share data.

if he is an OPD patient. The registration table is been updated with the record of new patient.28 .Procedural Design 1) Patient registration: . 2) Taking General Details: . The Junior doctor takes his general health details and refers him to a senior doctor.The IPD Patient is moved to a ward. he has to be registered.When a new patient arrives to the hospital. as he is to be admitted.After being registered the new patient goes to a junior doctor. These details help in maintaining the patient case sheet. Page No . After registration he receives an OPD card. 3) IPD Patient moving to ward: .

if they are to be operated or in the case of pregnancy.The patients who are provided a test id.The patient may also be referred for operation. 8) Patient referred for Ultrasound: .There are two cases of the patient to be admitted. transvaginal etc. The OPD patient can be moved to IPD or a new patient can be admitted as an emergency. he is been issued a Test id. especially in case.The senior doctor may refer Patients for Ultrasound. generally.As.29 . patient is been treated by a senior doctor. by the pathology department. 5) Patient referred for pathology test: . Only after. been referred. When a Page No . he can be tested. are been tested for the pathology test. The doctor gives him the prescription. medicines and suggestions. a test id is provided to the patient. if required. abdomen. 6) Issuing Test ID: .The patient is been referred for some pathology test by Senior doctor. referred by the junior doctor.If the patient is referred for some pathology test. 10) Patient referred for operation: . The ultrasound is been taken of some specific regions like pelvis. 4) Treatment given: . if they are to be operated or in the case of pregnancy. 7) Pathology Test: . The pathology table is been maintained and updated with the new record patient. 9) Taking Ultrasound: -The ultrasound of patient is been done.

The X-Ray table is been maintained with the details of X-Ray. The XRay table is been maintained by its details. the surgery table is been updated with the patient details. In charge and nurses to be involved in the operation. O.patient is been operated. 13) Taking X-Ray: . the patient is been issued the discharge certificate and the discharge table is maintained with etc.The patient. When the patient is been discharged. junior doctor. referred by the senior doctor.30 . details of junior doctor. consultant doctor. is been operated.The X-Ray of patient is been taken as.The senior doctor may refer patient for X-Ray of some region. The surgery table is been maintained with these details. consultant doctors and nurses are been involved. Page No . referred for operation. 12) Patient referred for X-Ray: . 11) Patient operated: .The patient is been discharged after having treatment in hospital. 14) Patient discharged: .T. Senior doctors. In the surgery.

FORM DESIGN AND SOURCE CODE FORM 1.LOGIN FORM Page No .31 .

FORM 2 .32 .MDI FORM Page No .

FORM3 –PATIENT FORM Page No .33 .

Page No .34 .

FORM4 -DOCTOR FORM Page No .35 .

36 .FORM5 -VISIT FORM Page No .

FORM6 -TEST FORM SOURCE CODE FORM1 Private Sub Command3_Click() form2.Sho Page No .37 .

38 .Show End Sub Private Sub O4_Click() form3.Visible = False form3.Visible = False form5.Show End Sub Private Sub O2_Click() form2.Show End Sub Private Sub O5_Click() Unload Me End Sub Page No .Visible = False form4.Visible = False form2.Visible = False form4.Visible = False form5.Visible = False form4.Visible = False form2.Show End Sub Private Sub O1_Click() form3.Visible = False form4.Visible = False Form1.FORM2-MDI FORM Private Sub MDIForm_Load() MDIForm1.Visible = False form5.Show End Sub Private Sub O3_Click() form3.Visible = False form5.Visible = False form2.

FORM 3
Private Sub Command1_Click() Frame1.Visible = False If Text1.Text = "" Then MsgBox "ENTER THE DATA" Exit Sub ElseIf Text2.Text = "" Then MsgBox "ENTER THE DATA" Exit Sub ElseIf Text3.Text = "" Then MsgBox "ENTER THE DATA" Exit Sub ElseIf Text4.Text = "" Then MsgBox "ENTER THE DATA" Exit Sub ElseIf Text5.Text = "" Then MsgBox "ENTER THE DATA" Exit Sub ElseIf Text6.Text = "" Then MsgBox "ENTER THE DATA" Exit Sub End If msg = MsgBox("ARE YOU SURE YOU WANT TO ADD THE RECORD?", vbYesNo) If msg = vbYes Then Text1.SetFocus Data1.Recordset.MoveNext Data1.Recordset.AddNew ElseIf msg = vbNo Then Text1.SetFocus End If End Sub Private Sub Command2_Click() Frame1.Visible = True End Sub Private Sub Command3_Click() Frame1.Visible = False Data1.Refresh MsgBox "DATA IS SAVED" Text1.SetFocus End Sub

Page No - 39

Private Sub Command4_Click() Dim book As String Dim F As Integer F=0 book = InputBox("ENTER THE BOOK NAME WHICH YOU WANT TO DELETE") Data1.Recordset.MoveFirst Do While (Data1.Recordset.EOF <> True) If (Data1.Recordset.Fields(0) = book) Then F=1 Exit Do End If Data1.Recordset.MoveNext Loop If (F = 1) Then Data1.Recordset.Delete Data1.Refresh MsgBox ("RECORD IS DELETED") Else MsgBox ("SORRY!RECORD IS NOT DELETED") End If End Sub Private Sub Command5_Click() Unload Me End Sub Private Sub Command6_Click() Dim str As String str = InputBox("PLEASE ENTER THE BOOK FOR SEARCHING") Data1.Recordset.MoveFirst F=0 Do While (Data1.Recordset.EOF <> True) If (Trim(Data1.Recordset.Fields(0)) = Trim(str)) Then F=1 Exit Do End If Data1.Recordset.MoveNext Loop If (F = 1) Then MsgBox ("FOUND") Else

Page No - 40

MsgBox ("NOT FOUND") End If End Sub Private Sub Command7_Click() Dim str As String Dim F As Integer str = InputBox("ENTER THE BOOK NO WHICH YOU WANT TO UPDATE") Data1.Recordset.MoveFirst F=0 Do While (Data1.Recordset.EOF <> True) If (Trim(Data1.Recordset.Fields(0)) = Trim(str)) Then F=1 Exit Do End If Data1.Recordset.MoveNext Loop If (F = 1) Then Text1.Locked = False Text2.Locked = False Text3.Locked = False Text4.Locked = False Text5.Locked = False Text6.Locked = False Text1.SetFocus Data1.Recordset.Edit Else MsgBox ("RECORD IS NOT FOUND SO DON'T UPDATES") End If End Sub Private Sub Form_Click() Frame1.Visible = False End Sub Private Sub Form_Load() Frame1.Visible = False End Sub Private Sub Command1_Click() Frame1.Visible = False

Page No - 41

AddNew ElseIf msg = vbNo Then Text1.Refresh MsgBox "DATA IS SAVED" Text1.Recordset.SetFocus End If End Sub Private Sub Command2_Click() Frame1.Text = "" Then MsgBox "ENTER THE DATA" Exit Sub ElseIf Text4.Recordset.42 .Text = "" Then MsgBox "ENTER THE DATA" Exit Sub ElseIf Text3.SetFocus Data1.Text = "" Then MsgBox "ENTER THE DATA" Exit Sub ElseIf Text5.Text = "" Then MsgBox "ENTER THE DATA" Exit Sub ElseIf Text6.Text = "" Then MsgBox "ENTER THE DATA" Exit Sub ElseIf Text2.Text = "" Then MsgBox "ENTER THE DATA" Exit Sub End If msg = MsgBox("ARE YOU SURE YOU WANT TO ADD THE RECORD?". vbYesNo) If msg = vbYes Then Text1.If Text1.Visible = False Data1.MoveNext Data1.SetFocus End Sub Private Sub Command4_Click() Page No .Visible = True End Sub Private Sub Command3_Click() Frame1.

Recordset.MoveFirst Do While (Data1.MoveNext Loop If (F = 1) Then MsgBox ("FOUND") Else MsgBox ("NOT FOUND") End If Page No .Recordset.MoveNext Loop If (F = 1) Then Data1.Recordset.Recordset.Recordset.EOF <> True) If (Trim(Data1.Fields(0) = book) Then F=1 Exit Do End If Data1.43 .Recordset.Delete Data1.MoveFirst F=0 Do While (Data1.Fields(0)) = Trim(str)) Then F=1 Exit Do End If Data1.Recordset.Refresh MsgBox ("RECORD IS DELETED") Else MsgBox ("SORRY!RECORD IS NOT DELETED") End If End Sub Private Sub Command5_Click() Unload Me End Sub Private Sub Command6_Click() Dim str As String str = InputBox("PLEASE ENTER THE BOOK FOR SEARCHING") Data1.Dim book As String Dim F As Integer F=0 book = InputBox("ENTER THE BOOK NAME WHICH YOU WANT TO DELETE") Data1.Recordset.Recordset.EOF <> True) If (Data1.

Edit Else MsgBox ("RECORD IS NOT FOUND SO DON'T UPDATES") End If End Sub Private Sub Form_Click() Frame1.MoveFirst F=0 Do While (Data1.Visible = False End Sub FORM5 Page No .Recordset.End Sub Private Sub Command7_Click() Dim str As String Dim F As Integer str = InputBox("ENTER THE BOOK NO WHICH YOU WANT TO UPDATE") Data1.Recordset.MoveNext Loop If (F = 1) Then Text1.Visible = False End Sub Private Sub Form_Load() Frame1.Locked = False Text4.Locked = False Text3.Locked = False Text6.Recordset.44 .Fields(0)) = Trim(str)) Then F=1 Exit Do End If Data1.SetFocus Data1.Recordset.Locked = False Text1.Locked = False Text2.Recordset.EOF <> True) If (Trim(Data1.Locked = False Text5.

Text = "" Then MsgBox "ENTER THE DATA" Exit Sub ElseIf Text3.45 .MoveNext Data1.Visible = False If Text1.Text = "" Then MsgBox "ENTER THE DATA" Exit Sub ElseIf Text2.Text = "" Then MsgBox "ENTER THE DATA" Exit Sub ElseIf Text4.Visible = False Data1.AddNew ElseIf msg = vbNo Then Text1.SetFocus End Sub Page No .SetFocus Data1.Text = "" Then MsgBox "ENTER THE DATA" Exit Sub ElseIf Text5. vbYesNo) If msg = vbYes Then Text1.Text = "" Then MsgBox "ENTER THE DATA" Exit Sub ElseIf Text6.Visible = True End Sub Private Sub Command3_Click() Frame1.SetFocus End If End Sub Private Sub Command2_Click() Frame1.Private Sub Command1_Click() Frame1.Recordset.Text = "" Then MsgBox "ENTER THE DATA" Exit Sub End If msg = MsgBox("ARE YOU SURE YOU WANT TO ADD THE RECORD?".Refresh MsgBox "DATA IS SAVED" Text1.Recordset.

Delete Data1.MoveFirst Do While (Data1.EOF <> True) If (Data1.Recordset.Refresh MsgBox ("RECORD IS DELETED") Else MsgBox ("SORRY!RECORD IS NOT DELETED") End If End Sub Private Sub Command5_Click() Unload Me End Sub Private Sub Command6_Click() Dim str As String str = InputBox("PLEASE ENTER THE BOOK FOR SEARCHING") Data1.Recordset.Recordset.Private Sub Command4_Click() Dim book As String Dim F As Integer F=0 book = InputBox("ENTER THE BOOK NAME WHICH YOU WANT TO DELETE") Data1.EOF <> True) If (Trim(Data1.Fields(0)) = Trim(str)) Then F=1 Exit Do End If Data1.MoveNext Loop If (F = 1) Then Data1.Recordset.Fields(0) = book) Then F=1 Exit Do End If Data1.Recordset.Recordset.MoveFirst F=0 Do While (Data1.Recordset.MoveNext Loop If (F = 1) Then MsgBox ("FOUND") Else MsgBox ("NOT FOUND") Page No .Recordset.46 .Recordset.

Recordset.End If End Sub Private Sub Command7_Click() Dim str As String Dim F As Integer str = InputBox("ENTER THE BOOK NO WHICH YOU WANT TO UPDATE") Data1.Locked = False Text6.Locked = False Text3.Locked = False Text5.EOF <> True) If (Trim(Data1.Recordset.Recordset.Visible = False End Sub Page No .Recordset.Locked = False Text2.Recordset.Fields(0)) = Trim(str)) Then F=1 Exit Do End If Data1.Edit Else MsgBox ("RECORD IS NOT FOUND SO DON'T UPDATES") End If End Sub Private Sub Form_Click() Frame1.Locked = False Text4.MoveNext Loop If (F = 1) Then Text1.Visible = False End Sub Private Sub Form_Load() Frame1.Locked = False Text1.SetFocus Data1.MoveFirst F=0 Do While (Data1.47 .

48 .Page No .

Page No .49 .

MoveNext Data1.Recordset.Text = "" Then MsgBox "ENTER THE DATA" Exit Sub ElseIf Text5.Recordset.SetFocus Data1.Text = "" Then MsgBox "ENTER THE DATA" Exit Sub ElseIf Text2.Visible = False If Text1. vbYesNo) If msg = vbYes Then Text1.Text = "" Then MsgBox "ENTER THE DATA" Exit Sub ElseIf Text6.Text = "" Then MsgBox "ENTER THE DATA" Exit Sub ElseIf Text4.FORM6 Private Sub Command1_Click() Frame1.Text = "" Then MsgBox "ENTER THE DATA" Exit Sub ElseIf Text3.AddNew ElseIf msg = vbNo Then Page No .50 .Text = "" Then MsgBox "ENTER THE DATA" Exit Sub End If msg = MsgBox("ARE YOU SURE YOU WANT TO ADD THE RECORD?".

EOF <> True) If (Data1.Text1.Visible = True End Sub Private Sub Command3_Click() Frame1.MoveFirst Do While (Data1.Refresh MsgBox ("RECORD IS DELETED") Else MsgBox ("SORRY!RECORD IS NOT DELETED") End If End Sub Private Sub Command5_Click() Unload Me End Sub Private Sub Command6_Click() Page No .Recordset.Refresh MsgBox "DATA IS SAVED" Text1.51 .Recordset.MoveNext Loop If (F = 1) Then Data1.Recordset.Recordset.SetFocus End If End Sub Private Sub Command2_Click() Frame1.Visible = False Data1.SetFocus End Sub Private Sub Command4_Click() Dim book As String Dim F As Integer F=0 book = InputBox("ENTER THE BOOK NAME WHICH YOU WANT TO DELETE") Data1.Fields(0) = book) Then F=1 Exit Do End If Data1.Recordset.Delete Data1.

Recordset.Fields(0)) = Trim(str)) Then F=1 Exit Do End If Data1.Locked = False Text6.SetFocus Data1.Recordset.Recordset.Edit Else MsgBox ("RECORD IS NOT FOUND SO DON'T UPDATES") Page No .52 .Recordset.Locked = False Text5.EOF <> True) If (Trim(Data1.Locked = False Text4.Locked = False Text2.Locked = False Text3.MoveFirst F=0 Do While (Data1.MoveFirst F=0 Do While (Data1.Recordset.MoveNext Loop If (F = 1) Then Text1.Recordset.Dim str As String str = InputBox("PLEASE ENTER THE BOOK FOR SEARCHING") Data1.Recordset.Fields(0)) = Trim(str)) Then F=1 Exit Do End If Data1.Recordset.EOF <> True) If (Trim(Data1.MoveNext Loop If (F = 1) Then MsgBox ("FOUND") Else MsgBox ("NOT FOUND") End If End Sub Private Sub Command7_Click() Dim str As String Dim F As Integer str = InputBox("ENTER THE BOOK NO WHICH YOU WANT TO UPDATE") Data1.Recordset.Locked = False Text1.

In case testing.Visible = False End Sub TESTING Testing Practice And Plans: It should be clear in mind that the philosophy behind testing is to find errors. However. there are preferred practices to ensure that the testing is Page No . Testing Objectives: The objective of the testing is:• • • Verify integration between objects. Verify integration of all components of the software To identify the defects prior t deployment of software There are two general strategies for testing software: Code Testing and Specification Testing. the analyst examines the program specifications and then writes test data to determine how the program operates under specific conditions. Test cases are devised with this purpose in mind. Under specification testing. Regardless of which strategy the analyst follows. the analyst develops that case to execute every instructions and path in a program. the data are created with the express intent of determining whether the system will process them correctly.Visible = False End Sub Private Sub Form_Load() Frame1.53 .End If End Sub Private Sub Form_Click() Frame1. A test case is a set of data that the system will process as normal input.

The test cases needed for unit testing should exercise each condition and option. The analyst must perform both unit and system testing. Testing is an important function to the success of the system. the goal will be successfully activated. System testing makes a logical assumption that if all the parts of the system are correct. For this reason. The levels of tests and types of test data. unit testing is sometimes called program testing. System Testing: The important and essential part of the system development phase. Levels Of Tests: Systems are not designed as entire systems nor are they tested as single systems. Another reason for system testing is its utility as a user-oriented vehicle before implementation. some error is there in the software development.useful. This helps the tester in detecting errors in coding and logic that are contained within that module alone. Unit Testing: In unit testing the analyst tests the programs making up a system. It cannot say that every program or system design is perfect and because of lack of communication between the user and the designer.54 . to find errors. The number and nature of error in a newly designed system depend on some usual factors like communication between the user and the designer the programmer’s ability to generate a code that reflects exactly the system specifications and the time frame for the design. The errors resulting form the interaction between modules are initially avoided. Unit testing gives stress on the modules independently of one another. combined with testing libraries. after designing and developing the software is system testing. For each. are important aspects of the actual test process. it provides that ability to enter. Page No . modify or retrieve data and respond to different types of inquiries or print reports.

These errors are shown through error messages generated by the computer. Each part of the system is tested against the entire module with both test and live data before the whole system is ready to be tested. It is the responsibility of programmer to have an error free program.System testing consists of the following five steps: • • • • • Program Testing String Testing System Testing System Documentation User Acceptance Testing Program Testing: A program represents the logical elements of a system. When there is a discrepancy. deals with incorrect data fields out of range items. At the time of testing the system. These errors are syntax and logic. each of which can be checked at certain key points. there exists two types of errors that should be checked. and invalid combinations. A syntax error is a program statement that violates one or more rules of the language in which it is written. System Testing: Page No . String Testing: Programs are invariably related to one another and interact in a total system. An improperly defined field dimension or omitted key words are common syntax errors. For a program to run satisfactorily. it must compile and test data correctly and tie in properly with other programs. A logic error on the other hand. Breaking the program down into self-contained portions. must he traced to determine the problem. the actual output is compared with the expected output. When a program is tested. the programmer must examine the output carefully to detect them. Each program is tested to see whether it conforms to related programs in the system. Since compiler does not detect the logical errors.55 . the sequence of the instructions. facilitates the process.

When we see that the proposed system is successful in the test.56 . the old system is discontinued. After a system is partially constructed. It verifies that the system’s procedures operate to system specifications and that the integrity of important data is maintained. Designing Test Data: The proper designing of test data is as important as the test itself.System testing is designed to uncover weaknesses that were not found in earlier tests. the programmers or analysts ask the users to key in a set of data from their normal activities. It also serves the following purposes: Page No . It is difficult to obtain live data in sufficient amount to conduct extensive testing. Need For Documentation: Preparation of documentation is quite important as it depicts what the system is supposed to be and how to be and how it should perform its functions. Test data may be live or artificial. Documentation improves overall operation in addition to management and audit control. Under this testing. The total system is also tested for recovery and fallback after various major failures to ensure that no data are lost during the emergency. This volume is increased until the maximum level for each transaction type is reached. After that a comprehensive test report is prepared. generally we take low volumes of transaction based on live data. Performance of an acceptance test is actually the user’s show. error rate and accuracy. User motivation is very important for the successful performance of the system. If test data as input are not valid or representation of the data to be provided by the user. The live data is that which is actually extracted from the user’s files. Then the reliability of the output is doubtful. All this is done with the old system still in operation. This includes forced system failure and validation of total system as it will be implemented by its user in the operational environment. performance range. It illustrates both technically and economically how a system would better serve the objectives and goals of the company. This report shows the system’s tolerance. User Acceptance Testing: An acceptance test has the objective of selling the user on the validity and reliability of the system.

The study on the maintenance requirement for the information system revealed that are: a. they are generally used for long periods. this period of use brings with it the need to continually maintain the system. b. the cost of maintenance.i. ii. However.57 . Communicates facts about system to users. Reviews the progress or development of application software. Page No . Maintainence System Maintainence The last part of the system development life cycle is system maintenance. Communicates between personnel working on a development project. when measured on the basis of writing each instruction in coding form. When systems are installed.Provides necessary guidelines to allow correction or revision of a system or its computer programs. Programmers/ analyst spend sufficient time for maintaining programs. is more than 50 times the cost of developing a system. In documented cases. which is actually the implementation of the post-implementation review plan. 60-90 per cent of the overall cost of software during the life of a system is spent on maintenance. iii. with oldest application often in use for over 10 years. The average life of a system is 4 to 6 years.

enhancement means adding. Making better use of existing tools and techniques. e. d. Unlike hardware. In contrast. Adoption maintenance means changing the program functions. A maintenance programmer has generally been paid fewer amounts and receives less recognition Page No . b. Enhancing the performance or modifying the programs according to user’s additional or changing needs are included in perceptive maintenance. software does not wear out. c. adoption or perceptive. it is corrected. Using more effective ways for designing processing logic and communicating it to project team members.58 . Preparation of system documentation in a better way. The maintenance can be classified as corrective. Many programmer are devoting more time on systems maintenance than on new software development. Maintenance means restoring something to its original position. There is a backlog of new development work. Managing the systems engineering process effectively. More time and money are spent on perceptive than on corrective and adaptive maintenance together Maintenance covers a wide range of activities including correcting coding and design errors. It is to keep with changing user needs and the operational environment. More accurately defining the user’s requirement during systems development.c. An addition factor in the success of the maintenance programmer is the environment. modifying or re-developing the code to support changes in the specifications. The software demand is increasing at faster rate than supply. processing or performance failures or making alterations because of previously ill-defined problems. The greatest amount of maintenance work is for user enhancement and improved documentation of the system for better efficiency. Many activities classified as maintenance actually fall under enhancements. updating documentation and test data and upgrading user support. Corrective maintenance means repairing. The key to reduce the need for maintenance while making it possible to carry on with essential tasks more efficiently are as follows: a.

methods and training. The environment must recognize the needs of the maintenance programmer for tools.than other programmers. especially for entry-level programmers. Maintenance demands more orientation and training then any other programming activities. Implementation of Security Limitation of Project LIMITATION OF THE PROJECT • • The project is not online so any area so it can be access only with the signle computers Project is not Networking Based • The Complete needs and requirement cannot be fulfilled at this level Future Scope Page No . Lighted attention has been paid to their training and career plans within the MIS function.59 .

PRESSMAN SYSTEM ANALYSIS BY JALOTE IGNOU BOOKLET OF SYSTEM ANALYSIS AND DESIGNING Black Book of Visual Basic 6. Bibliography REFERENCES: • • • • • • • • SOFTWARE ENGINEERING BY ROGER S. we would be unable to make any further changes and further enhancement.0 http://www. If the project has no future scope.60 . 2) This project can be converted to the multi user system in future if required. 3) If the organization grows upper level then this software can easily handle small modification.com http://www.0 Visual Basic Unleashed Page No .msdn. Thus the future extensibility is easily possible. The future scope of my software can be specified as follows: 1) This project is very flexible because if any changes occur in future then it can be easily accomplished in it.com Master Visual Basic 6.The future scope of the project should be determined so that the quality of Software project in terms of flexibility and enhancement can be measured and specified.google.

61 .Page No .

Sign up to vote on this title
UsefulNot useful