0% found this document useful (0 votes)
53 views61 pages

Advertisment Management System

This document provides an index and overview of a project on an advertisement management system. It includes sections on introduction, objectives, system specifications, study and analysis, design, ER diagram, software description, verification and validation, database design, tables, forms, and conclusion. The system will manage all details of advertisements, products, and information. It aims to provide an automated, user-friendly alternative to the manual writing system currently used.

Uploaded by

Shrikant Shukla
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views61 pages

Advertisment Management System

This document provides an index and overview of a project on an advertisement management system. It includes sections on introduction, objectives, system specifications, study and analysis, design, ER diagram, software description, verification and validation, database design, tables, forms, and conclusion. The system will manage all details of advertisements, products, and information. It aims to provide an automated, user-friendly alternative to the manual writing system currently used.

Uploaded by

Shrikant Shukla
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 61

INDEX

S.N TOPIC PAGE NO.


O.
1. INTRODUCTION

2. OBJECTIVE

3. SYSTEM SPECIFICATION

4. SYSTEM STUDY AND ANALYSIS

5. SYSTEM DESIGN

6. ER – DIAGRAM

7. SOFTWARE DISCRIPTION

8. VB 6.0

9. MICROSOFT ACCESS 2003

10. VARIFICATION AND VALIDATION

11. SOFTWARE TESTING

12. DATABASE DESIGN

13. DATABASE TABLE

14. SNAPSHOTS

15. FORM CODING

16. CONCLUSION AND FUTURE SCOPE

17. BIBLIOGRAPHY

Page 1 of 61
INTRODUCTION

The project entitled “ ADVERTISMENT MANAGEMENT SYSTEM” is to handle the


entire details of advertisement management . The software keeps track of all the
information about advertisement management, advertising product and it‟s complete
details . The user will find it easy in this automated system rather than using the manual
writing system . The system contains the database where all the information will be stored
safely . The system is user friendly and error free.

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.

The objective can be listed below as:-


 To provide a proper registration channel /system to the new blood donor and
blood recipient.
 To maintain all the accounts of the donor and recipient in digital form.
 To update the information that is essential to transmit to the user.
 To make the information available to the departments at their desks whenever
required, in just a click away.
 To have a centralised control over the records of the donor and recipient and
monitor the changes in these records.
 To generate a digital report of 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:

 It provides a consistent approach to project in an organization.


 The project success rate is increased, ultimately saving costs.
 It raises the skill of project managers in the organization.
 A common knowledge base is created reducing project risks.

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

Goals of proposed system

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.

No Redundancy: - In the proposed system utmost care would be that no information is


repeated anywhere, in storage or otherwise. This would assure economic use of storage
space and consistency in the data stored.

Immediate retrieval of information: - The main objective of proposed system is to


provide for a quick and efficient retrieval of information. Any type of information would
be available whenever the user requires.

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.

Lack of immediate information storage: - The information generated by various


transactions takes time and efforts to be stored at right place.

Lack of prompt updating: - Various changes to information like patient details or


immunization details of child are difficult to make as paper work is involved.

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

Processor : Intel Pentium IV 2.4 GHz or above

Clock speed : 500 MHz

System bus : 32 bits or 64 bits

RAM : 256 MB of RAM or above

HDD : 40 GB or higher

Monitor : SVGA COLOR

Mouse : 2 button /3 button

Keyboard : 104 keys

Software Specification

OS : MS WINDOWS XP SP2, VISTA, 7

Front End : Visual Basic 6.0

Back End : MS ACCESS 2003

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 the physical system.


 Specify input and output media.
 Design the database and specify backup procedures. Design physical
 information flow through the system and a physical design walk through plan
system implementation.
 Prepare a conversion schedule and target date.
 Determine training procedures, courses and timetable.
 Device a test and implementation plan and specify any new hardware/software
 Update benefits, costs, conversion date and specify constraints.

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-:

 What data should be given as input?


 How the data should be arranged or coded?
 The dialog to guide the operating personnel in providing input.
 Methods for preparing input validations & steps to follow when error occur.

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

