Sie sind auf Seite 1von 57

TITLE PAGE

DESIGNING A COMPUTER SOFTWARE FOR THE REGISTRATION OF


PATIENTS IN FSDT&T CLINIC/LABORATORY
BY
ONYEGBULA ONYEKACHI
CS/2006/081
A Pro!"# R!$!%r"& S'()*##!+ To T&! D!,%r#)!-# O. Co),'#!r S"*!-"!
F%"'/#0 O. N%#'r%/ S"*!-"! C%r*#%$ U-*1!r$*#0 A)or* N*2!3 E)!-! E-'4'5
I- P%r#*%/ F'/.*//)!-# o. T&! R!6'*r!)!-#$ For T&! A7%r+ O. B%"&!/or8$ O.
S"*!-"! 9B5S": D!4r!! I- Co),'#!r S"*!-"!
C%r*#%$ U-*1!r$*#0
A'4'$# 20105
1
CERTIFICATION
This is to certify that this design was carried out by Onyegbula Onyekachi of
Computer Science Department, Caritas University Amori !ike , "nugu for the
award of #achelor of Science under the supervision of$
%%%%%%%%%%%&& %%%%%%%&
Mr5 I2,!%)% L%7r!-"! Date
(PROJECT SUPERVISOR)
%%%%%%%%%%%% %%%%%%%&&
Mr5 E*2! U47' Date
HOD, COMPUTER SCIENCE
DEPARTMENT CARITAS
UNIVERSITY ENUGU
%%%%%%%%%%%%&& %%%%%%%%&
E;#!r-%/ E;%)*-!r Date

