Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State...
-
Upload
vivian-amarachi -
Category
Documents
-
view
223 -
download
0
Transcript of Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State...
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 1/64
CHAPTER ONE
INTRODUCTION
Advertising is part of our daily lives. To realize this, advertising can
be achieved through a magazine, newspaper, radio house or television
broadcast. Most people see and hear several hundreds of advertising messages
everyday. Advertising is a big art and part show business.
The business of advertising is bringing information to a great
number of people. The purpose is to make people respond-react to an idea,
such as helping to prevent fires, or to make them want to buy a certain products
or services.
The ingredients, efficient , Excellency employees attitude, better
equipment and other infrastructure are responsible area responsible for good
service in the area of advertising which result in the business growth and
sufficient returns.
Advertising combines the efforts of three parties- the advertiser,
who is the owner and sponsor of the message. The advertising agency is the
body responsible for planning and producing the advertising campaign. These
1
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 2/64
agencies bringing together a number of specialized talents in various field.
And the third party is the media or message carriers. There are two types of
media, print media like magazines and newspapers and broadcast media- like
radio and television .
The media owner provides the vehicle or medium used to convey the
message to the target evidence.
Once the advertiser goes to the advertising agency for the creation of an advert,
the advert manager of agency does an ADYER BRIEF, to check the advert
potential, target population, amount to be spent and advert budget. On
completion of this research the agency goes to the media to buy space or
airtime, using the MEDIA PURCHASE DRDER (MPO)
from.
This order form varies depending the same, is the agreed upon
amount for each time slot, how many time slots a day, the actual time
specified by the agency, how many weeks or months the adverts will run for.
The media uses this information especially the stipulate time and running
period, to manage the occurrence of the adverts.
2
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 3/64
The level of performance and growth by the media, to manage these
advert has been due to manual system in existence in this study, effort would
be made to ensure that the media improves their management functions by
computerizing the adverts management system.
1.1 STATEMENT OF THE PROBLEM.
Through the study of operation manual system and the study of the
management through direct interview with the director of commercial at
ESBS, the following basic inherent problems were discovered .
1. Non broadcast of messages, because when printing out program schedule
for the day, an advert was eliminated.
2. Bad tapes, due to dust
3. Human error , e.g. sleeping on duty
4. Program exceeding their scheduled time
3
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 4/64
1.2 PURPOSE OF THE STUDY
This research is necessary so as to find a way of minimizing or
eliminating the problem faced, provided a solution to the issue of non-
broadcast of adverts.
Similarly, it gives solution to the following problems;
inconsistencies, unreliability of tapes or discs, time wasting, etc. this study
pushes its way into providing an avenue of designing and implementing a
computerized advert system, that is capable of putting an end to advert
management problems.
1.3 AIMS AND OBJECTIVES
The aims and objectives of this study is to design a computerize
advert system that will;
1. Eliminate the factors that militate against advertising in media houses.
2. Bring about a more efficient and reliable way of advertising in media
houses.
3. Create a software that automate time schedule for each program to avoid
programs exceeding their time.
4
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 5/64
4. To reduce the cost of labour and paper work in running the existing
system(manual) to the barest minimum
1.4 SCOPE OF THE STUDY
The scope of the study is the advert management system of the
Enugu State Broadcasting Services (ESBS) Enugu
1.5 LIMITATIONS OF THE STUDY
Finance which is the major backbone of any organization when
properly managed can also be a limitation to the operational capacity of any
organization when diverted to individual accounts. This may lead to improper
maintenance of equipments to poor remuneration of staff or irregular payment
of staff salaries and allowances which is a motivating factor to consistent
management and handling of equipments for proper rendering of services to
the populace.
More also when an organization like ESBS, Enugu is under funded,
there are possibilities of poor service, to constant breakdown of equipments
5
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 6/64
which may affect the time schedule for adverts and programs to a targeted
audience.
Therefore, money meant for a particular project should be directed to
that without delays, and staff salaries and allowances properly paid and on
time, also where the subvention is not enough, an increase when found
necessary will help for proper functioning of different departments. Routine
checks on the equipment and replacement with new ones when necessary will
also boast the services rendered and on time to a target audience.
1.5 DEFINITION OF TERMS.
ADVERT : an advert is a message, produced by an advertising agency for a
client and passed through a media to the target audience.
MEDIA: is the carrier through which messages are passed to the public.
ADVERTISER: is the owner and the sponsor of an advert.
ADVERTISING AGENCY: the agency that creates or produces the advert.
ADVERT MANAGEMENT SYSTEM: a system that co-ordinates the
occurrence of an advert for clients to keep their business healthy in a long-run
6
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 7/64
BROADCAST: is a message or information passed through a media to the
populace.
ADVERT BRIEF: a research carried out by the advert manager of an agency to
check, advert potential, target population, amount to be spent and advert
budget.
MEDIA PURCHASE ORDER(MPO):a form sent by the agency to the media,
stating the time schedule for their adverts and how long the advert will run for.
7
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 8/64
CHAPTER TWO
LITERATURE REVIEW
A century ago, in Atlanta Georgia, there lived a pharmacist named
Johns Pemberton. He was not successful financially, but Dr. Pemberton was
destined to develop something that would later become the most popular
consumer package product in the world. In fact, it would revolutionize the
beverage industry and write a new chapter in the history of marketing and
advertising.
As legend goes, Dr. Pemberton while working over a three-legged
pot in his backyard in 1886, produced a sweet lasting brown syrup from the
juices of certain plants and nuts. Mixed with Soda fountain water, the syrup
produced a remarkable, sparkling taste. On May 8, 1886, Pemberton’s new
elixir was placed on scale as Soda fountain drink for 5 cent a glass at Jacob’s
Pharmacy at Downtown Atlanta. On May 29, a newspaper advert in the Atlanta
journal inverted Atlantians to try “the new and popular Soda fountain drink”.
The advert also proclaimed that coca-cola, as Pemberton called it was
“Delicious and Refreshing”, a theme that continues today. This slogan not only
8
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 9/64
chronicles the history of the world most successful product, but also the history
of modern advertising.
According to Mc Cam Erickson, inc-the advertising agency that
develops coca-cola’s national campaign is;
“Truth Well Told”.
This philosophy is echoed by coke’s management.
“Coke’s advertising should be a pleasurable experience, refreshing
to watch and pleasant to listen to. It should reflect quality. And it should make
you say, “I wish I’d been there”.” I wish I had been drinking coke with these
people.
That’s what advertising is to coca-cola. But can the same be said for
other products and services in the market today? How do we define the
advertising we see for these commodities? Albert Lasker who has been called
the father of modern advertising said that advertising is
“Salesmanship in print”.
That may be well. But this definition was given long before the
advert of radio and television and at the time when nature and scope of
advertising were considerably different from what they are now.
9
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 10/64
The advent of computer has brought a lot of changes in modern
advertising. Instead of the formally used illustrations photography to make
advertisements, graphic work by computer in developing advertisements,
makes the creation of adverts faster and more beautiful. Although the use of
computer in advert management has mot been given serious consideration in
most texts, its usage media planning and scheduling is well stated.
COMPUTER IN MEDIA PLANNING AND SCHEDULING
Computers have been an important part of media planning since the
early 1970’s. They can eliminate much of the drudgery of planning by
performing the tedious, “number crunching”, need to arrive at GRP’s, CPM’s,
reach frequencies and schedules, evaluate various media vehicles geared to the
target market, to cross- tabulate demographic (such as the age and income of
light, medium and heavy users of the product), and to asses the cost efficiency
of alternative media plans. Does this mean then, that human media planners
will soon be replaced by computer?
To answer this question, we need to know that computers can do and
cannot do. What they can do is manipulate numbers, feed data on the audience
10
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 11/64
demographics of a radio station in Pittsburgh, for example a computer can rank
the station in relation to:- how their audience profile most closely fit a
product’s target audience to profile – feed information on the Pittsburgh
stations and rates, rating and so on, the computer can produce several alternate
radio advertising schedules that fit within the advert budget.
Three main types of computer program have been developed for use
in media planning. They are linear, Simulation and Formula.
LINEAR MODEL
This is the oldest and is designed to create a complete media schedule that
maximizes exposure within a given budget. Although this type of program
would indeed replace many of the traditional functions of the media planner, a
fully practical linear model has got to be developed, simply because there are
two many real world variables that such program are unable to take into
account.
SIMULATION MODEL
This is used to estimate the ability of already chosen media vehicle
to reach target individuals within an audience. Simulation programs do not
11
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 12/64
plan media schedules, but they are useful in evaluating individual vehicles in
terms of target audience, cost efficiency and so on. Specialized simulation
models have also been developed for such purposes as calculating optimum
timing of an advert campaign.
FORMULA MODEL
These calculate reach frequency and other statistics for alternative
media vehicles and can rank the vehicles according to selected parameters.
Which offer the best reach, the best frequency and so on. With any of these
models the computer instantly recalculates results wherever an assumption of
factor is changed.
Since the advent of microcomputer in the early 1980’s, software
programs have been developed not only by software companies, but also by
advert agencies and by marketing or advert departments within the companies.
Some of these programs are highly customized such as J. Walter Thompson
USA’s special program 20th century fox to help that movie company plan
newspaper buys as it introduced films in various markets. Others are for
general use in the advertising industry, such as media management plus, a set
of programs for planning, buying and managing all forms of advertising media.
12
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 13/64
Another major change that has occurred with increasingly use of
micro-computers is the form in which media planners receives and keep data
(audience demographics, broadcast ratings, etc.). In the past advertising
agencies used computer terminals plugged into huge mainframe computers, to
gain access to such data provided by various research services. Now micro-
computer users have choice of going “on line” and paying for access to grant
data bases or subscribing to service that provide data in form of hard disk or
floppy disk.
This brings us to what computer cannot do. They cannot decide
which medium or which environment is best for message. As noted by William
F. Bondlow, Jr, publisher of House and Garden Magazine, “Gray areas are a
problem with the computer”. “And to my knowledge, computer do not know
how to evaluate the content of the magazine yet”. Computer can manipulate
numbers, but they cannot judge whether the numbers are valid or reliable, and
they cannot interpret the meaning of the number. Thus computer can aid in
planning, but they cannot take pace of human planners, at least as long as
subjective judgment is an important part of the process.
13
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 14/64
CHAPTER THREE
DESCRIPTION AND ANALYSIS OF THE EXISTING SYSTEM
In the existing system, certain procedures are undergone before and
after an advert has been aired on television or announced on the radio.
BUYING OF TIME / SPACE
After the advert agency creates the messages, they need to book or
buy airing time. This is done by the advert agency sending a copy of their
Media Purchase Order (MPO) form, with stipulated time of airing and running
time. Also, the amount for each time slot (which had been agreed upon) must
also be stated and the final total amount. This helps the media know the correct
time to air the advert and how long.
CREATING OF RUNNING ORDER
This is a file created after the tapes and discs have been ordered,
inserting the new contract into the already running schedule of the station. The
time specified by the client is inputted into their allocated positions thereby
creating a new schedule for the station.
14
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 15/64
3.1 SENDING RUNNING ORDER TO PROGRAM MANAGER
This form is then sent to the program manager who plans the program. Then
the program manager take the tapes and discs and record the newly advert into
the already running program into their allocated time. This new program is
then sent to the engineer on duty who ensures that the programs go on air.
This is sent to the advertising agency after the period of the contract
has expired, stating that the advert were broadcast at their specified time and
the allocated days.
FACT FINDIND METHOD USED
INTERVIEW
This is a face-to-face form of collecting data. I had a personal
interview with the Director of commercial department ENUGU STATE
BROADCASTING SERVICES (ESBS)
ENUGU and relevant data were recorded about the existing system
3.2. ORGANISATIONAL STRUCTURE
This is the organizational structure of Enugu state Broadcasting
services (ESBS) Enugu
15
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 16/64
fig.1.1
MANAGING DIRECTOR: Ensures that other departments below it are
performing their specified duties and monitors performance.
CORPORATE AFFAIRS: sees the activities of the station with outside
bodies, ie with other stations
PROGRAM MANAGER: plans how the program will appear when aired and
insert new adverts into the already existing program.
16
MANAGING DIRECTOR
PROGRAM
MANAGER
ADMINISTRA
TION
NEW&
CURRENTAFFAIRS
FINANCE COMMERCIAL
PRAGRAM
ENGINEER
COPORATE
AFFAIRS
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 17/64
NEWS AND CURRENT AFFAIRS: searches for news on currant
happenings and new trends in technology, fashion, etc
AMINISTRATION: Looks after –the administration of the station, ie on the
issue of welfare, leave, sickness, etc.
FINANCE: Pays the salaries of the employed of the station.
COMERCIAL: Look out for money for the station, through adverts, talk,
shows, etc.
3.3 OBJECTIVES OF THE EXISTING SYSTEM
The objectives of the existing system are to:
• Try as much as possible to make sure that advert are aired as scheduled.
• Create a channel, to pass messages of clients advert to keep the clients
business healthy in a long run.
• Make sure that messages reach as much target audience as possible.
• Doing an efficient and effective job, to draw more clients
• Give the clients no reason to complain on performance
17
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 18/64
3.4 INPUT PROCESS AND OUT PUT ANALYSIS
The input used in the existing system is simply the media purchase
order (MPO) from and the tapes and discs on which the adverts are
recorded. already on this MPO form, the clients name or company name is
written.
Usually the company uses their letterhead to print out the mpo form. Also
on this form like I said earlier, the specified time for airing the adverts are
stated, also the running period.
The tapes and discs are programmed into their specified time in the
program schedule, by the program manager, from these input a running
order for the period of time the advert will be for, along with adverts of
other clients will be programmed into the already existing program of the
station and running order, with tapes and discs will be sent to the program
engineer to ensure they are aired.
MPO FORM
Fig .1.2
To the publisher of
Address ……………………….. Date ……………………
18
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 19/64
Please public advertising as specify below of ……………….
Advertiser ……………………… product ………………….
SPACE NUMBER DATE POSITION UNIT TOTAL
Of ………………………….. Date…………………………
INSERTION
The above rates are subjected to …………………… % agency
Commission of gross
MEDIA OWER’S SIGN……………………
MEDIA MANAGEMENT
MANAGEMENT FILE
Fig .1.3
CLIENT’S ADDRESS PRODUCT NO OF UNIT TOTAL DATA
NAME……………………….. INSERTIONRATE ………………..
19
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 20/64
3.5 INFORMATION FLOWCHART
Fig. 1.4
20
CLIENT SENOS MPO
TO MEDIA
MEDIA
DIRECTOR OF COMMERCIAL DEPT.
SENDS CLIENT’S MPO TO PROGRAMMANAGER AND ADMINISTRATIVE
OFFICER
PROGRAM MANAGER
SENDS TAPS AND DISCS
FROM CLIENT TOPROGRAM ENGINEER
ADMINISTRATIVE OFFICESSENDS MPO TO TYPIST TO
PUT INTO MEDIA’S
MANAGER’S FILE
PROGRAMENGINEER
TYPIST
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 21/64
The output analysis of the existing system is the airing of adverts as
specified by clients. Another output of the system is he certificate of
performance sent to the client to certify that the adverts were broadcast on their
specified time and days. If the adverts were aired as specified, the from creates
a lasting business relationship between the media and client.
Another output is a management file, that keep a lasting of every clients,
their products or services, the amount being paid for each time slot, total
amount for the entire time slots paid for, the specified time and of course the
running period. The management uses this output for their auditing at the end
of every month.
3.6 PROBLEMS OF THE EXISTING SYSTEM
The problems of the existing system are listed below.
The issue of receiving mpo’s and sending back confirmation is slow and
tire some because it is manually done . some times these mpo’s may be
21
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 22/64
misplaced a misfiled which involved searching manually through many files
locate the missing one.
Another problem associated with existing system is the airing of scheduled
programs. Since the system is manual, the program engineer must always
be at hand in the control room, to stop a program and a scheduled advert.
Sometime the program engineer night go to sleep or simple forget to air the
program.
Another problem encountered in the present system is that of file control.
Because this is a manual system once the client’s data is recorded, it is filed
and place in cabinets. But when this records are needed, getting the files
containing those record, from the cabinets is tiresome, because you have to
go through layers of files to locate this records.
3.7 JUSTIFIATION THE NEW SYSTEM
The justification of the design of a new system include among other
reasons.
1. To create an easy flow of communication between the media vehicle and its
client. For instance, with a computerized system, possible linked to the
internet, e- mail could be sent to the media e-mail line ( the mpo is sent
22
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 23/64
through the e- mail ) informing them of the client’s intent to we their media
vehicle to advertise their products, the media also uses this method to and back
confirmations. Also sending of the advert to be aired is made easier. also this
could be inserted into the media’s database management file with their own
system, for better accessibility.
2. To design a computerized programmed system that will run programs and
adverts according to their scheduled timing . With this computerized system
the programs and scheduled advert are simply programmed run using system
time and a timing alarm, so that once the program for the whole day has been
arranged as they should be displayed, the computer simply stops any the
advert scheduled for that time. This reduces the work force in the control room
and makes the work more efficient.
3. To deign a file control system for better accessibility of record on clientele
and for proper auditing of the system. With the new system (ie computerized
system ) the records are inputted into the database files, under their record
names and when this records are needed the database file is simply open, and
the record name given, the information in the record is instantly displayed on
the screen.
23
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 24/64
4. To create a system that will be reliable and efficient and reduce cost of
human labour .
5. To enable the station link up to internet so as to receive information “on
line” as it concerns advertising business.
CHAPTER FOUR
Design of the new system
The chapter is all about date colleted and general out lay of the new
system of the data colleted. The new system is designed to eliminate the
various problems faced by the media in the manual operation of advertising.
The software needed was designed based on the facts collected from the study
of existing system. Media station ware visited and their workflow observed
and the key personnel in the area under study interviewed.
4.1 OUT PUT SECIFICATION AND DESIGN
24
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 25/64
In this section the output specification and its design is out-layed.
In this new system the out put design is the final record of client, that is
sent to the director of commercials by the administrative officers.
S/N FILENAME TYPE LENGTH
1 Client c 20
2 Address c 30
3 product or service Advert c 15
4 Airing period c 25
5 Unit period N 5
6 Total N 5
7 Initial Deposit N 5
8. Balance N 5
9 Date N 10
10 Terminal C 10
THE OUT FROM
4.2 INPUT SPECIFICATION AND DESIGN
25
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 26/64
The input specification consist of the client advert tape sent along
with mpo form in the are of entertainment, a recording of the particular
form of entertainment is needed, same as in educative programmers,
documentaries and so an.
In the area of management files, the input needed are the following:
S/N FILEMANE TYPES LENGTH
1. Client c 20
2. Address c 30
3. ̀ Operation c 15
4. Advertisement c 25
5. Length of advert n 20
6. Insertions n 15
7. Airing period c 60
8. Rate n 5
9. Total n 5
10. Deposit n 5
11. Balance n 5
12 Date n 10
26
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 27/64
13. Terminal period n 10
THE INPUT FORM.
4.3 FILE DESIGN
A random file is used because of high vitality ration of the file which
will be needed by such an organization. There is need for frequent updates
so that one can access, delete or update the a particular record without
disrupting the status of the other record s. For flexibility and easy
implementation of the program, random access is used YB programming
language used.
File design
Field type length
Client character 20
Address character 30
Operation character 15
In the file design, the field used are client, address and the type of
operation done by the client. Inside this file lays the records of different
fields that can be accessed randomly. The other input specification will be
27
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 28/64
used for the design of the client records. When a field name is checked on
the record bearing the information of field contract with the media is
displayed and updating or deleting can be done without disrupting the
other records.
RECORD DESIGN
Filed # Name Variable type length
1 Advertisement Ad C 20
2. Advertisement AC N 25
3. Insertion IJ N 15
4. Airing period AP N 60
5. Unit rate UR N 5
6. Total rate TR N 5
7. Deposit DP N 6
8. Balance BC N 5
9. DATE DT N 10
10. Termination- period TP C 10
28
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 29/64
OUT PUT FROM
Client Name …………………………………
Address……………………………………….
Product or service ………………………………
Airing period…………………………………….
Unit period ……………………………
Initial Rate………………………….
Balance ………………………….
Total Amount ……………………
Termination …………………………
INPUT FORM
Client name ……………………………
Address …………………………………….
Operation ………………………………………
Advertisement ……………………………………..
Length of Advert ………………….......
Insertions …………………………….
29
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 30/64
Airing Period ……………………………
Rate ………………………………………
Total ………………………………….
Deposit …………………………
Balance …………………………
Date …………………………..
Termination …………………
4.4 PROCEDURE CHART
30
MANAGING
DIRECTOR COMMERCIALS
PROGRAM
MANAGER
ADMINISTRATIVE
OFFICER
PROGRAM
ENGINEER
TYPIST
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 31/64
5 SYSTEM FLOW CHART
31
DISPLAY PROGRAM
DATEENTERY
DATE BASE
SYSTEM
CONTRACT
INFORMATION
UPDATE
REPORT
CLIENT’S
RECORD
PAYMENT
REPORT
TIME FOR ADVERT =
“YES”
DISPLAY ADERT
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 32/64
4.5 SYSTEM REQREMENTS
The system requirements shall be discussed under hard ware, soft
ware and environmental requirements.
HARWARE REQUIREMENTS:
1. Computer Real time system with- SYGA monitor
- 64mb RGM
- 1.1GB hard disk or more.
- 101 keyboard
- Floppy disk drive
32
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 33/64
- Mouse and mouse pad.
- CD ROM
2. LaserJet model1320
3. 1000VA UPS
SOFTWARE REQUIREMENTS
1. V. B VERSION 6.0
2. WINDOS 98
3. WINDOS XP
4. WINDOS 2000
ENVIROMENTAL REQUIREMENTS
1. A standard well ventilated room
2. Fire and smoke alarm
3. Effective Air- conditioning
4. Dust resistance window blinds
5. Dust trapping rugs, carpet or floor tiles
6. Standard writing desk
33
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 34/64
CHAPTER FIVE
IMPLEMENTATION
The implementation stage the designed model into form ready for
execution to test whether it will perform as desired or not . This involves
coding the design into forms that the computer will understand, to make this
easy for the programmer. The pre-cording steps are done using graphical and
pictorial representations.
5.1 PROGRAM DESIGN
34
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 35/64
The application program id designed to perform the processing need
of the system software, create and maintain the database system as well as
produce reports for easy and compressive decision making.
The program design took the top down approach, the enteric old system
was broken down into smaller units and solved invaluably. The units were
later joined to form four modules.
ENTRY MODULES
This module makes date entry into the system easy and flexible. It
displays prompts which the user uses to supply correct data to the system and
the supplied record (s) are saved automatically into random file created for
the purpose. The clients data is entered into the media’s management file
through the module .
UPOATE MODULE”
This module enables modification on already stored information. The
records are called up from the file for modification. The displayed record is
modified by the user and updated accordingly.
35
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 36/64
DELETE MODULE
This module make it possible for un wanted record (s) to be removed
from the file on request.
DISPLAY MODULE
This module displays records in a file when the file is loaded, the
records are displayed with headings.
5.2 PSEUDCODE
This is the statement of logical step leading to solution to a given
problem in an English form. The statements cannot be interrupter by any
computer language. Interpreter or compiler. However, it serves as a guide to
programmers when coding the real computer progamme.
The individual model steps are represented in pseudocodes.
ENTRY
1. Receive entries
2. If entries are current, GO TO A
3. GO TO 1
4. Saved record
36
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 37/64
5. If more entries, GO TO 1
6. Stop
UP DATE
1. Receive update code
2. If code exist in file GO TO 5
3. If not end of file, search next, GO TO 2
4. GO TO 7
5. Display for update
6. Save update
7. If more records, GO TO 1
8. Stop
DELETE
1. Receive record code
2. If code exist in file, GOTO 5
3. If not end of file, search next, GOTO 2.
4. GOTO
5. Delete record
6. IF more delete, GOTO 1
7. Close files
8. Stop
37
START
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 38/64
DISPLAY
1. Open file
2. GO To Top
3. Display record
4. If end of file, go to 7
5. Close files6. Stop.
PROGRAM FLOWCHART
Program flowchart is a graphical representation of the stops of the
operation to be carried out for the computer to produce the desired result.
38
DISPLAY
DISPLAY MENU
INPUT OPTION (1 – 5)
If
OPT = 1
?
If OPT = 2
?
If
OPT = 3?
If
OPT = 4?
If
OPT = 5
?
DELETE
UPDATE
ENTRY
PROGRAM FLOWCHART
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 39/64
ENTRY MODULE
39
IF
DPT = 5
?
STOP
ENTER
OPEN FILE
DISPLAY INPUT FORM
CLIENT INPUT DATA
IsData
Correct
?
WRITE RECORD
MORE
DATA?
Yes
Yes
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 40/64
40
CLOSE FILE
EXIT
No
ENTER
N FILE
INPUT RECODE CODE
DOE
S
COD
EEXI
T ?
DISPLAY RECODE
FOR UPDATE
UPDATE MODULE
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 41/64
DELETE MODULE
41
ENTER RECORDEDDATA
RECORD
MORE
RECOR
DS
CLOSE FILE
STOP
STOP
OPEN FILE
INPUTE RECORD CODE
DOES
CODEEXIST
?
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 42/64
DISPLAY MODULE
42
DELETE RECORD
MORERECOR
DS ?
CLOSE FILE
EXIST
ENTER
OPEN FILE
DISPLAY RECORDS
INPUT RECODE
CODE
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 43/64
CHAPTER SIX
DOCUMENTATION
This chapter details the manual procedure on how to run the program
without much difficulties. This makes the usage of the new system very easy.
COMPUTER USED
The computer used to design this software is visual basic version 6. 0.
RUNNING THE PROGRAM FROM HARD DISK
1. Booting the computer,
43
EOF
?
CLSOE FILE
EXIST
NO
2 Cli k h b
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 44/64
2. Click the start button
3. Click run
4. At dialogue box type
A: / ADVERT SOFTWARE
RUNNING THE PROGRAM FROM FLOPPY DISK
1. Booting the computer
2. At the desktop activate folder called my computer
3. Activate the floppy disk
4. Select and activate the software called
ADVERT SOFTWARE
5. The program will come up by displaying the menu.
6. The program is menu driven and easy to use.
PROGRAM DESCRIPTION
ENTRY MODULE: The entry module displays the input form lets a user
key in a new clients data in to the file. Thus the client in question now have
a record in the system which can be retrieved any time for updating and
deleting as the case may be. It also assigned a code to every clients file.
44
UPDATE MODULE thi ll t d t dif th d f
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 45/64
UPDATE MODULE: this allows a user to update or modify the records of
client in the system by keying in the code that was assigned to the client at
the entry module. If the correct code is entered it displays the record for
modification and updating.
DELETING MODULE: this module allows a user to delete redundant
records from the system. If the correct record code is entered, it will prompt
you for deleting the record, if the user says yes the record is deleted.
DISPLAY MODULE: the module displays records in a file when the file
is loaded, the records are displayed with loading and advert schedules.
CHAPTER SEVEN
CONCLUSION AND RECOMMENDATION
CONCLUSION
The development of this software package for advert management has
not been an easy work although something useful has been achieved.
The project is made up of five phases. The first phase introduces the
case study and also describes what the project is all about.
Secondly why it is undertaken and how it can be implemented .
45
Third phase specifies the general system requirements and the final
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 46/64
Third phase specifies the general system requirements and the final
phase deals with the system implementation and evaluation it also gives a
detailed description of the file used for program modules implemented. It
further highlights the strengths and the weakness of the system
Them major benefits was that it increased the rate of data processing
and provided better information storage and retrieval. It also makes for easy
airing of scheduled programs and adverts.
The system may initially cost a substantial amount, but if well handled,
like the case in the develop countries, the advantages quite cut away the
disadvantages
Finally, it is hoped that the media in this country would find this system
useful to motivate further investigation
RECOMMENDATION
I wish to recommend this project to the media and other advertising
agencies who wants to improve in the area of advertising. With this new
system the work force in the manual system of advertising could be reduced
and more efficient and reliable result could be achieved.
46
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 47/64
REFERENCES
Ukandi G Dumachi Theories of management and the executive in
the developing world. The macmilliam press
ltd, London 1978.
J. P. Hanley computers in Advertising Balding and mansell
Ltd, London 1972
John . K. Ala and
Peter T. MBCS computer and style, an introduction for offices
London, 1991
Robert M. H and Y Hand books for data Processing for offices.
47
Becker
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 48/64
Becker
Cominfo Frm
Private sub add click o
Lip
Adodc1. Refresh
Adodc 1 . Refresh
End sub
Sub lipo
If ady = “ “Them
Msg box “ you must make sure you enter an address” Ady . set focus
Eiseif too= “ Then
Msg Box “ you must make sure you enter the type of operation too. Set focus
48
Eise
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 49/64
Adodc1 record set move first
Adodc 1 record set move last
End if
End sub
Private sub cancel click
Unlogol mc
Mama .show
End sub
Private sub cli change
Add Enabled = True
End sub
Private sub form load o
On Error reassure next
Adodc1 . Refresh
Adodc1 . Record set move last
Adodc1 . Record set Add New
Add. Enabled = false
49
End sub
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 50/64
Private sub ok- click o
Lip
Unload me
End sub
Clientdate . frm
Private sub form-load o
Me height = Screen. Height – 100
End sub
Private sub form resize o
Grids . left = o
Grids top =o
Grids . Height = me scale height
End sub
Mama . frm
Private sub abb- click o
Abb. Show
End sub
50
Private sub exit- click0
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 51/64
End
End sub
Private sub mdi from Resizeo
If Uche . window state= vb maximized or Uche window
State= vb minimized then
Do nothing
Exit sub
Eise
With Uche
Left =o
Top = o
Width =MR scale width
Height= me scale height
End with
End if
End sub
Private sub new- click o Dim a As integer
51
Dim A As integer
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 52/64
A=msg Box(“Do you want to enter a company profile ?” Vb crl f& “click no
to enter Bargain information,”.0 Vb information +Vb yes No cancel, APP. Title)
It a = Vb yes or = V bNo Then
If a = VB yes then
Cominfo. Show
EISC
Register .show
End it
EISC
Show the other form
Exit sub
End if
End sub
Private sub showarg- Click o
Mama showbarg. Checked =True
Mama. Show cominfo. Checked = false
Uche. Show
52
End sub
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 53/64
Private sub show cominfo click o
Mama showcominto checked = false
Mama showcominto checked = True
End sub
Register . Frm
This program was written by uche amadi and matter ogbiona with registration
numbers CS/tt99/ 160& CS/tt99/161 respectively
Private sub add click o on error resume next
Lip
Adodc I Refresh
Adodc I . recordset mover last Adodic I Recordset. Add New
Ds. Text = Date
End sub
Private sub cancel = click o
Unload me
End sub
Sub lip o
53
On Error Resume Next
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 54/64
“check to make sure there no textboxes empty except 4 the nuptial payment
if trum (col) =” the
msg Box “ the client field is empty, pleas
chose a client from the list” Vb critical +Vbokcancel
App .Title
Col. Setfocus
Register show
Exit sub
Elself Trim (pa)= “then
Msg Box” the product Advertised field is empty,” Vb critical +Vbok cancel, App.
Title pa. Setfoucs
Register –show
Exit sub
ELSCLF Trim(at)= “ then
Ms Box “ then Length of Advertise of field is empty,” Vbcrical + vbok cancel, App.
Titte
Loa . set focus
54
Register .show
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 55/64
Exit sub
EISCLF Trim (at)= “ “ then
Msg Box “then Aired time perday field is empty”
Vb critical + Vbok cancel, App title
at. Set focus
Register show
Exist sub
EISCLF Trim (at) = then
Msg Box “ the Aired Time perday field is empty”
Vb critical + Vbok cancel, App titte
Ap. set focus
Register :show
Exit sub
EISCLF Trim (aft)= “ “ then
Msg Box “ the Airing period field is empty Vb critical +Vbok cancel, App. Titte
Aft. Set focus
Register show
55
Exit sub
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 56/64
EISCLF Trim (ta) = “ “ then
Msg Box the total Amount field is empty;
Vb critical +Vbok cancel, App. Titte
Ta .set focus
Register show
Exit sub
EISELF Trim (id)= “ “ them
Msg” the mitial Deposit field is empty; Vb critical +Vbok cancel, App. Titte
id. Set focus
register .show
exit sub
ESICLF Trim (ba)= “ “then
Msg Box” the Balance field is empty; Vb critical + Vbok cancel, App. Titte
Ds. Set focus
Register .show
Td. Set focus
Exit sub
56
EISCILF Trim (td)= Date then
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 57/64
Msg Box” make sure you enter a date later then today’
td. Text=”
td. Set focus
Exit sub
EISC
“I never know wetin go dey here yet.
Adodc 1 . Recordset move first
Adodc 1 . Recordset move last
End if
End sub
Private sub c1- change o
End sub
Private sub co1 change o
Add. Enabled = True
End sub
Priate sub form- load
On Error Resume Next
57
Cominfo Addodc I Refresh
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 58/64
Do while Not cominfo. Ado dci. Recordset .EOF
Col .additem cominfo ui
Cominfo . Addodc I .Recordset move Next
Loop
Addodc I . Recordset . move
Addodc I . Recordset . move last.
Addodc I . Recordset . move . AddNew
ds Text = Date
and false
End sub
Private sub ok- click o
Lip
Unload me
End sub
Plash frim
Private sub Tinur 1-Timer o
58
Unload me
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 59/64
Mama show
End sub
Uche. Frim
Private sub from resize o
Mama. Showbarg . checked = True
Mama. Showcommfo checked= false
Grid Top=o
Grid, left =o
Grid: height =me. Scale height
Grid width =me scale width
Adodci Refresh
Do while Not Adodci Recordset. EOF
If td = Date then
Msg Box cn 8”’ s terminationate has reached. And will be deleted from the database
vbok only.
End
Adodci. Recordset. Move next
59
Lop
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 60/64
End sub
Abb frm
Option Explicit
Reg key security options
Const READ CONTROL= 8H2000
Const KEY-QUERY VALUE-8H1
Const KEY-QUERY VALUE-8H1
Const KEY-QUERY VALUE-8H2
Const KEY-QUERY VALUE-8H4
Const KEY-QUERY VALUE-8H8
Const KEY-QUERY VALUE-8H10
Const KEY - CREATE LINK =&H20
Const KEY-ALL ACCESS= KEY QUERY-VALVE +KEY SET
VALUE + KEY CREATE SUB KEY ENUMERATE SUB KEYS +KEY
NOTIFY+ KEY –CREATE LINK+ REAAD CONTROL REG KEY ROOT TYPES
CONST IT KEY LOCAL MANCHINE= &H5000002
CONST ERROR SUCCESS=O
60
CONST REG- 5=1 Unicode nul termmated string
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 61/64
CONST REG- DWORD=4 32-BIT NUMBERR
CONST GREGKEYSINFOLOC=” SOFTWARE/MICROSOFT/ SHARED TOOLS
LOCTION”
CONST GREGVALSYSINFOLOC= MSINFO’
CONST GREGVALSYSINFO=” PATH”
Private declear function reg open key Exlib” advapiz” alias Reg open key EXAS’
( Byval hkey as long, Byval lp sub key as string, Byval uloptons as long, yval sam
Desired as long, ByRef Phkresult As Long,
Private declare function reg query valu ExLib “ advapi 32” Alias “ Reg open key
ExA” (ByRef Phkresult /pvalue
Name As string. Byval lp Reserved As long, By Ref lp Type As long, Byval lp Date
As string. By ref ipcbDate As long) As long. Open regkey under root it key –local
machine)
Rc= Reg open key Ex(key root, key name, o, key- all access, h key)
Open registry key
If “(re--- error success) then cro to key error itandle error
Tmpval= string & ( 1024,0) “ Allocate variable space
61
Key valsize= 1024 “ mark variable size
R t i i t k l
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 62/64
Retrier registry key value..
Rc= registry value Ex ( h key, subkey valal size) get/ create key value
if ( rc error success) the go to get key error hand k errors
if ( Asc ( miid tmpval, keyval size, 1) =0) the win as adds Null terminarioned
string
tempval= left (tmpval, key val size-1) Null found Extract from string
else win nt does not Null Terminate tempval= left (tmpval, key valsize)
string
End if Null not found, Extaract string only
----------------------------------------------
determine key value type for conversion
----------------------------------------------
select case key val type search date types ----
case REG sz string registry key date type
Key val= tmpval copy string value
62
case REG DWORD Double word registry key date
for I Len (tmpval) to 1 step 1 convert each bit
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 63/64
for I = Len (tmpval) to 1 step-1 convert each bit
Key val = Key val +Hex (ASC (mid(tmpval ,I,i)) Build value chav. By Chav.
Next
Key val = format &(“sh”+Keyval) convert double word To String End Select
Get Kay = True Return success
re = Reg close key (hkey) Close registry key
Exit function Exit
Getkey Error: cleanup after an error his occurred ………………
Keyval = ‘’’’ set return val to Emptg
Getkey value = false string
re = Reg close key (hkey) Return failure
End function Close Registry key
.
63
8/4/2019 Design and Implementation of a Computerized Advert Management System. Case Study of Enugu State Broadcasting Service (Esbs) Enugu - Main
http://slidepdf.com/reader/full/design-and-implementation-of-a-computerized-advert-management-system-case 64/64
64