End user Training:


The successful implementation of the new system will purely upon the involvement of the
officers working in that department. The officers will be imparted the necessary training
on the new technology.

End User Education:


The education of the end user start after the implementation and testing is over. When the
system is found to be more difficult to under stand and complex, more effort is put to
educate the end used to make them aware of the system, giving them lectures about the
new system and providing them necessary documents and materials about how the system
can do this.

Training of application software:


After providing the necessary basic training on the computer awareness, the users will
have to be trained upon the new system such as the screen flows and screen design type of
help on the screen, type of errors while entering the data, the corresponding validation
check at each entry and the way to correct the data entered. It should then cover
information needed by the specific user or group to use the system.

Post Implementation View:


The department is planning a method to know the states of t he past implementation
process. For that regular meeting will be arranged by the concerned officers about the
implementation problem and success.

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

News paper media Channel Radio media

duration
City name From date

Banner size

To date Duration
price „];-+6
n
Digital banner

Paper name Newspaper media

From date

Price
To date

„];-+6
Newspaper media
n
To date

Magazine name

Price
From date
Page 16 of 61
SOFTWARE DESCRIPTION

Over view of Visual Basic and MS Access

VISUAL BASIC 6.0

The Visual Basic Environment:

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.

Figure 1. The Visual Basic Start-up Dialog Box

Page 17 of 61
Figure 2: The Visual Basic Environment

In Figure 2 ,the Visual Basic Environment consists of


• A blank form for you to design your application's interface.
• The project window which displays the files that are created in your application.
• The properties window which displays the properties of various controls and
objects that are created in your application.

.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 :-

The control properties:-

Handling some of the common controls

a) The Text Box:-


The text box is the standard control that is used to receive input from the user as well as to
display the output. It can handle string (text) and numeric data but not images or pictures.
Strings in a text box can be converted to numeric data by using the function Val(text).
The following example illustrates a simple program that processes the inputs from the
user:-

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.

Private Sub Command1_Click()


Sum = Val(Text1.Text) + Val(Text2.Text)

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.

c) The Command Button:-

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:

Private Sub Command1_Click ()


Statements
End Sub

d) The Picture Box:-


The Picture Box is one of the controls that used to handle graphics. You can load a picture
during the designing phase by clicking on the picture item in the properties window and
select the picture from the selected folder. You can also load the picture at runtime using
the Load Picture method. For example, this statement will load the picture grape.gif into
the picture box.

Picture1.Picture=Load Picture ("C:\VB program\Images\grape.gif")

The image in the picture box is not resizable.

e) The Image Box:-


The Image Box is another control that handles images and pictures. It functions almost
identically to the picture box. However, there is one major difference, the image in an
Image Box is stretchable, which means it can be resized. This feature is not available in
the Picture Box. Similar to the Picture Box, the Load Picture method can also be used. For
example, this statement loads the picture grape.gif into the image box.

Image1.Picture=Load Picture ("C:\VB program\Images\grape.gif")

f) The List Box:-


The function of the List Box is to present a list of items where the user can click and select
items from the list. In order to add items to the list, we can use the AddItem method . For
example, if you wish to add a number of items to List box 1, we can key in the following
statements .Example 2
Page 21 of 61
Private Sub Form _Load ( )
List1.AddItem “Lesson1”
List1.AddItem “Lesson2”
List1.AddItem “Lesson3”
List1.AddItem “Lesson4”
End Sub

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.

g) The Combo Box:-


The function of the Combo Box is also to present a list of items where the user can click
and select the items from the list. However, the user needs to click on the small arrowhead
on the right of the combo box to see the items which are presented in a drop-down list. In
order to add items to the list, you can also use the AddItem method.
For example, if you wish to add a number of items to Combo box 1, you can key in the
following statements .