2
DEDICATION
This proect work is dedicated to 'od Almighty the giver of all wisdom, my
parents and siblings for their moral support throughout this research&
3
ACKNOWLEDGEMENT
( wish to e)press my profound thanks and appreciation to 'od almighty for his
guidance and protection throughout this period& ( also wish to acknowledge my
parents for their consult help in making sure that this proect is a success and for
my siblings and friends for their advice as well as constructive critics without
which this proect would not be complete& *uch of my appreciation goes to my
+onorable +OD, *r& "ike Ugwu and my proect supervisor *r& (kpeama under
whose morally support and direction on this proect has been made plausible and
worth while& ,inally, ( want to thank my parents, who supported me, may 'od
bless them Amen&
4
TABLE OF CONTENTS
Title -age%%%%%%%%%%%%%%%%%%%%%%%%%%%&&i
Approval -age%%%%%%%%%%%%%%%%%%%%%%%%&%&ii
Certification -age%%%%%%%%%%%%%%%%%%%%%%%&%iii
Dedication%%%%%%%%%%%%%%%%%%%%%%%%%%%&iv
Acknowledgement%%%%%%%%%%%%%%%%%%%%%%%&%v
Table Of Contents%%%%%%%%%%%%%%%%%%%%%%%&%vi
Appendi) %%%%%%%%%%%%%%%%%%%%%%%%%%%&&)
.ist Of Tables%%%%%%%%%%%%%%%%%%%%%%%%&&%&)
.ist Of ,igures%%%%%%%%%%%%%%%%%%%%%%%&&%&&&&)
Abstract %%%%%%%%%%%%%%%%%%%%%%%%%%%%&)i
CHAPTER ONE
/&/ (ntroduction%%%%%%%%%%%%%%%%%%%%%%%&&%%/
/&0 Statement Of The -roblem%%%%%%%%%%%%%%%%%&%%&&0
/&1 Aim Of The Study%%%%%%%%%%%%%%%%%%%%%%&&&&1
/&2 .imitations And Delimitations Of The Study%%%%%%%%%%&%%&2
/&3 Statement Of +ypothesis%%%%%%%%%%%%%%%%%%%%&&2
5
CHAPTER TWO
LITERATURE RE<IEW
0&/ An Overview Of The -roect%%%%%%%%%%%%%%%%%%&3
0&0+istory Of Dentistry%%%%%%%%%%%%%%%%%%%%%%&3
0&1 Computer Component And "volution%%%%%%%%%%%%%%%4
0&2 Computer "volution%%%%%%%%%%%%%%%%%%%%%%&5
0&3 Software "volution%%%%%%%%%%%%%%%%%%%%%%&&/6
0&7 Types Of Software%%%%%%%%%%%%%%%%%%%%%%&&&/6
0&7&/ System Software%%%%%%%%%%%%%%%%%%%%%%&&&//
0&7&0 Application Software%%%%%&%%%%%%%%%%%%%%%&&&//
0&4 Dental ,orms And Types%%%%%%%%%%%%%%%%%%%%&/0
0&5 Classification%%%%%%%%%%%%%%%%%%%%%%%%%/0
0&5&/ *edical +istory ,orm%%%%%%%%%%%%%%%%%%%%%/1
0&5&0 Social +istory ,orm%%%%%%%%%%%%%%%%%%%%%&&/1
0&5&1 Dental +istory ,orm%%%%%%%%%%%%%%%%%%%%%&/2
0&5&2 -re8Treatment ,orm%%%%%%%%%%%%%%%%%%%%%&&/2
CHAPTER THREE
SYSTEM ANALYSIS AND METHODOLOGY
1&/ 9esearch *ethodology%%%%%%%%%%%%%%%%%%%%%/3
6
1&0 9esearch Design%%%%%%%%%%%%%%%%%%%%%%%&&&/3
1&1 Areas Of Study%%%%%%%%%%%%%%%%%%%%%%%%&/3
1&2 *aterials ,or The Design%%%%%%%%%%%%%%%%%%%%&/7
1&3 *ethod Of Design%%%%%%%%%%%%%%%%%%%%%%%/7
1&7:uality Control%%%%%%%%%%%%%%%%%%%%%%%%&&/7
1&4 *ethod Of Data Analysis%%%%%%%%%%%%%%%%%%%%&/4
1&5 Test Of +ypothesis%%%%%%%%%%%%%%%%%%%%%%&&&/4
CHAPTER FOUR
DESIGN3 IMPLEMENTATION AND TESTING
2&/ Design Of The !ew System%%%%%%%%%%%%%%%%%%%/5
2&0 (nput Specification And Design%%%%%%%%%%%%%%%%%&&/5
2&0&/ (nput One%%%%%%%%%%%%%%%%%%%%%%%%%&&/5
2&0&0 (nput Two%%%%%%%%%%%%%%%%%%%%%%%%%&/;
2&1 Steps (n <isual #asic%%%%%%%%%%%%%%%%%%%%%&&/;
2&2 Database ,ile Using *icrosoft Access%%%%%%%%%%%%%%%06
2&3 -rogram ,lowchart%%%%%%%%%%%%%%%%%%%%%%&&00
2&7 Save The -rogram%%%%%%%%%%%%%%%%%%%%%%%02
2&4 (nstallation%%%%%%%%%%%%%%%%%%%%%%%%%%02
2&5 System Source 9eport%%%%%%%%%%%%%%%%%%%%%&&02
7
2&; :uality Control Test%%%%%%%%%%%%%%%%%%%%%%&03
2&/6 Comments On The Overall Use Of The Software%%%%%%%%%%&&05
CHAPTER FI<E
SUMMARY3 CONCLUSION AND RECOMMENDATIONS
3&/ Summary %%%%%%%%%%%%%%%%%%%%%%%%%%&0;
3&0 Conclusion%%%%%%%%%%%&&%%%%%%%%%%%%%%&&0;
3&1 9ecommendations%%%%&&&%%%%%%%%%%%%%&%%%%%16
9eferences %%%%%%%%%%%%%%%&&%%%%%&%%%%&&&10
=ournal%%%%%%%%%%%%%%%%%%%&&%%%%%%%%10
Appendi) (%%%%%%%&%%%%%%%%%%%%%%%%%%%&21
Appendi) ((%%%%%%%&%%%%%%%%%%%%%%&&%%%%&&&22
Appendi) (((%%%%%%%&%%%%%%%%%%%%%&%%%%%&&27
Appendi) iv%%%%%%%&%%%%%%%%%%%%%&%%%%%&&&25
8
LIST OF TABLES
Table /$ Dental +istory ,orm D#%%%%%%%%%%%%%%%%%&06
Table 0$ -ayment ,orm / D#%%%%%%%%%%%%%%%%%&&&&&&&00
Table 1$ Comments On The >ork%%%%%%%%%%%%%%%%%&03
Table 2$ >here ?ou Able To Understand And Use The >ork%%%%%&&&&07
Table 3$ >hen ,illing The ,orm Did ?ou "ncounter Any -roblem Of
.oading@+anging%%%%%%%%%%%%%%%%%%%%%%%%&&07
Table 7$ >here ?ou Able To Access The Database ,ile%%%%%%%%%04
Table 4$ +ow Did ?ou See The -ayment Option%%%%%%%%%%%%04
9
LIST OF FIGURES
,ig 4$ ,low Chart%%%%%%%%%%%%%%%%%%%%%%%%01
10
ABSTRACT
The study was aimed at designing a computer software for registration of patientAs
in ,SDTBT clinic@laboratory& The work was reviewed from te)t books, ournals,
website which highlights the process of designing of designing the software using
waterfall model method reCuirement, design, implementation, installation and
maintenance& Then sing visual basic 7&6 and *SD! to create the interface, writing
the code and set the properties and *icrosoft Access for the database&
CHAPTER ONE
11
151 INTRODUCTION5
A computer is a piece of electronic eCuipment which accepts input of data
using pre8defined instructions known as computer programs to e)ecute the task in
order to produce output DAnyaogu,0661E&
According to Anyaogu, D0661E, a computer program is a seCuence of logically
valid instructions which tells the computer what it is reCuired to do& These
programs or instructions are written in computer language& Software can be
defined as that ordered seCuence of instructions for changing the state of the
computer hardware in a particular seCuence which is usually written in high8level
programming languages that are easier and more efficient for humans to use the
machine language Dwww&wikiepedia&comE&
Dental software are written in an assembly language essentially a mnemonic
representation of machine language using natural language alphabet and it is
classified under application software which allows end users to accomplish one or
more specific task, Dwww&freedictionary&comE&
(n accordance with 0/
st
century technology treatment plan and upgrading of
eCuipment and record keeping in a particular format with uploading of patientAs
medical@dental history as they visit the dental laboratory@ clinic is necessary& There
is need to develop a soft record of a particular patient@ client past history accessible
12
whenever he@she visit the laboratory@clinic brings about the development of a
computer aided software to store this record instead of the use of papers and cards&
User written software are end8user development tailor8made systems to meet userAs
specific needs, e)ample dental patient laboratory@clinic registration software which
helps in designing computer based information system ranging from relatively
simple data entry to retrieval of obs reCuiring long term analysis and planning&
152 STATEMENT OF THE PROBLEM
(n combating the lost of vital patient dental documents@history in the
laboratory@ clinic there is need to designing a computer based software for the
registration of dental patients& The loss of these in formations is as a result of the
following
-oor information storage method$ The use of office files and file cabinet is
not a good form of information storage those days&
(nsecurity of data because it is prone to vandaliFation and unauthoriFed
accessibility&
Duplication of data in various departments because of the nature of work
needed&
13
(t takes a long time in accessing records in the manual system due to the nature of
work in the clinic& (t is always good for materials to finish unnoticed&
15= AIMS OF THE STUDY5
The aim of this study is to design computer software for the registration of
dental patient in federal school of dental technology and therapy clinic@laboratory&
Other aims of the work include the following
aE To work towards the elimination of ineffective modes of operation& (t
centers on the user having a good atmosphere for work thereby minimiFing
stress&
bE The obective from the initiator of the proposal is generally towards
combating all the problems discovered on the e)isting system, which are
listed under the problem of study&
cE Safeguarding of information through effective monitoring and accessing of
the storage data in given filling processing system Ddata baseE&
15> LIMITATIONS AND DELIMITATIONS OF THE STUDY5
14
The hindrances that were faced during this proect work are lack of finance to
carryout the proect effectively and efficiently&
Another hindrance was the location and availability of a programmer to design the
program& The high cost of a computer system and the functions used in the design
the software also posed some hindrances to this proect but later it was overcome
when a functional computer set was delivered to the programmer&
The academic work load and the time frame for the proect work was also another
hindrance&
&
CHAPTER TWO
15
250 LITERATURE RE<IEW5
251 AN O<ER<IEW OF THE PRO?ECT
This work was reviewed from te)tbooks, ournals, website, published and
unpublished books with the following sub8 headings$
- +istory of Dentistry&
- Computer component and "volution&
- Types of Software&
- *odels used in designing software&
- Steps in designing software&
- Software "volution&
- User8 >ritten software&
252 HISTORY OF DENTISTRY5
Dentistry by definition is a branch of medicine that involves diagnosis, prevention
and treatment of any disease concerned with teeth, oral cavity and associated
structures Dwww&inventors&about&comE& According to >ikipedia encyclopedia,
dentistry is the known evaluation, diagnosis, prevention and treatment of diseases,
disorders and conditions of the soft and hard tissues of the aw, the oral cavity,
ma)illofacial areas and the adacent and associated structures and their impact on
the human body& (t is considered necessary for complete overall health& Dentistry
16
as evidence started around the 3666#C and 4666#C by the (ndus valley
civiliFation in -alestine, (ndian, "gypt, =apan and China, which describes how the
earliest form of dentistry involved curing of tooth related disordered with bow
drills operated, also describes a tooth worm as the cause of dental caries& The
"dwin Smith -apyrus written in the /4
th
century #C but which reflect previous
manuscript from as early as 1666#C, includes the treatment of several dental
Ailments and an early attempt at dental prosthetics and surgery on some ancient
"gyptians and 'reco89omans DDouglas, /;45E
The history evolves from using forceps to e)tract teeth, using wire to stabiliFe
loose teeth and fractured aws& During the middle age and throughout the /;
th
century, dentistry was not a profession in itself and often dental procedure were
performed by barber or general physicians in who barbers e)tract teeth to alleviate
pain and associated chronic tooth infection& (t was between /736 and /566 that the
science of modern dentistry developed which said that -ierre ,auchard started
dentistry science and called the father of modern dentistry whose development
were the e)tensive use of dental prosthesis, introduction of dental fillings as a
treatment to dental caries and the facts that sugar derivative acids such as tartaric
acid are responsible for dental decay& And so many materials, methods and
treatment plan and eCuipments have evolved ever since for treatment of dental
patients to restore confidence and convenience& Dwikipedia&org, cda&org, ada&comE&
17
25= COMPUTER COMPONENT AND E<OLUTION5
The computer as earlier defined is a piece of electronic eCuipment which accepts
input in form of data using pre8defined instructions known as computer programs
to e)ecute the task in order to produce output DAnyaogu,0661E& These operations
are carried out by the components which are hardware likes$
- *onitor DC9T, cathode ray tubeE, which is the output devices that provides
principal visual contact with the microcomputer system&
- System Unit the main computer system cabinet usually houses the power
supply which provides electrical power to all components housed in the
system unit, the system board@motherboard is the main circuit board of the
computer system which include C-U, main memory chips, e)pansion slot
where additional computers can be plugged in, the storage devices usually a
high capacity hard disk e)ternal drives Ddiskette, CDs, D<Ds, flash drivesE&
- The keyboard made up of a circuit board and related electronic components
that generate a uniCue electronic code when each key is pressed&
- The central processing unit which is the brain of the computer, it reads and
interprets software instructions and co8ordinate the processing activities that
must take place& This includes$ main memory, stored data, information and
instructions, arithmetic and logical unit DA.UE performs arithmetic and
18
logical operations likes addition, subtraction, division and multiplication and
any type of comparism,Dputting data in a particular orderE& The control units
serve as the commander of the system& (t tells the microcomputer what to do
and how to do it DAdibe, 0663E&
25> COMPUTER E<OLUTION
The development of modern day computer was the result of advances in
technologies and manAs need to Cuantify& -apyrus helped early man to record
language and numbers& The Abacus was the first counting machine& (t was
invented in the year 0266#C in #abylon& The Antikythera mechanism is
believed to be the earliest known mechanical analog computer which was
designed to calculate astronomical positions& The use of Algorithms and #inary
logic which are used for summary and application of arithmetic to algebra& The
binary logic was FeroAs D6E and oneAs D/E& The use of punch cards invented by
=oseph *arie =acCuard in /565& #efore the /;06s computer use human clerks
that perform computations& On producing a computation machine after the
/;06s that the first generation computers came into being D/;128/;32E Dvacuum
tubesE which were very big and perform various computations& "&g& which were
very big and perform various computations, DU!(<ACE&
19
Second generation computers D/;328/;3;E& DTransitionE& The emergence of
transistors radios, recording machine accounting&
Third generation computers D/;3;8/;4/E D(CE& "fforts was made in the /;76As
to design and develop the fastest possible computer with the greatest capacity
reached a turning point with .A9C machine D.ivermore radiation laboratoryE
with a base memory of ;5,666words with 9A* and during this period the
maor computer manufacturers began to offer range of compatibilities and
prices as well as accessories such as console, card feeder, page printer, cathode
ray8tube displays, graphing devices used in accounting, payroll, billing,
ordering supplies&
,ourth generation computers D/;4/8/;;/E& D*icroprocessorE& These
microprocessors are handling 10bits of data at a time and could process about
2,666,666 instructions per second& (t was eCuipped with read only memory
D9O*E which stores constantly used, unchanging programs, now performed an
increased number of process control, testing, monitoring and diagnosing
functions like duties and automobile ignition system, production line inspection
duties and automobile8 engine diagnosis& The use of desktop computers, video
games&
20
,ifth generation computers D/;;/ and beyondE& The invent of >orld >ide >eb
DwwwE& Other modification, sophisticated handset@ phones, the wearable
computers like blue tooth hand free&
D>ikipedia&com,computersciencelab&com,computerhistory&com,inventors&about&
comE&
25@ SOFTWARE E<OLUTION
Software evolution in the late /5;6As and has been on the increase till date&
<arious packages are being designed for different end users tasks from
cumbersome work plan to a more simple but sophisticated designs of software
and variations according to the application they are used for& (t takes months for
a programmer if not years to design application software that will pass through
all the processes of construction, debugging Dtesting softwareE and installation
DOkafor, 0662E&
256 TYPES OF SOFTWARE
-ractical computer systems divide software systems into three maor classes$
- System software&
- Application software
21
- Utility software DAdibe, 0663E&
25651 SYSTEM SOFTWARE$ this is to insulate the applications programmer
as much as possible from the details of the particular computer comple) being
used especially memory and other hardware features and such accessory
devices as communications, printers, readers, displays, keyboard D9oland,
0665E& (t also helps run the computer hardware and computer system which
includes$ device driver, diagnostic tools, operating systems, servers, utilities and
windowing systems& Also systems software allows the user to interact with the
computer and comprises of large number of instructions that can be grouped
into internal command instructions& ")ternal command instructions, language
processors DAdibe, 0663E&
25652 APPLICATION SOFTWAREA are programs that carry out the tasks
reCuired by the user& (t allows the end user to accomplish one or more specific
Dnoon8computer relatedE tasks& These applications include$ (ndustrial automation
business software, medical software and utility software which provide any
specific seCuence of records for upgrading, reporting or any other use& DDouglas,
/;45E&
25B DENTAL FORMS AND TYPES
22
Dental form is an official document containing Cuestions and spaces for
answers about the dental history, social history, medical history and pre8
treatment history of patient which will enable the clinician make evaluation and
dental treatment& D.orimar et& al&, /;;3E&
-atients are often confused as to the reasons why they need to fill out medical
and dental history forms, people often do not realiFe how their dental health
affects their physical health and also how their physical health affects their
dental health& The answers to the Cuestions in this forms helps to provide the
clinician with better treatment recommendations that are specific to the patient&
The clinician can teach the patient what risk factors affect his@her health&
258 CLASSIFICATIONS
There are different sub classes of dental forms but for the purpose of this work (
will be identifying and discuss four types which are$
8*edical +istory ,orm&
8Social +istory ,orm&
8Dental +istory ,orm&
8-re8treatment ,orm&Ddentalrecord&com,dentalgentlecare&comE&
23
25851 M!+*"%/ &*$#or0 .or)A the medical history deals with the general
medical@ clinical e)amination of the patients& This is important because when
combined with the results of your initial clinical e)amination, the clinician will
then be able to access the patients immediate dental care needs and recommend
the best treatment approach to a particular case& This form records everything
about the patientAs health, even if the patient thinks it doesnAt relate to his@her
mouth e&g& if a patient have had surgery or maor illness, he@she should be sure
to include this information in the medical history, many disease can have
significant effects on the patientAs mouth and teeth and research continues to
discover ways in which oral health is related to overall health& (nformation
about medications the patient is currently taking can be vital to his@ her health,
especially in an emergency, or during treatment as regards administration of
drugs& Ddentalgentlecare&com, cda8ada&caE&
25852 So"*%/ &*$#or0 .or)A this form deals with the patient social history in
relations to his@her family history, friends, type of work, locations of residence
so as to help the clinician in given treatments and alerting the relations in case
of emergencies& Ddentalrecords&comE&
2585= D!-#%/ &*$#or0 .or)A patients are often confused as to the reasons why
they need to fill out dental history forms& -eople often do not realiFe how their
24
dental health affects their physical health& The answers to these Cuestions help
provide the clinician with better treatment recommendations that are specific to
the patients& The clinician can teach the patient what risk factors affect his@her
health& Ddentalgentlecare&comE& Dental e)aminations can reveal gum disease,
cavities, oral cancers, poor oral health conditions that are linked to diabetes,
heart disease and poor@ rehabilitated overall health of the patient& This form
helps clinician with better treatment that is specific to each patient&
Ddentalgentlecare&comE&
2585> Pr!C#r!%#)!-# .or)A the form contains some Cuestions about the type of
treatment the patient need to undergo& These treatments are indicated by the
dentist and the department responsible for the treatment will render the services&
(ts important is to enable the clinician to know the e)act treatment to be given
and the necessary department to carry out this treatment&Ddentalforms&com,
dentalgentlecare&comE&
CHAPTER THREE
=50 SYSTEM ANALYSIS AND METHODOLOGY
25
=51 RESEARCH METHODOLOGY
9esearch methodology deals with the method applied in collecting information
which includes the design, case study, population of the study, materials for the
design of a new system, method of operation and instruments in use&
=52 RESEARCH DESIGN
An e)perimental research design will be adopted here where software will be
design for dental patientsA registration&
=5= AREA OF STUDY
The area of study is federal School of Dental Technology And Therapy,
-&*&#&6/241, Trans8"kulu, in "nugu "ast local government area of "nugu
State in !igeria& (t is a professional institution for the training of dental
Technologists and Dental Therapist& The school has different departments with
a population of over five hundred students& (t has a dental clinic and laboratory
for treatment of patient@client visiting the clinic, the dental clinic treats patient
with various oral diseases and renders services like e)traction, filling, O+( Doral
health instructionsE, drug administration, surgery, radiography and other
services, the dental laboratory renders restorative services to patients@client
attending ,ederal School of Dental Technology and Therapy clinic&
26
=5> MATERIALS FOR THE DEISGN
*aterials as computer sets, disc plate, diskette, manuscripts of dental@medical
history form programmable software like D*icrosoft visual basic 7&6, *icrosoft
e)cel@access and *icrosoft power point@*SD!E are used in the design of the
software&
=5@ METHOD OF DESIGN
A concise approach@method using users interface design, database analysis and
*icrosoft visual #AS(CD<#AS(C 7&6E *icrosoft e)cel@access in designing the
software in which a linker and compiler is used to link the interface, database
together and written on a CD with a CD98>
=56 DUALITY CONTROL
To check the Cuality@ efficiency of the software measure as running the program
on a different computers, using debugger to check for errors while compiling
the software and when in use are put into consideration, checking viruses and
installation of antivirus that can short down the database so that patientAs data
might not be lost& Setting up of workable password to avoid the database so that
patientAs data@documents are kept confidential& :uestionnaires were designed to
check the acceptability and working ability of the software&
27
=5B METHOD OF DATA ANALYSIS
The input and output design of the software will be used testing with a
downloadable software to check how it process data and feedback mechanism,
structured Cuestionnaires will be used to carryout evaluation of the software&
CHAPTER FOUR
>50 DESIGN AND IMPLEMETATION AND TESTING
>51 DESIGN OF THE NEW SYSTEM5
28
The maor factor taken into consideration is the storage of data@information in an
electronic format& These new systems have different sections or registration of
patients&
>52 INPUT SPECIFICATION AND DESIGN
The input specification supplies data needed for calculation as well as the program
that tells the computer how and what to do with the data& The standard input unit
for this specification includes the keyboard and mouse, light pen& The inputs to the
system are$
/& Create the interface DformE&
0& Set the properties&
1& >rite the code
2& Design and create the database file&
3& Accessing the database files from within an application through different set
of protocols and interface media&
7& -roviding adeCuate mechanism through which access to the database is
controlled and verified&
29
>5> DATABASE FILE USING MICRSOFT ACCESS5
T%(/! #0,! A M*"ro$o.# %""!$$
S/N FIELD NAME FIELD TYPE FIELD SIEE
/ -atients !ame Te)t 26
0 'ender Te)t /0
1 Age (nteger 3
2 9eligion Te)t /6
3 Status Te)t /0
7 +ome Address Te)t 1/
4 +ospital !umber Te)t@ (nteger /1
5 -hone !umber (nteger /5
; Occupation Te)t /2
/6 !ationality Te)t /0
// State Te)t //
/0 !e)t of Gin Te)t 26
/1 #lood 'roup Te)t 3
/2 'enotype Te)t 2
/3 9hesus H@8 Te)t ;
/7 -ast Dental +istory Te)t 036
/4 ,amily +istory Te)t 066
/5 -ast *edical +istory Te)t 066
/; Scaling and -olishing Te)t 3
06 +ospital !umber (nteger /1
0/ 9adiography Te)t 3
30
00 -rophylasics Te)t 3
01 9estorative Services Te)t 3
02 Orthodontic Services Te)t 3
03 Surgery Te)t 3
07 Others Te)t 3
04 Date (nteger /3
05 ")tra Oral ")amination Te)t 03
0; (ntra Oral ")amination Te)t 03
16 Treatment -lan Te)t 236
1/ Date of !e)t Appointment (nteger 02
T%(/! 1 -%)!A +!-#%/ &*$#or0 .or) DB
M*"ro$o.# %""!$$
S/N FIELD NAME FIELD TYPE FIELD SIEE
/ -atients !ame Te)t 00
0 +ospital !umber Te)t 06
1 Address Te)t 03
2 Treatment Te)t 00
3 Amount (nteger 06
7 Date of -ayment (nteger 02
T%(/! 2 -%)!A ,%0)!-# .or) 1 DB
>5@ PROGRAM FLOW CHART
31
The flow chart was used for effective graphical representation of the program for
easy accessibility and use by end users to give a brief output and input of how the
program runs in the system&
FIG BA F/o7 C&%r# DOkafor, 0662E
32
Accessing the database file from within an application using the compiler, the
debugger to remove all errors and the installer for easy installation and linking the
code with the interface and database of the software& The command button links up
and when clicked on the start button helps to run the program through installed
programs like *SD!, visual basic *icrosoft access and *icrosoft e)cel&
>56 SA<E THE PROGRAM
On the file menu, click the save proect as command& The program can be saved at
anytime during programming process& The saved file as dialog bo) appears,
prompting you for the name and storage location for the form& (t is saved in the
practice folder that the *icrosoft visual basic 7&6 step by step practice files
installation program created on your hard disk@ disc&
>5B INSTALLATION
The computer system is put on and the disk is inserted in the drive and clicks the
start button& Click my computer and drive D, then on the windows that appear click
install and it automatically install the program on the system& After which the disc
is eected automatically&
>58 SYSTEM SOURCE REPORT
33
After installing the software data was input and after running the program, the
output was shown on the monitor& The output can also be printed on paperI
therefore it indicates that the design of the new system is efficient and effective&
The software was designed to be user friendly and can run on all operating systems
Dwindows operating system, DOSE&
>5F DUALITY CONTROL TEST
The Cuality control test was designed to determine the acceptability of the design
and how literate people were and how it works& The test was carried out in the
school clinic@laboratory with /6 respondent was use which comprises of 2
Technologist, 1 Therapist and 1 Surgeons& The finding is as tabulated below$
I#!) No P!r"!-#%4!
")cellent 7 76J
'ood 1 16J
,air / /6J
To#%/ /6 /66J
T%(/! =A +ow do you see the proect workK
7D76JE of the respondent says the work is e)cellent, 1D16JE says good and /D/6JE
says fair&
34
I#!) No P!r"!-#%4!
?es 5 56J
!o 0 06J
Unsure 6 6J
To#%/ /6 /66J
T%(/! >A where you able to understand and use the workK
5D56JE of the respondent were able to understand and use the software, 0D06JE
did not use it, 6D6JE was unsure&
I#!) No P!r"!-#%4!
?es 6 6J
!o 5 56J
Unsure 0 06J
To#%/ /6 /66J
T%(/! @A when filling the form did you encounter any problem of loading@hangingK
5D56JE said they did not encounter any hanging while filling the form, 0D06JE was
unsure and 6D6JE did not e)perience hanging&
35
I#!) No P!r"!-#%4!
?es ; ;6J
!o / /6J
Unsure 6 6J
To#%/ /6 /66J
T%(/! 6A where you able to access the database fileK
;D;6JE were able to access the database file of each patient registered, /D/6JE was
not able to access the database file reasons not stated&
I#!) No P!r"!-#%4!
")cellent 3 36J
'ood 1 16J
,air 0 06J
To#%/ /6 /66J
T%(/! BA how did you see the payment optionK
3D36JE found the payment option as e)cellent, 1D16JE found it as good, 0D06JE
said it is fair&
36
>510 Co))!-#$ o- #&! o1!r%// '$! o. #&! $o.#7%r!5
;6J wants the software to be put to use immediately for registration of patients&
26J wants it to be upgraded and new things added into it Dsee appendi)E& /66J of
all likes the proect work and encourage more of the kind of work&
37
CHAPTER FI<E
@50 SUMMARY3 CONCLUSION AND RECOMMENDATION
@51 SUMMARY
The research design was carried out to design a computer software for registration
of patients attending ,SDTBT clinic and because of loss of patients documentation
and history this software was design which is user friendly Duser orientedE to tackle
the problems of card and paper in the aspect of patientAs registration and payment
records&
-atient 9egistration$ The software is able to register patientAs through the input
device by the desk users& The patientAs dental history, medical history and social
history is input into the system through the software link and along side the
treatment plan@history is also input into it& The patient history can also be uploaded
in case of reference, referral or amendments of the patientAs attending ,SDTBT
clinic when put to test&
-ayment$ The software is able to record through input the amount paid by each
patient that attends the clinic and this part of the software also gives an accurate
account of the step by step payment made to the clinic bursary& The software has a
help desk that deals with the information about the software and the school, it is
version /&6&
38
:uality Control Test$ from the respondents view and discussion 52J of the
respondent found the ob to be e)cellent and understandable and should be put to
use and encourage immediate use of the software&
@52 CONCLUSION
After the research design of the new software it is concluded that in accordance
with the line of duty of the 0/
st
century technological treatment plan and record
keeping with payment options& (t is necessary to design and implement this
software for easy and fast healthcare delivery in our institution& The software was
design to tackle problems of loss of patient records, clerking, use of cards and
papers to reduce the level of damage generated by the use of this materials, the
more need for a soft copy of the patientAs records& (t is concluded thus that the
software is user friendly and could run on any windows operating system@ disc
operating system&
@5= RECOMMENDATION
The following recommendations were made with regards to the design and finding
from the Cuality control test carried out on the software$
- The software should be put to use so that better oral health care delivery can
be carried out through clerking and records&
39
- (t was also recommended that each of the departments should be supplied
with a computer set and a central computer for easy networking and access
to the database of the software, and give adeCuate report and workload of
each department in line with the technological trends of the 0/
st
century&
- (t was recommended that further upgrade of the software should be done as
the advancement comes up in technology&
REFERENCES
Adibe, *&O, D0663E, Computer Operatio a! App"i#atio$, !igeria,
Ginsmann publisher, "nugu&
40
Anyaogu, <&O D0661E, Computer %itera#& a! App"i#atio 'or Pro(e$$ioa"$
A! Stu!et$) 0
nd
"dition, "nugu !igerian, C(D8=A- -ress (kwuato
St)
AFarpoaFhoh, A& B.imeback, +& D0665E, A S&$temati# Re*ie+ O( %iterature,
The =ournal Of The American Dental Association, +++)a!a,oura")#om)
Douglas, #&+&,D/;45E, Computer Ha!-oo. 'or Seior Maa/emet) 0A)
Ma#mi""ia Pu-"i$1i/ #o, I# NN)
.orimar, T&.&B Cummings *&, +amlen !&, et al, D/;;3E, T1e E#&#"ope!ia
Ameri#aa (nternational "dition, U&S&A&, 'rolier (ncorporated&
*icrosoft "ncarta 066;& /;;180665 *icrosoft Corporation&
Okafor, C&, Okonkwo, O& D0662E, Itro!u#tor& E2perie#e 0it1 3UIC4
5ASIC, !igeria, (mmaculate -ublications limited, "nugu&
Okafor, "&C&, D066/E, Starti/ 0it1 Computer$) ,irst "dition, !igeria,
(mmaculate -ublications .td, "nugu&
9oland, #&, *ichole, T& D0665E, %o/ O To It, "ngland, -earson "ducation
.imited "dinbury .ongman -erson&
Staintonskinn, =& D/;57E, 0or! Pro#e$$i/ T1eor& A! Pra#ti#e, "ngland,
Stanley Thornes D-ublisherE .td .eckhampton&
INDEG
PROGRAM CODE
-rivate Sub ,ormL.oadDE
41
Timer/&"nabled M True
"nd Sub
-rivate Sub Timer/LTimerDE
pass&Show
Unload *e
"nd Sub -rivate Sub Command/LClickDE
(f user&Te)t M NatinukeadeN And password&Te)t M NdadaN Then
main&Show
Unload *e
"lse
.abel1&Caption M N"nter your password and username password entered is wrong
try againN
.abel1&#ackColor M vb'reen
#eep
user&Te)t M NN
password&Te)t M NN
user&Set,ocus
"nd (f
"nd Sub
-rivate Sub Command0LClickDE
Unload *e
"nd Sub -rivate Sub ctbLClickDE
tota&Show
"nd Sub
-rivate Sub absmnuLClickDE
frmAbout&Show
"nd Sub
-rivate Sub abusmnuLClickDE
us&Show
"nd Sub
-rivate Sub e)itmnuLClickDE
"nd
"nd Sub
-rivate Sub hismnuLClickDE
42
dhistroy&Show
main&"nabled M ,alse
"nd Sub
-rivate Sub hisreeLClickDE
histroy&Show
"nd Sub
-rivate Sub histLClickDE
pat&Show
"nd Sub
-rivate Sub payLClickDE
bill&Show
"nd Sub
-rivate Sub priLClickDE
cd&Show-rinter
"nd Sub
-rivate Sub recmnuLClickDE
record&Show
"nd Sub
-rivate Sub recvLClickDE
paymenti&Show
*e&"nabled M ,alse
"nd Sub
-rivate Sub repLClickDE
rec&Show
"nd Sub
-rivate Sub Timer/LTimerDE
Dim Today As <ariant
Today M !ow
week&Caption M ,ormatDToday, NddddNE
month&Caption M ,ormatDToday, NmmmmNE
year&Caption M ,ormatDToday, NyyyyNE
day&Caption M ,ormatDToday, NdNE
time&Caption M ,ormatDToday, Nh$mm$ss ampmNE
43
"nd Sub
-rivate Sub Timer0LTimerDE
(f animate&.eft O 82666 Then
animate&*ove Danimate&.eft 8 166E
"lse
animate&.eft M 3666
"nd (f
"nd Sub
-rivate Sub tretLClickDE
search0&Show
"nd Sub
-rivate Sub tritmnuLClickDE
treatment&Show
main&"nabled M ,alse
"nd Sub
-rivate Sub Command/LClickDE
>ith dhistroy&memberdata
&Database!ame M App&-ath B NPdental&mdbN
&9ecordSource M Nselect Q from historyformN
&9efresh
Do Until &9ecordset&"O,
(f dhistroy&no&Te)t M &9ecordset&,ieldsDNnoNE Then
*sg#o) NThe +ospital !umber already e)istN
'oTo 06
")it Do
"nd (f

&9ecordset&*ove!e)t
.oop
"nd >ith
>ith memberdata
&Database!ame M App&-ath B NPdental&mdbN
&9ecordSource M Nselect Q from historyformN
&9efresh

&9ecordset&Add!ew
&9ecordset&,ieldsDN!ameNE M dhistroy&nam&Te)t
44
&9ecordset&,ieldsDNoccupationNE M dhistroy&occupation&Te)t
&9ecordset&,ieldsDNbloodgroupNE M dhistroy&bloodgroup&Te)t
&9ecordset&,ieldsDNpastdentaalhistoryNE M dhistroy&pastdentalhistroy&Te)t
&9ecordset&,ieldsDNfamilyhistoryNE M dhistroy&familyhistroy&Te)t
&9ecordset&,ieldsDNaddressNE M dhistroy&address&Te)t
&9ecordset&,ieldsDNageNE M dhistroy&age&Te)
&9ecordset&,ieldsDNreligionNE M dhistroy&religion&Te)t
&9ecordset&,ieldsDNphoneNE M dhistroy&phone&Te)t
&9ecordset&,ieldsDNgenotypeNE M dhistroy&genotype&Te)t
&9ecordset&,ieldsDNrhesusNE M dhistroy&rhesus&Te)t

