Advertisment Management System
Advertisment Management System
2. OBJECTIVE
3. SYSTEM SPECIFICATION
5. SYSTEM DESIGN
6. ER – DIAGRAM
7. SOFTWARE DISCRIPTION
8. VB 6.0
14. SNAPSHOTS
17. BIBLIOGRAPHY
Page 1 of 61
INTRODUCTION
Visual basic 6.0 is an interesting topic. It has all the methods have their own features with
each having merits and demerits which help in data processing. The topic includes their
architecture representing the elements involved in it and their action is also specified.
Visual Basic 6.0 allows creating object oriented applications. VB 6.0 profoundly
concentrates on the Internet development features, Active X technology, enhanced
controls, enhanced features of existing control, client/server, new language features
development, data access, a few design enhancement etc.
Relational databases are logical collection of inter-related data in tabular form. Relational
databases have always been core to any management system. Its relevance is profound and
hence the need to incorporate new functionalities, utilities become important. These are
predominant choice in storing financial records manufacturing and logical information ,
personnel data and much more. Relational databases are used in huge management
systems like post office , banking , railway, defence logistics. Databases pertaining to
educational institution and other large collection of related data.
Relational database have largely replaced hierarchical databases and network databases
because they are easy to understand and use even though they are much less efficient.
They have been however challenged by object databases and XML databases.
The three leading commercial relational databases vendors are oracle, Microsoft and IBM.
The three leading open source implementations are My SQL, Postage SQL and SQ Lite.
The software components used in our project are as under:
Microsoft Visual Basic 6.0
Microsoft Access 2003
Page 2 of 61
OBJECTIVE
The objective of our project is to develop a GUI (graphical user interface) based software
i.e., platform independent and user friendly and which can be fit into any college system.
It will remove data redundancy and will be fast in operation . Developing a proper
managed teacher management system for Dr. Rajendra Prasad Memorial Degree College
becomes the essence to let the users to gain the information about the blood donor and
recipient.
PURPOSE:-
The purpose of developing blood bank management system is to computerized the
tradition way of registering donor and recipient information. Another purpose for
developing this software is to generate the report automatically at the end of the session or
in the between of the session.
SCOPE:-
The scope of the project is the system on which the software is installed, i.e. the project is
developed as a desktop application, and it will work for a particular blood bank. But later
on the project can be modified to operate it online.
Page 3 of 61
PROJECT OUTLINE
The application starts with a login page, which is an html file where the user can login to
the company‟s website where he can access his account details, he can do his work of
doing project tasks there, where he can have an access to the company‟s database with
some constrains basing on his designation.
ADMINISTRATION
Administration processes are simplified allowing more time for management of resources.
The project information will assist management in ensuring that projects underway within
the organization are strategically aligned to the business and that the important project are
receiving the priority required. It also allows management to check that the project is
being managed effectively.
There are many benefits for an organization that opts to follow a standardized. Process or
method when investigating, initiating and managing projects. Some of these benefits are:
USER ROLE :-
Admin can login with his id and password.
He can view his detail and modify if any changes needed. This is called as
“Customer record” and “Recipient Record”.
He can view the “Announcements” which are given by the administrator.
He must update the current “Status” of the project and modification done on that
day.
Page 4 of 61
PROJECT BACKGROUND:- The virtual office is being character to decrease the
wastage of time for the employee. Employee can interact through online for doing his
regular works which will be done at regular convention office.
A ad agency is a place where donor and recipient come up for advertising his product. Ad
agency provides various facilities.
OVERALL DISCRIPTION
Planned approach towards working: - The working in the organization will be well
planned and organized. The data will be stored properly in data stores, which will help in
retrieval of information as well as its storage.
Accuracy: - The level of accuracy in the proposed system will be higher. All operation
would be done correctly and it ensures that whatever information is coming from the
center is accurate.
Reliability: - The reliability of the proposed system will be high due to the above stated
reasons. The reason for the increased reliability of the system is that now there would be
proper storage of information.
Page 5 of 61
Immediate storage of information: - In manual system there are many problems to
store the largest amount of information.
Easy to Operate: - The system should be easy to operate and should be such that it can
be developed within a short period of time and fit in the limited budget of the user.
USER CHARACTERSTIC
Every user should be:
Comfortable of working with computer.
He must have knowledge in medical field.
He must also have basic knowledge of English too.
CONSTRAINS:-
GUI is only in English.
Login and password is used for identification of user and there is no facility for
guest.
DEFINITIONS OF PROBLEMS
Problems with conventional system.
Lack of immediate retrievals: - The information is very difficult to retrieve and to find
particular information like- E.g. - To find out about the patient‟s history, the user has to go
through various registers. This results in inconvenience and wastage of time.
Page 6 of 61
Error prone manual calculation: - Manual calculations are error prone and take a lot of
time. This may result in incorrect information. For example calculation of patient‟s bill
based on various treatments.
Preparation of accurate and prompt reports: This becomes a difficult task as
information is difficult to collect from various registers.
ALTERNATIVE SOLUTIONS
Improved Manual System:- One of the alternative solutions is the improvement of the
manual system. Anything, which can be done by using automated methods, can be done
manually. But the question arises how to perform thing manually in a sound manner.
Following are some suggestions, which can be useful in the manual system:-
A more sophisticate register maintenance for various Patient Information, Doctor diary,
Immunization Details and a good system for writing bill amount employees and stock
availed for the customers can be maintained at central place.
Adequate staff may be maintained so that updating are made at the very moment at the
same time. Proper person for proper work should be made responsible so that a better
efficiency could be achieved.This needs a lot of work force.
Batch System:- Another alternative solution can be used of computer based batch system
for maintaining the information regarding purchase details, customers and employees. A
batch system refers to a system in which data is processed in a periodical basis. The
batch system is able to achieve most of the goals and sub goals. But a batch system data is
processed in sequential basis. Therefore batch system is not suggested.
PROJECT SPECIFICATION
The portal Administrator role would typically be allocated to an individual working in the
project office. If our organization does not have a project office, it should be someone who
is involved in the overall prioritization, administration and management of projects and
who has authority in these areas.
Page 7 of 61
Virtual office contains a documentation repository per project and a general repository of
project management templates that can be used by the project managers and team
members. The repository enables all team members to upload specific documentation
relating to the project i.e. project plans, minutes of meetings, specification documentation,
training documentation, agreements with suppliers etc.
This facility enables the easy sharing of documentation by the team members and also
assists in ensuring that the latest version is always centrally available to the members. It
avoids the unnecessary emailing of large documents to several team members and the risk
that documentation could be mislaid. Up-to-date relevant documentation is a requirement
for a successful project.
Page 8 of 61
SYSTEM SPECIFICATIONS
Hardware specification
HDD : 40 GB or higher
Software Specification
Page 9 of 61
SYSTEM STUDY AND ANALYSIS
System analysis is the process of gathering & interpreting facts, diagnosing problems &
the information to recommend improvements on the system. It is the problem solving
activity that requires intensive communication between the system user & system
developers. System analysis or study is an important phase of any system development
process. The system is studied to the minutest detail & analysed. The system analysed
plays the rule of the terrogator & dwells deep into the working present system. The
system is viewed as a whole & the input to the system are identified. The outputs from the
organization are traced to the various processes. System analysis is concerned with
becoming aware of the problem, identifying the relevant & decisional variables, analyzing
& synthesizing the various factors & determining & optimal or at least a satisfactory
solution or program of action. A detailed study of the process must be made by various
techniques like interviews, questionnaires etc. The data collected by these source must be
scrutinized to arrive to a conclusion.
The conclusion is an understanding of how the system functions. This system is called the
existing system. Now the existing system is subjected to close study & problem areas are
identified. The designer now functions as a problem solver & tries to sort out the
difficulties that the enterprise faces. The solutions are given as proposals. The proposal is
then weighed with the existing system analytically and the best one is selected.
The proposal is presented to the user for an endorsement by the user. The proposal is
reviewed on user request & suitable changes are made. This is loop that ends as soon as
the user is satisfied with proposal.
Preliminary study is the process of gathering and interpreting facts, using the information
for further studies on the system . Preliminary study is problem solving activity that
requires intensive communication between the system user and system developers. It dose
various feasibility studies. In these studies a rough fighter of the system activation can be
obtained, from which the decision about the strategies to be followed for effective system
study and analysis can be taken. Here in project BLOOD BANK MANAGEMENT a
detailed study of existing system is carried along with all the steps in system analysis.
An idea for creating a better project was carried and the next steps were followed:-
Page 10 of 61
FEASIBILITY STUDY
Whatever we think need not be feasible .It is wise to think about the feasibility of any
problem we undertake. Feasibility is the study of impact, which happens in the
organization by the development of a system. The impact can be either positive or
negative. When the positives nominate the negatives, then the system is considered
feasible. Here the feasibility study can be performed in two ways such as technical
feasibility and Economical Feasibility.
Technical Feasibility:
We can strongly says that it is technically feasible, since there will not be much difficulty
in getting required resources for the development and maintaining the system as well.
All the resources needed for the development of the software as well as the maintenance
of the same is available in the organization here we are utilizing the resources which are
available already.
Economical Feasibility:
Development of this application is highly economically feasible .The organization needed
not spend much m money for the development of t he system already available. The only
thing is to be done is making an environment for the development with an effective
supervision. If we are doing so , we can attain the maximum usability of the corresponding
resources .Even after the development , the organization will not be in a condition to
invest more in t he organization .Therefore , the system is economically feasible.
Behavioural feasibility:
The system working is quite easy to use and learn due to its simple but attractive interface.
User requires no special training for the operating system.
Operational feasibility:
This feasibility test asks if the system will work it is developed and installed.
Operational feasibility in this project.
The proposed system offers greater level of user- friendliness.
The proposed system produce best result and gives high performance. It can be
implemented easily. So this project is operationally feasible.
Page 11 of 61
SYSTEM DESIGN
INTRODUCTION:
Design is the first step into the development phase for any engineered product or system.
Design is the creative process. A good design is the key to effective system. The term
“design” is defined as “the process of applying various techniques and principles for the
purpose of defining a process or a system in sufficient detail to permit its physical
realization”. It may be defined as a process of applying various techniques and principles
for the purpose of defining a device, a process or a system in sufficient detail to permit its
physical realization. Software design sits at the technical kernel of the software
engineering process and is applied regardless of the development paradigm that is used.
The system design develops the architectural detail required to build a system or product.
As in the case of any systematic approach, this software too has undergone the best
possible design phase fine tuning efficiency, performance and accuracy levels. The design
phase is transition from a user oriented document to a document to the programmers or
database personnel. System design goes through two phases of development: Logical
design and physical design.
LOGICAL DESIGN:-
The logical flow of a system and define the boundaries of a system. It includes the
following step-:
Reviews the current physical system- its data flow, file content, volumes
frequency etc
Prepares output specification-that is, determines the format, content and
frequency of report.
Prepares input specification - format, content and the most of the input
functions.
Prepares edit, security and control specification.
Specifies the implementation plan.
Prepares a logical design walk through of the information flow, output , input,
controls and implementation plan.
Reviews benefits, costs, target dates and system constraints.
Page 12 of 61
PHYSICAL DESIGN:-
Physical system produce the working system by define the design specifications that tell
the programmers exactly what the candidate system must do. It include the following
steps-:
DESIGN/SPECIFATION ACTIVITY:-
Concept formulation
Problem understanding
High level requirements proposal
Feasibility study
Requirement engineering
Architectural design
MODULE DESIGN
ADMIN-: The administrator logs in using the admin login. In this module two
operations are done. During the login and password is verified with that in the database.
Page 13 of 61
INPUT DESIGN:-
The design of input focuses on controlling the amount of input required, controlling the
errors, avoiding delay, avoiding extra steps and keeping the process simple. The input is
designed in such a way so that it provides security and ease of the use with retaining the
privacy. Input design considered the following things-:
OUTPUT DESIGN:-
A quality output is one which meets the reqsuir3emt f the end user and present
information clearly . The objective of output design is to convey information about past
activities current status or projection of the future, signal important events, opportunities
problem, or warning, trigger an action, confirm an action etc. efficient, intelligible output
design should improve the system „s relationship with the user and helps in decisions
makings. In output design the emphasis is on displaying the output on a CRT screen in a
predefined format. The primary consideration in design of output is the information
requirement and objectives of the end users. The major information of the output is to
convey the information an so its layout and design need a careful consideration .There is a
output display screen for showing the compressed/ decompressed file or folder detail (
original file size, compressed/ decompressed file size, distinct characters.)
SYSTEM IMPLEMENTATION
Implementation is the stage in the project where the theoretical design is turned into a
working system. The implementation phase constructs, installs and operates the new
system. The most crucial stage in achieving a new successful system is that it will work
efficiently and effectively.
There are several activities involved while implementing a new project. They are
End user training
Page 14 of 61
End user Education
Training on the application software
System Design
Parallel Run And To New System
Post implementation Review
Page 15 of 61
Customer Name
Custome ID
Data of registration
Channel
name
Date from
Email Payment method
``
Customer Regestration
To Date
Television
Advertising media media
Address
Duration
Advertising product
Contact no.
Price
Has
Media
Radio media
Media detail
Internet media
Digitel banner
Television
media
duration
City name From date
Banner size
To date Duration
price „];-+6
n
Digital banner
From date
Price
To date
„];-+6
Newspaper media
n
To date
Magazine name
Price
From date
Page 16 of 61
SOFTWARE DESCRIPTION
Upon start up, Visual Basic 6.0 will display the following dialog box as shown in Figure 1
We can choose to start a new project, open an existing project or select a list of recently
opened programs. A project is a collection of files that make up your application. There
are various types of applications that can be created; however, we shall concentrate on
creating Standard EXE programs (EXE means executable
program). Now, click on the Standard EXE icon to go into the VB programming
environment.
Page 17 of 61
Figure 2: The Visual Basic Environment
.It also has a Toolbox that consists of all the controls essential for developing a VB
Application. The controls include text boxes, command buttons, labels, combo boxes,
picture boxes, image boxes, timers and other objects that can be dragged to and drawn on
the form to perform certain tasks according to the events assigned to them. You may also
add additional objects. First, click on the project item on the menu, then on the
components item on the drop-down list, and lastly select the controls you want to use in
your program. The controls for Standard.EXE window are shown in figure 3.
Page 18 of 61
Figure3: The controls for Standard.EXE window are shown :-
Example 1.
In this program, two text boxes are inserted into the form together with a few labels. The
two text boxes are used to accept inputs from the user and one of the labels will be used to
display the sum of two numbers that are entered into the two text boxes. A command
button is also programmed to calculate the sum of the two numbers using the plus
Page 19 of 61
operator. The program creates a variable, „sum‟, to accept the summation of values from
Textbox 1 and Textbox 2.The procedure to calculate and display the output on the label is
shown below. The output is shown in Figure a.
Label1.Caption = Sum
End Sub
Figure a:-
b) The Label :-
The label is a very useful control for Visual Basic, as it is not only used to provide
instructions and guides to the users, it can also be used to display outputs. One of its most
important properties is Caption . Using the syntax label.Caption , it can display text and
numeric data. You can change its caption in the properties window and also at runtime.
Please refer to Example 1 and Figure „a‟ for the usage of labels.
Page 20 of 61
The command button is a very important control as it is used to execute commands. It
displays an illusion that the button is pressed when the user clicks on it. The most common
event associated with the command button is the Click event, and the syntax for the
procedure is:
The items in the list box can be identified by the List Index property, the value of the List
Index for the first item is 0, the second item has a List Index 1, and the second item has a
List Index 2 and so on.
Example 3
Private Sub Form _Load ( )
Combo1.AddItem “Item1”
Combo1.AddItem “Item2”
Combo1.AddItem “Item3”
Combo1.AddItem “Item4”
End Sub
Page 22 of 61
For example, the program will change the background color of the form to red when the
check box is unchecked and it will change to blue when the check box is checked.
VB Red and VB Blue are colour constants and Back Colour is the background colour
property of the form.
Example 4
Shape1.Shape = 4
End Sub
Private Sub Option6_Click()
Shape1.Shape = 5
End Sub
Page 24 of 61
The Directory List Box is used to display the list of directories or folders in a selected
drive. When you place this control into the form and run the program, you will be able to
select different directories from a selected drive in your computer as shown in figure „c‟.
Figure c: The Directory List Box
Page 25 of 61
We can coordinate the Drive List Box, the Directory List Box and the File List Box to
search for the files you want.
MS ACCESS 2003
Microsoft Access is a powerful program to create & manages your data bases. It has many
built in features to assist you in constructing & viewing to information. Access is much
more involved & is a more genuine data base application then other programs such as
Microsoft Works.
The keywords involved in the process are: Data File, Table Record , Field , Data type.
Here is the hierarchy that Microsoft Access user in breaking down a database.
Database field
Table
Field
Data type
Value
DEFINITIONS:-
These words are used often in Access so you will want to become familiar with them
before using the program and this tutorial.
Relational Database:
Page 26 of 61
In relational databases such as Access, data is stored in tables made up of one or more
fields (Access calls a column a field). The data stored in each column must be of a single
data type such as Character, Number or Date. A collection of values from each column of
a table is called a record or a row in the table. Different tables can have the same column
in common. This feature is used to explicitly specify a relationship between two tables.
Values appearing in column A in one table are shared with another table.
Table:
Tables are the main units of data storage in a database. A table is a collection of data
about a specific topic; it is made up of one of more fields.
Field:
A field is a column in a table and defines a data type for a set of values in a table. For
example, a mailing list table might include fields for first name, last name, address, city,
state, zip code, and telephone number.
Record:
A record in a row in a table and is a set of values defined by fields. In a mailing list table,
each record would contain the data for one person as specified by the intersecting fields.
Data type:
Data types are the properties of each field. A field only has one data type, such as
Character, Number or Date.
Primary Key:
A primary key is a value that can be used to identify a unique record in a table. Design
View: it provides the tools for creating fields in a table.
Datasheet View: It allows you to update, edit, and delete information from a table.
Page 27 of 61
VERIFICATION AND VALIDATION
VALIDATION SPECIFICATION
The term validation and verification are used interchangeably, verification is a process of
determining whether or not the products of given phase of software development fulfil the
specification established during the previous phase. The activities include providing
testing and previous phase. Validation is a process of evaluating the software at the end of
software process to find out how will the software satisfies requirement specification .The
development of software starts with requirement document and is therefore important that
requirement specification contain no error and specifies client requirements correctly. The
validation process evaluating deployment system at an end is must, to ensure that it meets
all necessary requirement specification. Requirement verification also checks the factors
as completeness, consistency and testability of the requirements. The major verification
and validation activities for software development are transactions, queries and reports.
Transaction and queries are performed in order to check various inputs and expected
outputs. These outputs are checked against the existing document to see whether they are
matching or not. Inspections and reviews are preformed in order to be careful with
calculations being made. The primary purpose of reviews was to detect the defects at
different stages during the project. The reviews process is generally done by group of
people including author of product, department head and a person from each phase
preceding and succeeding the current phase under review.
The review material usually includes specification, system design, detail design code and
test plan. Proper execution of reviews is critical to success of project. According to
pressman “validation criteria” is probably the most important and often neglected section
of SRS. How do we recognise successful implementation? Reasonable expectations are
defined in SRS under this
section and user visible attribute of software are also defined here. Information contained
in this section forms the basis for a validation testing approach.
Page 28 of 61
SOFTWARE TESTING
Testing is a process of executing a program with the interest of finding an error. A good
test is one that has high probability of finding the yet undiscovered error. Testing should
systematically uncover different classes of errors in a minimum amount of time with a
minimum amount of efforts. Two classes of input are provided to test the process.
Unit Testing:
Unit test comprises of a set tests performed by an individual program prior to the
integration of unit into large system. A program unit is usually the smallest free
functioning part of whole system .Module unit testing should be as exhaustive as possible
to ensure that each representation handled by each module has been tested. All the units
that makeup the system must be tested independently to ensure that they work as required
.During unit testing some errors were raised and all them were rectified and handled well.
The result was quiet satisfactory and it worked well.
Integration testing:
Integration testing is a system technique for constructing the program structure while at
the same time conducting tests to uncover errors associated with interfacing. The objective
is to take unit tested modules and build a program structure that been dictated by design.
Bottom-up integration is the traditional strategy used to integrate the components of
software system into functioning whole. Bottom-up integration consists of unit test
followed by testing of the entire of system. A sub-system consists of several modules that
communicated with other defined interface.The system was done the integration testing.
All the modules were tested for their compatibility with other modules. They test was
Page 29 of 61
almost successful. All the modules coexisted very well, with almost n bugs. All the
modules were encapsulated very well so as to not hamper the execution of other modules.
Validation testing
After validation testing, software is completely as a package, interfacing errors that have
been uncovered and corrected and the final series of software test the validation test
begins. Steps taken during software design and testing can greatly improve the probability
of successful integration in the layer system. System testing is actually a series of different
tests whose primary purpose is to fully exercise the computer-based system.
Recovery Testing
It is a system that forces the software to fail in a variety of ways and verifies that the
recovery is properly performed.
Security Testing
It attempts to verify that protection mechanisms built into a system will in fact protect it
from improper penetration. The system‟s security must course be tested be from in
vulnerability form frontal attack.
Stress testing
Stress tools are designed to confront programs with abnormal situations. Stress testing
executes a system in a system in a manner that demands resources in abnormal quantity
and volume.
Black Box Testing Black box testing is done to find out the following information as
shown in below:
Page 30 of 61
The mentioned testing is carried out successfully for this application to the user‟s
requirement specification.
Page 31 of 61
DATABASE DESIGN
NORMALIZATION:-
The first stage of normalization is to reduce the data and to its first normal form, removing
repeating terms showing them as separate record but including in them the key fields of
original record. The next stage of reduction to the second normal form is to check that the
record, which one is first normal form, all the terms in each record are entirely on the key
of the record. If the data is not dependent on the key of the record, but another data items,
then it is remove with its key to form another record. This is done until each record
contains data items, which are entirely dependent on the key of their record.
The final stage of analysis, the reduction of third normal form involves examining each
record which second forms to see whether any items are mutually dependent. If there are
any items there are remove to separate record leaving one of items behind in the original
record and using as the key in the newly created record.
Page 32 of 61
RELATIONAL DATABASE MANAGEMENT:-
A relational database management system only its relational capabilities to manage the
Information store in its databases. A relational model represents the data base as a
collection of relation. Each relation resembles a table of values or file of records. In formal
relational model terminology, a row is called a tuple, a column is called an attribute and
the table is called a relation. A relational data base consist of a collection of tables, each of
which is assigned a unique name. A row in a table represents a set of related values.
LOGICAL ACCESSIBILITY
Every data item value stored in relational data base is accessible by string nature of table it
is stored name of column under which it is stored and value of primary key that defines
the row in which it is stored.
LOGICAL SCHEMA:-
A logical schema is a data model of a specific problem domain that in terms of particular
data management technology. Without being specific to a particular database
Page 33 of 61
management product technology. It is in terms of either (for example, in 2007) relational
tables and columns, object-oriented classes, or XML tags. This is as opposed to a
conceptual data model, which describes the semantics of an organization without reference
to technology, or a physical database model, which describes the particular physical
mechanism used to capture data in storage.
CONCEPTUAL SCHEMA:-
A conceptual schema or conceptual data model is map of concept and their relationships.
This describes the semantics of an organization and represent a series of assertion about its
nature. Specifically, it the things of significance to an organization (entity classes), about
which it is inclined to collect information, and characteristics of (attributes) and
association between pairs of those things of significance (relationships). Because it
represents the semantics of an organization, and not a database design, It many exist on
level of abstraction. The original ANSI four-schema architecture began with the set of
external schemas that each represents one person‟s view of the world around him or her.
These are consolidated into a single conceptual schema that is the superset of all of those
external views. A data model can be as concrete as each person‟s perspective, but this tend
to make it inflexible. If that person‟s world changes, the model must change. Conceptual
data model take a more abstract perspective, identifying the fundamental things, of which
the things an individual deal with are but examples. The model does allow for what is
called inheritance in object oriented terms. The set of instances of an entity class may be
subdivided into entity classes in their own right. Thus, each instance of a sub- type entity
class is also an instance of the entity class‟s super-type. Each instance of sub-type entity
class then is also an instance of one of the sub-type entity class. Super-type/sub-type
relationships may be exclusive or not. A methodology may require the each instance of a
super-type may only be an instance of one sub-type. Similarly, a super-type/sub-type
relationship may be exhaustive or not. It is exhaustive if the methodology require that each
instance of a super-type must be an instance of sub-type.
INTEGRITY CONSRAINTS
Constrains that applied to integrity and referential integrity are specifiable by the data
language implemented by the database management system and not by the statements
coded into the application program.
Page 34 of 61
DATABASE TABLES
Page 35 of 61
TELEVISION MEDIA TABLE
TO DATE INTEGER
PRICE INTEGER
Page 36 of 61
RADIO MEDIA TABLE
TO DATE INTEGER
PRICE INTEGER
TO DATE INTEGER
PRICE INTEGER
Page 37 of 61
MAGAZINE MEDIA TABLE
FIELD NAME FIELD TYPE KEY
CUSTOMER ID INTEGER PRIMARY
PRICE PRICE
PRICE INTEGER
Page 38 of 61
SNAP SHOTS
LOGIN FORM:-
MDI FORM:-
Page 39 of 61
CUSTOMER INFORMATION FORM:-
Page 40 of 61
RADIO MEDIA FORM:-
Page 41 of 61
MAGAZINE MEDIA FORM:-
Page 42 of 61
INTERNET MEDIA FORM:-
Page 43 of 61
CUSTOMER RECORD DELETION FORM:-
Page 44 of 61
DATA REPORT-
Page 45 of 61
FORM CODING
ADMIN LOGIN:-
End If
Unload Me
End Sub
End Sub
End Sub
Page 46 of 61
MDI FORM:-
Page 47 of 61
End Sub
CUSTOMER REGISTRATION:-
Page 48 of 61
MsgBox "please enter a numeric value", vbInformation
End If
If (Not IsNumeric(cbyyyy.Text)) Then
MsgBox "plese enter numaric value", vbInformation '
End If
If (txtid.Text = "" Or cbdd.Text = "" Or cbmm.Text = "" Or cbyyyy.Text = "" Or
txtcn.Text = "" Or txtcomp.Text = "" Or txtadvp.Text = "" Or txtmc.Text = "" Or
txteid.Text = "" Or cbpmt.Text = "") Then
MsgBox "field is empty", vbInformation '
Else
con.Execute ("insert into cust_info values('" + txtid.Text + "','" + cbdd.Text + "','" +
cbmm.Text + "','" + cbyyyy.Text + "','" + txtcn.Text + "','" + txtcomp.Text + "','" +
txtadvp.Text + "','" + txtmc.Text + "','" + txteid.Text + "','" + cbpmt.Text + "','" +
cbmed1.Text + "','" + cbmed2.Text + "','" + cbmed3.Text + "','" + cbmed4.Text + "','" +
cbmed5.Text + "','" + cbmed6.Text + "')")
MsgBox ("record added successfully")
End If
End Sub
End Sub
Page 50 of 61
Private Sub Command1_Click()
txtid.SetFocus
txtid.Text = " "
txtfreq.Text = " "
txtd.Text = " "
txtm.Text = " "
txtyy.Text = " "
txtdd.Text = " "
txtmm.Text = " "
txtyyyy.Text = " "
txtdur.Text = " "
txtprice.Text = " "
End Sub
End If
If (txtid.Text = "" Or txtfreq.Text = "" Or txtd.Text = "" Or txtm.Text = "" Or txtyy.Text =
"" Or txtdd.Text = "" Or txtmm.Text = "" Or txtyyyy.Text = "" Or txtdur.Text = "") Then
MsgBox "field is empty", vbInformation '
Else
con.Execute ("insert into tv_media_report values('" + txtid.Text + "','" + txtfreq.Text + "','"
+ txtd.Text + "','" + txtm.Text + "','" + txtyy.Text + "','" + txtdd.Text + "','" + txtmm.Text +
"','" + txtyyyy.Text + "','" + txtdur.Text + "','" + txtprice.Text + "')")
MsgBox ("record added successfully")
End If
End Sub
Page 51 of 61
Private Sub Command3_Click()
Unload Me
End Sub
Page 52 of 61
txtdur.Text = " "
txtprice.Text = " "
End Sub
End If
If (txtid.Text = "" Or txtfreq.Text = "" Or txtd.Text = "" Or txtm.Text = "" Or txtyy.Text =
"" Or txtdd.Text = "" Or txtmm.Text = "" Or txtyyyy.Text = "" Or txtdur.Text = "") Then
MsgBox "field is empty", vbInformation '
Else
con.Execute ("insert into radio_media_report values('" + txtid.Text + "','" + txtfreq.Text +
"','" + txtd.Text + "','" + txtm.Text + "','" + txtyy.Text + "','" + txtdd.Text + "','" +
txtmm.Text + "','" + txtyyyy.Text + "','" + txtdur.Text + "','" + txtprice.Text + "')")
MsgBox ("record added successfully")
End If
End Sub
txtid.SetFocus
txtid.Text = " "
txtpaper.Text = " "
txtd.Text = " "
txtm.Text = " "
txtyy.Text = " "
txtdd.Text = " "
txtmm.Text = " "
txtyyyy.Text = " "
txtpage.Text = " "
txtarticle.Text = " "
txtsize.Text = " "
txtprice.Text = " "
End Sub
End Sub
Page 54 of 61
Private Sub Command2_Click()
connectdb
If (Not IsNumeric(txtid.Text)) Then
MsgBox "plese enter numaric value", vbInformation '
End If
If (Not IsNumeric(txtpage.Text)) Then
MsgBox "plese enter numaric value", vbInformation '
End If
If (Not IsNumeric(txtarticle.Text)) Then
MsgBox "plese enter numaric value", vbInformation '
End If
If (txtid.Text = "" Or txtpaper.Text = "" Or txtd.Text = "" Or txtm.Text = "" Or
txtyy.Text = "" Or txtdd.Text = "" Or txtmm.Text = "" Or txtyyyy.Text = "" Or
txtpage.Text = "" Or txtarticle.Text = "" Or txtsize = "" Or txtprice = "") Then
MsgBox "field is empty", vbInformation '
Else
con.Execute ("insert into news_paper_report values('" + txtid.Text + "','" +
txtpaper.Text + "','" + txtd.Text + "','" + txtm.Text + "','" + txtyy.Text + "','" + txtdd.Text +
"','" + txtmm.Text + "','" + txtyyyy.Text + "','" + txtpage.Text + "','" + txtarticle.Text + "','"
+ txtsize.Text + "','" + txtprice.Text + "')")
MsgBox ("record added successfully")
End If
End Sub
txtid.SetFocus
txtid.Text = " "
txtcity.Text = " "
txtdur.Text = " "
txthordin.Text = " "
txtbanner.Text = " "
txtbannersize.Text = " "
txthordsize.Text = " "
txtprice.Text = " "
End Sub
End If
If (txtid.Text = "" Or txtcity.Text = "" Or txtaddur.Text = "" Or txthordin.Text = ""
Or txtbanner.Text = "" Or txtbannersize.Text = "" Or txthordsize.Text = "" Or
txtprice.Text = "") Then
MsgBox "field is empty", vbInformation '
Else
con.Execute ("insert into banner_advert_report values('" + txtid.Text + "','" +
txtcity.Text + "','" + txtaddur.Text + "','" + txthordin.Text + "','" + txtbanner.Text + "','" +
txtbannersize.Text + "','" + txthordsize.Text + "','" + txtprice.Text + "')")
MsgBox ("record added successfully")
End If
End Sub
End Sub
End If
Page 58 of 61
If (txtid.Text = "" Or txtwebsite.Text = "" Or txtd.Text = "" Or txtm.Text = "" Or
txtyy.Text = "" Or txtdd.Text = "" Or txtmm.Text = "" Or txtyyyy.Text = "" Or
txtprice.Text = "") Then
MsgBox "field is empty", vbInformation '
Else
con.Execute ("insert into internet_advert_report values('" + txtid.Text + "','" +
txtwebsite.Text + "','" + txtd.Text + "','" + txtm.Text + "','" + txtyy.Text + "','" + txtdd.Text
+ "','" + txtmm.Text + "','" + txtyyyy.Text + "','" + txtdim.Text + "','" + txtdim2.Text + "','"
+ txtprice.Text + "')")
MsgBox ("record added successfully")
End If
End Sub
Page 59 of 61
CONCLUSION AND FUTURE SCOPE
From a proper analysis of positive points and constraints on the project .it can be safely
concluded that the Blood Bank Management System is a highly efficient Graphical User
Interface based project. This project is working properly and meeting all the user
requirements. This project can be easily plugged in many other systems.
The proposed system “Blood Bank Management System” has the following scope
5.To make the data more secure , the software has provided the facility of
admin login.
Page 60 of 61
BIBLIOGRAPHY
BOOKS
ONLINE REFERENCE
1. www.w3schools.com
2. www.theserverside.com
3. www.visual.com
4. www.google.com
Page 61 of 61