Example 3
Private Sub Form _Load ( )
Combo1.AddItem “Item1”
Combo1.AddItem “Item2”
Combo1.AddItem “Item3”
Combo1.AddItem “Item4”
End Sub

h) The Check Box:-


The Check Box control lets the user select or unselect an option. When the Check Box is
checked, its value is set to 1 and when it is unchecked, the value is set to 0. You can
include the statements Check1.Value=1 to mark the Check Box and Check1.Value=0 to
unmark the Check Box, and use them to initiate certain actions.

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

Private Sub Check1_Click ()


If Check1.Value = 0 Then
Form1.BackColor = VB Red

Else If Check1.Value = 1 Then


Form1.BackColor = VB Blue
End If
End Sub

i) The Option Box:-


The Option Box control also lets the user selects one of the choices. However, two or
more Option Boxes must work together because as one of the Option Boxes is selected,
the other Option Boxes will be unselected. In fact, only one Option Box can be selected at
one time. When an option box is selected, its value is set to “True” and when it is
unselected; its value is set to “False”. In the following example, the shape control is placed
in the form together with six Option Boxes. When the user clicks on different option
boxes, different shapes will appear. The values of the shape control are 0, 1, and 2,3,4,5
which will make it appear as a rectangle, a square, an oval shape, a rounded rectangle and
a rounded square respectively.
Example 5

Private Sub Option1_Click ( )


Shape1.Shape = 0
End Sub
Private Sub Option2_Click()
Shape1.Shape = 1
Page 23 of 61
End Sub
Private Sub Option3_Click()
Shape1.Shape = 2
End Sub
Private Sub Option4_Click()
Shape1.Shape = 3
End Sub
Private Sub Option5_Click()

Shape1.Shape = 4
End Sub
Private Sub Option6_Click()
Shape1.Shape = 5
End Sub

j) The Drive List Box:-


The Drive List Box is used to display a list of drives available in your computer. When
you place this control into the form and run the program, you will be able to select
different drives from your computer as shown in Figure „b‟.

Figure b: The Drive List Box

k) The Directory List Box :-

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

l) The File List Box:-


The File List Box is used to display the list of files in a selected directory or folder. When
you place this control into the form and run the program, you will be able to a list of files
in a selected directory as shown in Figure d:-

Figure d: File 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.

1. A software configuration that includes a software requirement specification, a design


specification and source code.
2. A software configuration that includes a test plan and procedure, any testing tool and
test
cases and their expected results.

Testing is divided into several distinct operation:

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:

 Incorrect or missing functions


 Interface errors.
 Errors or database access.
 Performance error.
 Termination error.

Page 30 of 61
The mentioned testing is carried out successfully for this application to the user‟s
requirement specification.

Test Data Output


After preparing test data, the system under study is tested using the test data. While testing
the system using the test data. While testing the system using test data, errors are again
uncovered and corrected by using above testing and correction are also noted for future
use.

Page 31 of 61
DATABASE DESIGN

The general theme behind a database is to handle information as an integrated whole. A


database is a collection of interrelated data stored with minimum redundancy to serve
many users quickly and effectively. After designing input and output, the analyst must
concentrate on database design or how data should be organized around user requirements.
The general objective is to make information access, easy quick, inexpensive and flexible
for other users. During database design the following objectives are concerned:-
 Controlled Redundancy
 Data independence
 Accurate and integrating
 More information at low cost
 Recovery from failure
 Privacy and security
 Performance
 Ease of learning and use

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.

PHYSICAL DATA INDEPENDENCE:-


The ability to change the physical schema without changing the logical schema is called as
physical data independence
Changes in the physical schema may include:

 Using new storage devices .


 Using different data structure .
 Switching from one access method to another.
 Using different file organisations or storage structure.
 Modifying indexes.

LOGICAL DATA INDEPENDENCE:-


The ability to change the logical schema without changing the external schema or
application programs is called as logical data independence.For example, the addition or
removal of new entities, attributes or relationships to the conceptual schema should be
possible without having to change existing external schemas.

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