&9ecordset&,ieldsDNstateNE M dhistroy&state&Te)t
&9ecordset&,ieldsDNne)tofkinNE M dhistroy&kin&Te)t
&9ecordset&,ieldsDNnoNE&<alue M dhistroy&no&Te)t
&9ecordset&,ieldsDNpastmedicalhistoryNE M dhistroy&medical&Te)t
(f gen/&<alue M True Then
&9ecordset&,ieldsDNgenderNE M dhistroy&gen/&Caption
"lse(f gen0&<alue M True Then
&9ecordset&,ieldsDNgenderNE M dhistroy&gen0&Caption
"nd (f
(f nat/&<alue M True Then
&9ecordset&,ieldsDNnationalityNE M dhistroy&nat/&Caption
"lse(f nat0&<alue M True Then
&9ecordset&,ieldsDNnationalityNE M dhistroy&nat0&Caption
"nd (f
(f stat/&<alue M True Then
&9ecordset&,ieldsDNstatusNE M dhistroy&stat/&Caption
"lse(f stat0&<alue M True Then
&9ecordset&,ieldsDNstatusNE M dhistroy&stat0&Caption
"lse(f stat1&<alue M True Then
&9ecordset&,ieldsDNstatusNE M dhistroy&stat1&Caption
"lse(f stat2&<alue M True Then
&9ecordset&,ieldsDNstatusNE M dhistroy&stat2&Caption
"nd (f
&9ecordset&Update
"nd >ith
dhistroy&nam&Te)t M NN
dhistroy&address&Te)t M NN
dhistroy&age&Te)t M NN
45
dhistroy&religion&Te)t M NN
dhistroy&phone&Te)t M NN
dhistroy&state&Te)t M NN
dhistroy&kin&Te)t M NN
dhistroy&no&Te)t M NN
sucess&Show
Unload *e
06
#eep
"nd Sub
-rivate Sub Command0LClickDE
Unload *e
main&"nabled M True
"nd Sub
Option ")plicit
-rivate Sub Command/LClickDE
(f treatment&date/&Te)t M NN Then
*sg#o) DN ?ou must enter date of treatmentNE
treatment&ne)t&Set,ocus
")it Sub
"nd (f
>ith treatment&memberdata
&Database!ame M App&-ath B NPdental&mdbN
&9ecordSource M Nselect Q from treatN
&9efresh
Do Until &9ecordset&"O,
(f treatment&no&Te)t M &9ecordset&,ieldsDNnoNE Then
&9ecordset&"dit
(f Check/&<alue Then
&9ecordset&,ieldsDNtreatment/NE&<alue M Check/&Caption
"nd (f
(f Check0&<alue Then
&9ecordset&,ieldsDNtreatment0NE M Check0&Caption
"nd (f
(f Check1&<alue Then
&9ecordset&,ieldsDNtreatment1NE M Check1&Caption
"nd (f
(f Check2&<alue Then
46
&9ecordset&,ieldsDNtreatment2NE M Check2&Caption
"nd (f
(f Check3&<alue Then
&9ecordset&,ieldsDNtreatment3NE M Check3&Caption
"nd (f
(f Check7&<alue Then
&9ecordset&,ieldsDNtreatment7NE M Check7&Caption
"nd (f
(f Check4&<alue Then
&9ecordset&,ieldsDNtreatment4NE M Check4&Caption
"nd (f
&9ecordset&Update
Unload *e
sucess&Show
'oTo 06
")it Do
"nd (f
&9ecordset&*ove!e)t
.oop
"nd >ith
>ith memberdata
&Database!ame M App&-ath B NPdental&mdbN
&9ecordSource M Nselect Q from treatN
&9efresh
&9ecordset&Add!ew
&9ecordset&,ieldsDNe)traNE M treatment&e)tra&Te)t
&9ecordset&,ieldsDNintraNE M treatment&intra&Te)t
&9ecordset&,ieldsDNnoNE M treatment&no&Te)t
&9ecordset&,ieldsDNtreatmentplanNE M treatment&plan&Te)t
&9ecordset&,ieldsDNne)ttreatmentNE M treatment&ne)t&Te)t
(f Check/&<alue Then
&9ecordset&,ieldsDNtreatment/NE M treatment&Check/&Caption
"nd (f
(f Check0&<alue Then
&9ecordset&,ieldsDNtreatment0NE M treatment&Check0&Caption
"nd (f
(f Check1&<alue Then
&9ecordset&,ieldsDNtreatment1NE M treatment&Check1&Caption
"nd (f
(f Check2&<alue Then
47
&9ecordset&,ieldsDNtreatment2NE M treatment&Check2&Caption
"nd (f
(f Check3&<alue Then
&9ecordset&,ieldsDNtreatment3NE M treatment&Check3&Caption

"nd (f
(f Check7&<alue Then
&9ecordset&,ieldsDNtreatment7NE M treatment&Check7&Caption

"nd (f
(f Check4&<alue Then
&9ecordset&,ieldsDNtreatment4NE M treatment&Check4&Caption
"nd (f
&9ecordset&,ieldsDNdate/NE M treatment&date/&Te)t

&9ecordset&Update
"nd >ith
sucess&Show
Unload *e
06
#eep
"nd Sub
-rivate Sub Command0LClickDE
Unload *e
main&"nabled M True
"nd Sub
-rivate Sub Command/LClickDE
(f Option/&<alue M True Then
histroy&Show
Unload *e
"nd (f
(f Option0&<alue M True Then
search0&Show
Unload *e
"nd (f
"nd Sub
-rivate Sub Command0LClickDE
48
Unload *e
main&"nabled M True
"nd Sub
-rivate Sub ,ormL.oadDE
Option/&<alue M ,alse
Option0&<alue M ,alse
"nd Sub -rivate Sub Command/LClickDE
On "rror 9esume !e)t
>ith display/&memberdata
&Database!ame M App&-ath B NPdental&mdbN
&9ecordSource M Nselect Q from historyformN
&9efresh
&9ecordset&*ove,irst
Do Until &9ecordset&"O,
(f histroy&Te)t/&Te)t M &9ecordset&,ieldsDNnoNE Then
display/&Show
display/&nam&Caption M &9ecordset&,ieldsDN!ameNE
display/&address&Caption M &9ecordset&,ieldsDNAddressNE
display/&no&Caption M &9ecordset&,ieldsDNnoNE
display/&gender&Caption M &9ecordset&,ieldsDNgenderNE
display/&age&Caption M &9ecordset&,ieldsDNageNE
display/&religion&Caption M &9ecordset&,ieldsDNreligionNE
display/&status&Caption M &9ecordset&,ieldsDNstatusNE
display/&phone&Caption M &9ecordset&,ieldsDNphoneNE
display/&occupation&Caption M &9ecordset&,ieldsDNoccupationNE
display/&nationality&Caption M &9ecordset&,ieldsDNnationalityNE
display/&kin&Caption M &9ecordset&,ieldsDNne)tofkinNE
display/&bloodgroup&Caption M &9ecordset&,ieldsDNbloodgroupNE
display/&genotype&Caption M &9ecordset&,ieldsDNgenotypeNE
display/&rhesus&Caption M &9ecordset&,ieldsDNrhesusNE
display/&dental&Te)t M &9ecordset&,ieldsDNpastdentaalhistoryNE
display/&family&Te)t M &9ecordset&,ieldsDNfamilyhistoryNE
display/&medical&Caption M &9ecordset&,ieldsDNpastmedicalhistoryNE
")it Do
"nd (f

&9ecordset&*ove!e)t
.oop
"nd >ith
49
display/&Caption M N The 9ecord Of BNNBdisplay/&nam&CaptionN

Unload *e
"nd Sub
-rivate Sub Command0LClickDE
Unload *e
"nd Sub -rivate Sub Command/LClickDE
main&Show
#eep
Unload *e
main&"nabled M True
"nd Sub -rivate Sub Command/LClickDE
main&Show
#eep
Unload *e
main&"nabled M True
"nd Sub -rivate Sub Command/LClickDE
On "rror 9esume !e)t
>ith display0&memberdata
&Database!ame M App&-ath B NPdental&mdbN
&9ecordSource M Nselect Q from treatN
&9efresh
&9ecordset&*ove,irst
Do Until &9ecordset&"O,
(f search0&no&Te)t M &9ecordset&,ieldsDNnoNE Then
display0&Show
display0&intra&Te)t M &9ecordset&,ieldsDNintraNE
display0&e)tra&Te)t M &9ecordset&,ieldsDNe)traNE
display0&no&Te)t M &9ecordset&,ieldsDNnoNE
display0&plan&Te)t M &9ecordset&,ieldsDNplanNE
display0&ne)t&Te)t M &9ecordset&,ieldsDNne)ttreatmentNE
display0&t/&Caption M &9ecordset&,ieldsDNtreatment/NE
display0&t0&Caption M &9ecordset&,ieldsDNtreatment0NE
display0&t1&Caption M &9ecordset&,ieldsDNtreatment1NE
display0&t2&Caption M &9ecordset&,ieldsDNtreatment2NE
display0&t3&Caption M &9ecordset&,ieldsDNtreatment3NE
display0&t7&Caption M &9ecordset&,ieldsDNtreatment7NE
display0&t4&Caption M &9ecordset&,ieldsDNtreatment4NE
50
display0&date/&Te)t M &9ecordset&,ieldsDNdate/NE
display0&plan&Te)t M 9ecordset&,ieldsDNtreatmentplanNE
")it Do
"nd (f
&9ecordset&*ove!e)t
.oop
"nd >ith
Unload *e
"nd Sub
-rivate Sub Command0LClickDE
Unload *e
"nd Sub -rivate Sub Command/LClickDE
On "rror 9esume !e)t
>ith payrep&memberdata
&Database!ame M App&-ath B NPdental&mdbN
&9ecordSource M Nselect Q from paymentN
&9efresh
&9ecordset&*ove,irst
Do Until &9ecordset&"O,
(f rec&Tdate&Te)t M &9ecordset&,ieldsDNdateNE And rec&Te)t/&Te)t M
&9ecordset&,ieldsDNnoNE Then
payrep&Show
payrep&nam&Caption M &9ecordset&,ieldsDNnameNE
payrep&address&Caption M &9ecordset&,ieldsDNaddressNE
payrep&no&Caption M &9ecordset&,ieldsDNnoNE
payrep&amount&Caption M &9ecordset&,ieldsDNamountNE
payrep&date&Caption M &9ecordset&,ieldsDNdateNE
payrep&tret&Caption M &9ecordset&,ieldsDNtreatmentNE