CUSTOMER REGISTRATION TABLE

FIELD NAME FIELD KEY


TYPE
CUSTOMER ID INTEGER PRIMARY

CUSTOMER NAME CHAR

COMPANY NAME CHAR


REGISTRATION DATE INTEGER
ADVERTISING PRODUCT CHAR
CONTACT NO. INTEGER
EMAIL ID CHAR

NEWS PAPER MEDIA CHAR

TELEVISION MEDIA CHAR


RADIO MEDIA CHAR
INTERNET MEDIA CHAR

DIGITEL BANNER CHAR

MAGAZINE MEDIA CHAR

Page 35 of 61
TELEVISION MEDIA TABLE

FIELD NAME FIELD TYPE KEY


CUSTOMER ID INTEGER PRIMARY

FROM DATE INTEGER

TO DATE INTEGER

BROADCAST DURETION INTEGER

PRICE INTEGER

NEWSPAPER MEDIA TABLE

FIELD NAME FIELD KEY


TYPE
CUSTOMER ID INTEGER PRIMARY
NEWS PAPER CHAR
FROM DATE INTEGER
TO DATE INTEGER
NUMBER OF PAGES INTEGER
NUMBER OF ARTICLES INTEGER
ARTICLE SIZE INTEGER
PRICE INTEGER

Page 36 of 61
RADIO MEDIA TABLE

FIELD NAME FIELD TYPE KEY


CUSTOMER ID INTEGER PRIMARY

RADIO FREQUENCY CHAR

FROM DATE INTEGER

TO DATE INTEGER

BROADCAST DURATION CHAR

PRICE INTEGER

INTERNET MEDIA TABLE

FIELD NAME FIELD TYPE KEY


CUSTOMER ID INTEGER PRIMARY

WEBSITE NAME CHAR

FROM DATE INTEGER

TO DATE INTEGER

BOTTOM AID INTEGER


DIMENSION
SIDE AID DIMENSION INTEGER

PRICE INTEGER

Page 37 of 61
MAGAZINE MEDIA TABLE
FIELD NAME FIELD TYPE KEY
CUSTOMER ID INTEGER PRIMARY

MAGAZINE NAME CHAR

ADVERTISING DATE INTEGER

NUMBER OF PAGES INTEGER

NUMBER OF ARTICLES INTEGER

SIZE OF ARTICLE INTEGER

PRICE PRICE

BANNER MEDIA TABLE

FIELD NAME FIELD TYPE KEY


CUSTOMER ID INTEGER PRIMARY

ADVERTISING CITIES CHAR

NUMBER OF BANNER INTEGER

NUMBER OF HORDINGS INTEGER

BANNER SIZE INTEGER

HORDING SIZE INTEGER

PRICE INTEGER

Page 38 of 61
SNAP SHOTS

LOGIN FORM:-

MDI FORM:-

Page 39 of 61
CUSTOMER INFORMATION FORM:-

TELEVISION MEDIA FORM:-

Page 40 of 61
RADIO MEDIA FORM:-

NEWS PAPER MEDIA FORM:-

Page 41 of 61
MAGAZINE MEDIA FORM:-

DIGITEL BANNER MEDIA FORM:-

Page 42 of 61
INTERNET MEDIA FORM:-

CUSTOMER UPDATE FORM:-

Page 43 of 61
CUSTOMER RECORD DELETION FORM:-

CUSTOMER BILL FORM:-

Page 44 of 61
DATA REPORT-

Page 45 of 61
FORM CODING

ADMIN LOGIN:-

Private Sub Command1_Click()


connectdb
If txtun.Text = "" And txtp.Text = "" Then
MsgBox ("FIELD IS EMPTY")
ElseIf txtun.Text = "mamta" And txtp.Text = "sonam" Then
MsgBox (" LOGIN SUCCESSFULL")
MDIForm1.Show
Else
MsgBox ("WRONG USERNAME OR PASSWORD")