")it Do
"nd (f
&9ecordset&*ove!e)t
.oop
"nd >ith
Unload *e
"nd Sub
-rivate Sub Command0LClickDE
Unload *e
51
"nd Sub
-rivate Sub Command/LClickDE
(f amount&Te)t M NN Then
*sg#o) DN "nter Amount NE
")it Sub
"nd (f
>ith memberdata
&Database!ame M App&-ath B NPdental&mdbN
&9ecordSource M Nselect Q from paymentN
&9efresh
&9ecordset&Add!ew
&9ecordset&,ieldsDNnameNE M bill&nam&Te)t
&9ecordset&,ieldsDNnoNE M bill&no&Te)t
&9ecordset&,ieldsDNtreatmentNE M bill&tret&Te)t
&9ecordset&,ieldsDNamountNE M bill&amount&Te)t
&9ecordset&,ieldsDNdateNE M bill&date&Te)t
&9ecordset&,ieldsDNaddressNE M bill&adress&Te)t
&9ecordset&Update
"nd >ith
Unload *e
sucess&Show
"nd Sub -rivate Sub Command/LClickDE
cd&Show-rinter
main&"nabled M True
"nd Sub
-rivate Sub Command0LClickDE
Unload *e
main&"nabled M True
"nd Sub
-rivate Sub ,ormL.oadDE
>ith record&Data/
&Database!ame M App&-ath B NPdental&mdbN
&9ecordSource M NS"."CT Q from treatN
9efresh
"nd >ith
"nd Sub Option ")plicit
R 9eg Gey Security Options&&&
Const 9"ADLCO!T9O. M B+06666
52
Const G"?L:U"9?L<A.U" M B+/
Const G"?LS"TL<A.U" M B+0
Const G"?LC9"AT"LSU#LG"? M B+2
Const G"?L"!U*"9AT"LSU#LG"?S M B+5
Const G"?L!OT(,? M B+/6
Const G"?LC9"AT"L.(!G M B+06
Const G"?LA..LACC"SS M G"?L:U"9?L<A.U" H G"?LS"TL<A.U" H L
G"?LC9"AT"LSU#LG"? H G"?L"!U*"9AT"LSU#LG"?S H
L
G"?L!OT(,? H G"?LC9"AT"L.(!G H 9"ADLCO!T9O.

R 9eg Gey 9OOT Types&&&
Const +G"?L.OCA.L*AC+(!" M B+56666660
Const "99O9LSUCC"SS M 6
Const 9"'LSS M / R Unicode nul terminated string
Const 9"'LD>O9D M 2 R 108bit number
Const g9"'G"?S?S(!,O.OC M NSO,T>A9"P*icrosoftPShared Tools
.ocationN
Const g9"'<A.S?S(!,O.OC M N*S(!,ON
Const g9"'G"?S?S(!,O M NSO,T>A9"P*icrosoftPShared ToolsP*S(!,ON
Const g9"'<A.S?S(!,O M N-AT+N
-rivate Declare ,unction 9egOpenGey") .ib Nadvapi10N Alias
N9egOpenGey")AN D#y<al hGey As .ong, #y<al lpSubGey As String, #y<al
ulOptions As .ong, #y<al samDesired As .ong, #y9ef phk9esult As .ongE As
.ong
-rivate Declare ,unction 9eg:uery<alue") .ib Nadvapi10N Alias
N9eg:uery<alue")AN D#y<al hGey As .ong, #y<al lp<alue!ame As String,
#y<al lp9eserved As .ong, #y9ef lpType As .ong, #y<al lpData As String,
#y9ef lpcbData As .ongE As .ong
-rivate Declare ,unction 9egCloseGey .ib Nadvapi10N D#y<al hGey As .ongE As
.ong
-rivate Sub cmdSys(nfoLClickDE
Call StartSys(nfo
"nd Sub
-rivate Sub cmdOGLClickDE
Unload *e
53
"nd Sub
-ublic Sub StartSys(nfoDE
On "rror 'oTo Sys(nfo"rr
Dim rc As .ong
Dim Sys(nfo-ath As String
R Try To 'et System (nfo -rogram -athP!ame ,rom 9egistry&&&
(f 'etGey<alueD+G"?L.OCA.L*AC+(!", g9"'G"?S?S(!,O,
g9"'<A.S?S(!,O, Sys(nfo-athE Then
R Try To 'et System (nfo -rogram -ath Only ,rom 9egistry&&&
"lse(f 'etGey<alueD+G"?L.OCA.L*AC+(!", g9"'G"?S?S(!,O.OC,
g9"'<A.S?S(!,O.OC, Sys(nfo-athE Then
R <alidate ")istance Of Gnown 10 #it ,ile <ersion
(f DDirDSys(nfo-ath B NP*S(!,O10&"T"NE UO NNE Then
Sys(nfo-ath M Sys(nfo-ath B NP*S(!,O10&"T"N
R "rror 8 ,ile Can !ot #e ,ound&&&
"lse
'oTo Sys(nfo"rr
"nd (f
R "rror 8 9egistry "ntry Can !ot #e ,ound&&&
"lse
'oTo Sys(nfo"rr
"nd (f
Call ShellDSys(nfo-ath, vb!ormal,ocusE
")it Sub
Sys(nfo"rr$
*sg#o) NSystem (nformation (s Unavailable At This TimeN, vbOGOnly
"nd Sub
-ublic ,unction 'etGey<alueDGey9oot As .ong, Gey!ame As String,
SubGey9ef As String, #y9ef Gey<al As StringE As #oolean
Dim i As .ong R .oop Counter
Dim rc As .ong R 9eturn Code
Dim hGey As .ong R +andle To An Open 9egistry Gey
Dim hDepth As .ong R
Dim Gey<alType As .ong R Data Type Of A 9egistry Gey
Dim tmp<al As String R Tempory Storage ,or A 9egistry
Gey <alue
Dim Gey<alSiFe As .ong R SiFe Of 9egistry Gey <ariable
R888888888888888888888888888888888888888888888888888888888888
54
R Open 9egGey Under Gey9oot V+G"?L.OCA.L*AC+(!"&&&W
R888888888888888888888888888888888888888888888888888888888888
rc M 9egOpenGey")DGey9oot, Gey!ame, 6, G"?LA..LACC"SS, hGeyE R
Open 9egistry Gey

(f Drc UO "99O9LSUCC"SSE Then 'oTo 'etGey"rror R +andle "rror&&&
tmp<al M StringXD/602, 6E R Allocate <ariable Space
Gey<alSiFe M /602 R *ark <ariable SiFe
R888888888888888888888888888888888888888888888888888888888888
R 9etrieve 9egistry Gey <alue&&&
R888888888888888888888888888888888888888888888888888888888888
rc M 9eg:uery<alue")DhGey, SubGey9ef, 6, L
Gey<alType, tmp<al, Gey<alSiFeE R 'et@Create Gey <alue
(f Drc UO "99O9LSUCC"SSE Then 'oTo 'etGey"rror R +andle "rrors
(f DAscD*idDtmp<al, Gey<alSiFe, /EE M 6E Then R >in;3 Adds !ull
Terminated String&&&
tmp<al M .eftDtmp<al, Gey<alSiFe 8 /E R !ull ,ound, ")tract ,rom
String
"lse R >in!T Does !OT !ull Terminate
String&&&
tmp<al M .eftDtmp<al, Gey<alSiFeE R !ull !ot ,ound, ")tract
String Only
"nd (f
R888888888888888888888888888888888888888888888888888888888888
R Determine Gey <alue Type ,or Conversion&&&
R888888888888888888888888888888888888888888888888888888888888
Select Case Gey<alType R Search Data Types&&&
Case 9"'LSS R String 9egistry Gey Data Type
Gey<al M tmp<al R Copy String <alue
Case 9"'LD>O9D R Double >ord 9egistry Gey
Data Type
,or i M .enDtmp<alE To / Step 8/ R Convert "ach #it
Gey<al M Gey<al H +e)DAscD*idDtmp<al, i, /EEE R #uild <alue Char& #y
Char&
!e)t
Gey<al M ,ormatXDNBhN H Gey<alE R Convert Double >ord To
String
"nd Select
'etGey<alue M True R 9eturn Success
rc M 9egCloseGeyDhGeyE R Close 9egistry Gey
55
")it ,unction R ")it
'etGey"rror$ R Cleanup After An "rror +as Occured&&&
Gey<al M NN R Set 9eturn <al To "mpty String
'etGey<alue M ,alse R 9eturn ,ailure
rc M 9egCloseGeyDhGeyE R Close 9egistry Gey
"nd ,unction
-rivate Sub Command/LClickDE
Unload *e
"nd Sub -rivate Sub Command/LClickDE
cd&Show-rinter
main&"nabled M True
"nd Sub
-rivate Sub Command0LClickDE
Unload *e
main&"nabled M True
"nd Sub
-rivate Sub ,ormL.oadDE
>ith Data/
&Database!ame M App&-ath B NPdental&mdbN
&9ecordSource M Nselect Q from payment N
&9efresh
"nd >ith
"nd Sub -rivate Sub Command/LClickDE
cd&Show-rinter
main&"nabled M True
"nd Sub
-rivate Sub Command0LClickDE
Unload *e
main&"nabled M True
"nd Sub
-rivate Sub ,ormL.oadDE
>ith Data/
&Database!ame M App&-ath B NPdental&mdbN
&9ecordSource M Nselect Q from historyform N
&9efresh
"nd >ith
"nd Sub -rivate Sub Command/LClickDE
Unload *e
56
"nd Sub
57

Das könnte Ihnen auch gefallen