End If
Unload Me
End Sub

Private Sub Command2_Click()


Me.Hide

End Sub

Private Sub Form_Load()

End Sub

Page 46 of 61
MDI FORM:-

Private Sub BANNERMENU_Click()


Form7.Show
End Sub

Private Sub CREATEMENU_Click()


hhhh.Show
End Sub

Private Sub DATAMENU_Click()


Form4.Show
End Sub

Private Sub DELINFOMENU_Click()


Form1.Show
End Sub

Private Sub INTERNETMENU_Click()


Form8.Show
End Sub

Private Sub MAGAZINEMENU_Click()


Form9.Show
End Sub

Private Sub MDIForm_Load()


Me.Height = Screen.Height
Me.Width = Screen.Width
End Sub

Private Sub NEWMENU_Click()


Form2.Show

Page 47 of 61
End Sub

Private Sub PAPERMENU_Click()


Form10.Show
End Sub

Private Sub RADIOMENU_Click()


Form11.Show
End Sub

Private Sub TVMENU_Click()


Form12.Show
End Sub

Private Sub UPINFOMENU_Click()


Form13.Show
End Sub

CUSTOMER REGISTRATION:-

Private Sub Command2_Click()


connectdb
If (Not IsNumeric(txtid.Text)) Then
MsgBox "plese enter numaric value", vbInformation '
End If
If (Not IsNumeric(cbmm.Text)) Then
MsgBox "please enter valid date", vbInformation
End If
If (Not IsNumeric(cbdd.Text)) Then
MsgBox "please enter a valid date", vbInformation
End If
If (Not IsNumeric(txtmc.Text)) Then

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

Private Sub Command1_Click()


txtid.SetFocus
txtid.Text = " "
cbdd.Text = " "
cbmm.Text = " "
cbyyyy.Text = " "
txtcn.Text = " "
txtcomp.Text = " "
txtadvp.Text = " "
txtmc.Text = " "
txteid.Text = " "
cbpmt.Text = " "
cbmed1.Text = " "
Page 49 of 61
cbmed2.Text = " "
cbmed3.Text = " "
cbmed4.Text = " "
cbmed5.Text = " "
cbmed6.Text = " "

End Sub

Private Sub Command3_Click()


Unload Me
End Sub

Private Sub Form_Load()


connectdb
Dim a
Set rs = con.Execute("select max(reg_id)from cust_info")
a = rs.Fields(0)
If (Not rs.EOF) Then
If (a = 0) Then
a = 100
Else
a=a+1
End If
txtid.Text = a
End If
End Sub

TELEVISION MEDIA FORM:-

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

Private Sub Command2_Click()


connectdb
If (Not IsNumeric(txtid.Text)) Then
MsgBox "plese enter numaric value", vbInformation '

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

Private Sub Form_Load()


connectdb
Dim a
Set rs = con.Execute("select max(customer_id)from tv_media_report")
a = rs.Fields(0)
If (Not rs.EOF) Then
If (a = 0) Then
a = 100
Else
a=a+1
End If
txtid.Text = a
End If
End Sub

RADIO MEDIA FORM:-

Private Sub Command1_Click()


txtid.SetFocus
txtid.Text = " "
txtfreq.Text = " "
txtd.Text = " "
txtm.Text = " "
txtyy.Text = " "
txtdd.Text = " "
txtmm.Text = " "
txtyyyy.Text = " "

Page 52 of 61
txtdur.Text = " "
txtprice.Text = " "

End Sub

Private Sub Command2_Click()


connectdb
If (Not IsNumeric(txtid.Text)) Then
MsgBox "plese enter numaric value", vbInformation '

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

Private Sub Command3_Click()


Unload Me
End Sub

Private Sub Form_Load()


connectdb
Dim a
Set rs = con.Execute("select max(customer_id)from radio_media_report")
a = rs.Fields(0)
If (Not rs.EOF) Then
Page 53 of 61
If (a = 0) Then
a = 100
Else
a=a+1
End If
txtid.Text = a
End If
End Sub

NEWSPAPER MEDIA FORM:-

Private Sub Command1_Click()

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

Private Sub Command3_Click()


Unload Me
End Sub

Private Sub Form_Load()


Me.Height = Screen.Height
Me.Width = Screen.Width
Page 55 of 61
connectdb
Dim a
Set rs = con.Execute("select max(reg_id) from news_paper_report")
a = rs.Fields(0)
If (Not rs.EOF) Then
If (a = 0) Then
a = 100
Else
a=a+1
End If
txtid.Text = a
End If
End Sub

DIGITAL BANNER FORM:-


Private Sub Command1_Click()

txtid.SetFocus
txtid.Text = " "
txtcity.Text = " "
txtdur.Text = " "
txthordin.Text = " "
txtbanner.Text = " "
txtbannersize.Text = " "
txthordsize.Text = " "
txtprice.Text = " "

End Sub

Private Sub Command2_Click()


connectdb
If (Not IsNumeric(txtid.Text)) Then
Page 56 of 61
MsgBox "plese enter numaric value", vbInformation '
End If
If (Not IsNumeric(txthordin.Text)) Then
MsgBox "plese enter numaric value", vbInformation '
End If
If (Not IsNumeric(txtbanner.Text)) Then
MsgBox "plese enter numaric value", vbInformation '

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

Private Sub Command3_Click()


Unload Me
End Sub

Private Sub Form_Load()


connectdb
Dim a
Set rs = con.Execute("select max(customer_id)from banner_advert_report")
a = rs.Fields(0)
If (Not rs.EOF) Then
If (a = 0) Then
a = 100
Page 57 of 61
Else
a=a+1
End If
txtid.Text = a
End If
End Sub

INTERNET MEDIA FORM:-

Private Sub Command1_Click()


txtid.SetFocus
txtid.Text = " "
txtwebsite.Text = " "
txtd.Text = " "
txtm.Text = " "
txtyy.Text = " "
txtdd.Text = " "
txtmm.Text = " "
txtyyyy.Text = " "
txtdim.Text = " "
txtdim2.Text = " "
txtprice.Text = " "

End Sub

Private Sub Command2_Click()


connectdb
If (Not IsNumeric(txtid.Text)) Then
MsgBox "plese enter numaric value", vbInformation '

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

Private Sub Command3_Click()


Unload Me
End Sub

Private Sub Form_Load()


connectdb
Dim a
Set rs = con.Execute("select max(customer_id)from internet_advert_report")
a = rs.Fields(0)
If (Not rs.EOF) Then
If (a = 0) Then
a = 100
Else
a=a+1
End If
txtid.Text = a
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

1.The system is simple to operate .

2.Any user can handle the data easily


.
3.For gaining any information regarding any donor or recepiant, user must
not go through the entire data

4.Anyone can learn it as it is user friendly.

5.To make the data more secure , the software has provided the facility of
admin login.

6. Different people from different departments can view the same


information about donor and recepiant.

Page 60 of 61
BIBLIOGRAPHY

BOOKS

1. Chales Hampfed (2000) „Visual Basic‟ University of Toronto

2. Herbert Schildt(2000) „Visual Basic 6.0‟ Tata McGraw Hill

3. John Zukowski(2000) „Visual Basic 6.0‟‟BPB Publications

4. Jamiwe Jaworsky „Visual Basic 6.0‟ Techmedia

5. Stefen Denninger „Visual Basic 6.0‟ Author‟s Press

6. Ian Somerville „Software engineerings‟

7. Rajeev mall „Software engineering‟

8. Elmasri Navathe „Fundamentals of database system‟

ONLINE REFERENCE

1. www.w3schools.com

2. www.theserverside.com

3. www.visual.com

4. www.google.com

Page 61 of 61

You might also like