You are on page 1of 58



Main Project Lab for VIthSem B.A., (JPCS) Bangalore University Submitted by PLINTHER MENDOZA 09JJA41054 VIKRAM S 09JJA41075

Under the guidance of Mr. MURUGANANTHAM Mr. AMJIT KHAN`

DEPARTMENT OF COMPUTER SCIENCE KRISTU JAYANTI COLLEGE (Accredited with A grade by NAAC) K. Narayanapura, Kothanur Post. BANGALORE 560 077

KRISTU JAYANTI COLLEGE (Accredited with A grade by NAAC) K. Narayanapura, Kothanur Post. BANGALORE 560 077 BANGALORE UNIVERSITY

This is to certify that the project titled ELECTRICITY BOARD MANAGEMENT has been satisfactorily completed by VIKRAM S Reg. No:09JJA41075 in fulfillment of the requirements for Main Project Lab for VIth semester B.A(JPCS) course prescribed by the Bangalore University in the laboratory of this college in the year 2012. Faculty In-charge Head of the Department

Valued by: Examiner: _______________________

Date: Centre: Kristu Jayanti College

KRISTU JAYANTI COLLEGE (Accredited with A grade by NAAC) K. Narayanapura, Kothanur Post. BANGALORE 560 077 BANGALORE UNIVERSITY

This is to certify that the project titled ELECTRICITY BOARD MANAGEMENT has been satisfactorily completed by PLINTHER MENDOZA Reg. No:09JJA41054 in fulfillment of the requirements for Main Project Lab for VIth semester B.A(JPCS) course prescribed by the Bangalore University in the laboratory of this college in the year 2012. Faculty In-charge Head of the Department

Valued by: Examiner: _______________________

Date: Centre: Kristu Jayanti College


The satisfaction that accompanies the successful completion of any task would be incomplete without the mention of the people who made it possible whose constant guidance and encouragement crowned my efforts with success. First of all I thank to god, who has showered on me a number of favors and gifts. My graceful thanks to our principal, Rev. Fr. Sebastin. , Rev. Fr.Jose P.J. our financial administrator for their continuous support throughout my course. I also thank Rev. Fr. Augustine George., Head of Computer Science Department for his graceful encouragement and Head of Library Management for providing us with the best study materials and a very ill equipped Computer Lab. I profoundly thank my guide Mrs. Muruganantham and Mr. Amjit Khan Lecturer, Department of Computer Science for the advice and motivation to complete the project. We are very grateful to the above mentioned professors for their guidance and help in the completion of this project. For it would have not been an easy task without them. It is a pleasure to express my thanks to all my friends for their kind help and assistance provided throughout the project.


This project, ELECTRICITY BOARD MANAGEMENT, is basically aimed at providing a much more simpler, and easier way for the Electricity Board to handle its day today work and its dealings with its customers, It contains electric billing which includes the customers details like the customers account name and address and also details of the customers electricity consumption, using which the bill amount is calculated. It keeps a detailed database of the customers record which contains the billing period, registered KWH, meter no, bill date, due date, and the currency adjacent to the consumption then the bill and finally the connection status of the customer MODULES: Security Customer details Billing details Booking details Stock details Reports


Sl. no
1 Introduction 1.1 2 3 problem definition


Page no

Project description System study 3.1 3.2 3.3 3.4 Existing system Proposed system Data flow diagram Feasibility study

System configuration 4.1 4.2 Hardware configuration Software configuration

Details of software 5.1 5.2 Overview of visual basic Overview of oracle8i /access

System design 6.1 6.2 6.3 6.4 Architectural design Input/output design DFD/ER Diagram Database design

7 8 9 10 11 12

Coding Testing Implementation Screen shots Conclusion Bibliography


This project, ELECTRICITY BOARD MANAGEMENT, is basically aimed at providing a much more simpler, and easier way for the Electricity Board to handle its day today work and its dealings with its customers, It contains electric billing which includes the customers details like the customers account name and address and also details of the customers electricity consumption, using which the bill amount is calculated. It keeps a detailed database of the customers record which contains the billing period, registered KWH, meter no, bill date, due date, and the currency adjacent to the consumption then the bill and finally the connection status of the customer The service application data consists of forms which a present customer must fill in case of a need for which a different connection is necessary giving in all the details of the requirements. To get a new connection the customer must be registered with the electricity board by providing all the required details. And so this form is mainly designed as a registration form for a new customer The details of the various customers are maintained. A customers connection can also be disconnected based on various factors such as delay in payment of bills. It also provides a map which illustrates how to locate the highest and lowest billing registered This project has automated the operations of an Electricity Board completely.

The project has been developed for ELECTRICITY BOARD MANAGEMENT in an effort to make it as attractive and dynamic as possible. Compared to the existing site a database has been added to our project. The working of the project is as follows. The first page provides a login. The next page contains several links. This page contains several information about the project like Customer details, Billing details, Booking details, Stock details, etc User Login module helps the user to login to the site. For that he must type the username and password correctly. The login provision in this page helps the already registered user to directly access the site and there is a link for registration to a user who is new to this site. Member Registration module helps the new user to register into the site. The information entered by the users is added into the table registration. The administrator has the responsibility for authorizing the Electricity board, to add or delete any information. The project uses Visual Studio 2006 and oracle8i/ access as an essential tool in its creation.

There are many Electricity Board management systems which are used by different Boards throughout to maintain the details of their customers and to the better management of electricity connections. The main goal of all these systems is to manage the working of the Board.


The concept conceived by the Existing System does not meet all the requirements of the user. There are several areas where the system fails to provide various details to the user. The main Disadvantages of the Existing Systems are The System focuses only on two or three aspects of the Specification. The System fails to reveal the due details to the browsers. The user cannot look into the certain information in detail.

PROPOSED SYSTEM: The system automates the operations of an Electricity Board. The
system was designed in such a way that it is useful to all the Electricity Boards rather than for a particular Board.

This system would maintain the customer data and the detailed usage of the connection by the customers. A customer must be registered with the Electricity Board in order to get the power supply. All the details of the customer are maintained in the database. The connection can be for residential or business type requirement for which the detailed service application has to be given to the board for the connection requirements. The transactions carried out by the board are also recorded. And a bill containing the detailed account of consumption and the KWH charge for a basic unit will also be given to the customer along with the Bill.

Objective of the proposed system:

i. The existing system must be capable of making the entire system to be tedious, less time consuming, efficient, portable and comparable. ii. The system should handle errors and troubleshooting through the execution and implementation of the software. iii. iv. The features of the System help the user to look into each and every information. The System is very user friendly and registration can be done easily.

Data Flow Diagram.

The data flow diagram (DFD) is one of the most important tools used by system analysts. Data flow diagrams are made up of a number symbols, which represent system components. Most data flow modeling methods use four kinds of symbols. These symbols are used to represent four kinds of system components. Processes, data stores, data flows and external entities. Circles in DFD represent processes. Data Flow represented by a thin line in the DFD and each data store has entities a unique name and square or rectangle represents external

Add & edit Login USER Logout LOGIN


Details Search

Feasibility Study:

Operational Feasibility: Since the package is very user friendly and available with a user manual, any man with minimum computer knowledge can use it without much difficulty. All that one needs to do is to enter the required data in queries and press the necessary buttons. The user need not worry about what is happening in the back end. So this package is operationally feasible.

Technical Feasibility: The hardware requirements for developing this project are p-166, 16MB RAM, SVGA card, SVGA monitor, 10 MB free hard disk space. The ELECTRICITY BOARD

MANAGEMENT can be maintained on any computer, which has the software like VISUAL STUDIO which are very cost effective and easily available.

Set up Cost: The cost for developing this included the cost of usage of the computer system, the cost of usages of resources such as electrical facilities, internet charges, furniture, paper, infrastructure, and transport and web camera. The most important and most expensive resource is human resource. The cost of the human resource depends on the number of people working on the project as well as the number of productive hours of work. Control and Security Analysis: The software is restricted to REGIONAL TRANSPORT OFFICE Management System company were the administrator has the total control over the processing of information, whereas the normal user is denied the administrator rights.

Running Cost: To run the project, the organization needs computer system. Human resource has to be maintained who work on the system, the administrators needs to be trained to use their respective models and the concept explained to them. The cost of usages of resources such as electrical facilities, furniture, paper and infrastructure cost also need to be understood.



This software was developed on Windows XP Background. The minimum hardware and software required for this software are the following:








Microsoft Visual Studio is an integrated development environment (IDE) from Microsoft. It is used to develop console and interface applications along with Windows Forms applications, web sites, web applications, and web services in both native code together with managed code for all platforms supported by Microsoft Windows, Windows Mobile, Windows CE, .NET Framework, .NET Compact Framework and Microsoft Silverlight. Visual Studio includes a code editor supporting IntelliSense as well as code refactoring. The integrated debugger works both as a source-level debugger and a machine-level debugger. Other built-in tools include a forms designer for building GUI applications, web designer, class designer, and database schema designer. It accepts plug-ins that enhance the functionality at almost every levelincluding adding support for source-control systems (like Subversion and Visual SourceSafe) and adding new toolsets like editors and visual designers for domain-specific languages or toolsets for other aspects of the software development lifecycle (like the Team Foundation Server client: Team Explorer). Visual Studio supports different programming languages by means of language services, which allow the code editor and debugger to support (to varying degrees) nearly any programming language, provided a language-specific service exists. Built-in languages include C/C++ (via Visual C++), VB.NET (via Visual Basic .NET), C# (via Visual C#), and F# (as of Visual Studio 2010[3]). Support for other languages such as M, Python, and Ruby among others is available via language services installed separately. It also supports XML/XSLT, HTML/XHTML, JavaScript and CSS. Individual language-specific versions of Visual Studio also exist which provide more limited language services to the user: Microsoft Visual Basic, Visual J#, Visual C#, and Visual C++. Microsoft provides "Express" editions of its Visual Studio 2010 components Visual Basic, Visual C#, Visual C++, and Visual Web Developer at no cost. Visual Studio 2010, 2008 and 2005 Professional Editions, along with language-specific versions (Visual Basic, C++, C#, J#) of Visual Studio Express 2010 are available for free to students as downloads via Microsoft's Dream Spark program. FEATURES:

Visual Studio, like any other IDE, includes a code editor that supports syntax highlighting and code completion using IntelliSense for not only variables, functions and methods but also language constructs like loops and queries.[14] IntelliSense is supported for the included languages, as well as for XML and for Cascading Style Sheets and JavaScript when developing web sites and web applications. Autocomplete suggestions are popped up in a modeless list box, overlaid on top of the code editor. In Visual Studio 2008 onwards, it can be made temporarily semi-transparent to see the code obstructed by it. The code editor is used for all supported languages. The Visual Studio code editor also supports setting bookmarks in code for quick navigation. Other navigational aids include collapsing code blocks and incremental search, in addition to normal text search and regex search. The code editor also includes a multi-item clipboard and a task list. The code editor supports code snippets, which are saved templates for repetitive code and can be inserted into code and customized for the project being worked on. A management tool for code snippets is built in as well. These tools are surfaced as floating windows which can be set to automatically hide when unused or docked to the side of the screen. The Visual Studio code editor also supports code refactoring including parameter reordering, variable and method renaming, interface extraction and encapsulation of class members inside properties, among others. Visual Studio features background compilation (also called incremental compilation). As code is being written, Visual Studio compiles it in the background in order to provide feedback about syntax and compilation errors, which are flagged with a red wavy underline. Warnings are marked with a green underline. Background compilation does not generate executable code, since it requires a different compiler than the one used to generate executable code. Background compilation was initially introduced with Microsoft Visual Basic but has now been expanded for all included languages.


Visual Studio includes a debugger that works both as a source-level debugger and as a machine-level debugger. It works with both managed code as well as native code and can be used for debugging applications written in any language supported by Visual Studio. In addition, it can also attach to running processes and monitor and debug those processes. If source code for the running process is available, it displays the code as it is being run. If source code is not available, it can show the disassembly. The Visual Studio debugger can also create memory dumps as well as load them later for debugging. Multi-threaded programs are also supported. The debugger can be configured to be launched when an application running outside the Visual Studio environment crashes.

The debugger allows setting breakpoints (which allow execution to be stopped temporarily at a certain position) and watches (which monitor the values of variables as the execution progresses). Breakpoints can be conditional, meaning they get triggered when the condition is met. Code can be stepped over, i.e., run one line (of source code) at a time. It can either step into functions to debug inside it, or step over it, i.e., the execution of the function body isn't available for manual inspection. The debugger supports Edit and Continue, i.e., it allows code to be edited as it is being debugged (32 bit only; not supported in 64 bit). When debugging, if the mouse pointer hovers over any variable, its current value is displayed in a tooltip ("data tooltips"), where it can also be modified if desired. During coding, the Visual Studio debugger lets certain functions be invoked manually from the immediate tool window. The parameters to the method are supplied at the immediate window. DESIGNER:

Windows Forms Designer The Windows Forms designer is used to build GUI applications using Windows Forms. Layout can be controlled by housing the controls inside other containers or locking them to the side of the form. Controls that display data (like textbox, list box, grid view, etc.) can be bound to data sources like databases or queries. Data-bound controls can be created by dragging items from the Data Sources window onto a design surface. The UI

is linked with code using an event-driven programming model. The designer generates either C# or VB.NET code for the application. WPF Designer The WPF designer, codenamed Cider, was introduced with Visual Studio 2008. Like the Windows Forms designer it supports the drag and drop metaphor. It is used to author user interfaces targeting Windows Presentation Foundation. It supports all WPF functionality including data binding and automatic layout management. It generates XAML code for the UI. The generated XAML file is compatible with Microsoft Expression Design, the designer-oriented product. The XAML code is linked with code using a code-behind model. Web designer/development Visual Studio also includes a web-site editor and designer that allows web pages to be authored by dragging and dropping widgets. It is used for developing ASP.NET applications and supports HTML, CSS and JavaScript. It uses a code-behind model to link with ASP.NET code. From Visual Studio 2008 onwards, the layout engine used by the web designer is shared with Microsoft Expression Web. There is also ASP.NET MVC support for MVC technology as a separate download and ASP.NET Dynamic Data project available from Microsoft Class designer The Class Designer is used to author and edit the classes (including its members and their access) using UML modeling. The Class Designer can generate C# and VB.NET code outlines for the classes and methods. It can also generate class diagrams from handwritten classes. Data designer The data designer can be used to graphically edit database schemas, including typed tables, primary and foreign keys and constraints. It can also be used to design queries from the graphical view. Mapping designer From Visual Studio 2008 onwards, the mapping designer is used by LINQ to SQL to design the mapping between database schemas and the classes that encapsulate the data.

The new solution from ORM approach, ADO.NET Entity Framework, replaces and improves the old technology.


Open Tabs Browser The open tabs browser is used to list all open tabs and to switch between them. It is invoked using CTRL+TAB. Properties Editor The Properties Editor tool is used to edit properties in a GUI pane inside Visual Studio. It lists all available properties (both read-only and those which can be set) for all objects including classes, forms, web pages and other items. Object Browser The Object Browser is a namespace and class library browser for Microsoft .NET. It can be used to browse the namespaces (which are arranged hierarchically) in managed assemblies. The hierarchy may or may not reflect the organization in the file system. Solution Explorer In Visual Studio parlance, a solution is a set of code files and other resources that are used to build an application. The files in a solution are arranged hierarchically, which might or might not reflect the organization in the file system. The Solution Explorer is used to manage and browse the files in a solution. Team Explorer Team Explorer is used to integrate the capabilities of Team Foundation Server, the Revision Control System into the IDE (and the basis for Microsoft's Code Plax hosting environment for open source projects). In addition to source control it provides the ability to view and manage individual work items (including bugs, tasks and other documents) and to browse TFS statistics. It is included as part of a TFS install and is also available as a download for Visual Studio separately Team Explorer is also available as a stand-alone environment solely to access TFS services.

Data Explorer Data Explorer is used to manage databases on Microsoft SQL Server instances. It allows creation and alteration of database tables (either by issuing T-SQL commands or by using the Data designer). It can also be used to create queries and stored procedures, with the latter in either T-SQL or in managed code via SQL CLR. Debugging and IntelliSense support is available as well. Server Explorer The Server Explorer tool is used to manage database connections on an accessible computer. It is also used to browse running Windows Services, performance counters, Windows Event Log and message queues and use them as a data source. Obfuscator Software Services Community Edition Visual Studio includes a free 'light' version of Preemptive Solutions' Obfuscator product for code obfuscation and application-size reduction. Starting with Visual Studio 2010, this version of Dotfuscator will include Runtime Intelligence capabilities that allow authors to gather end-user usage, performance, and stability information from their applications running in production. Text Generation Framework Visual Studio includes a full text generation framework called T4 which enables Visual Studio to generate text files from templates either in the IDE or via code. ASP.NET Web Site Administration Tool The ASP.NET Web Site Administration Tool allows for the configuration of ASP.NET websites.

EXTENSIBILITY: Visual Studio allows developers to write extensions for Visual Studio to extend its capabilities. These extensions "plug into" Visual Studio and extend its functionality. Extensions come in the form of macros, add-ins, and packages. Macros represent repeatable tasks and actions that developers can record programmatically for saving, replaying, and distributing. Macros, however, cannot implement new commands or create tool windows. They are written using Visual Basic and are not compiled. Add-Ins provides access to the Visual Studio object

model and can interact with the IDE tools. Add-Ins can be used to implement new functionality and can add new tool windows. Add-Ins are plugged in to the IDE via COM and can be created in any COM-compliant languages. Packages are created using the Visual Studio SDK and provide the highest level of extensibility. They can create designers and other tools, as well as integrate other programming languages. The Visual Studio SDK provides unmanaged APIs as well as a managed API to accomplish these tasks. However, the managed API isn't as comprehensive as the unmanaged one. Extensions are supported in the Standard (and higher) versions of Visual Studio 2005. Express Editions do not support hosting extensions. Visual Studio 2008 introduced the Visual Studio Shell that allows for development of a customized version of the IDE. The Visual Studio Shell defines a set of VSPackages that provide the functionality required in any IDE. On top of that, other packages can be added to customize the installation. The Isolated mode of the shell creates a new AppId where the packages are installed. These are to be started with a different executable. It is aimed for development of custom development environments, either for a specific language or a specific scenario. The Integrated mode installs the packages into the AppId of the Professional/Standard/Team System editions, so that the tools integrate into these editions. The Visual Studio Shell is available as a free download. After the release of Visual Studio 2008, Microsoft created the Visual Studio Gallery. It serves as the central location for posting information about extensions to Visual Studio. Community developers as well as commercial developers can upload information about their extensions to Visual Studio .NET 2002 through Visual Studio 2010. Users of the site can rate and review the extensions to help assess the quality of extensions being posted. RSS feeds to notify users on updates to the site and tagging features are also planned.


Microsoft Visual C++ Microsoft Visual C++ is Microsoft's implementation of the C and C++compiler and associated languages-services and specific tools for integration with the Visual Studio IDE. It can compile either in C mode or C++ mode. For C, it follows the ISO C standard with parts of C99 spec along with MS-specific additions in the form of libraries. For C++, it follows the ANSI C++ spec along with a few C++0x features. It also supports the C++/CLI spec to write managed code, as well as mixed-mode code (a mix of native and managed code). Microsoft positions Visual C++ for development in native code or in code that contains both native as well as managed components. Visual C++ supports COM as well as the MFC library. For MFC development, it provides a set of wizards for creating and customizing MFC boilerplate code, and creating GUI applications using MFC. Visual C++ can also use the Visual Studio forms designer to design UI graphically. Visual C++ can also be used with the Windows API. It also supports the use of intrinsic functions,[39] which are functions recognized by the compiler itself and not implemented as a library. Intrinsic functions are used to expose the SSE instruction set of modern CPUs. Visual C++ also includes the OpenMP (version 2.0) spec. Microsoft Visual C# Microsoft Visual C#, Microsoft's implementation of the C# language, targets the .NET Framework, along with the language services that lets the Visual Studio IDE support C# projects. While the language services are a part of Visual Studio, the compiler is available separately as a part of the .NET Framework. The Visual C# 2008 and 2010 compilers support versions 3.0 and 4.0 of the C# language specifications, respectively. Visual C# supports the Visual Studio Class designer, Forms designer, and Data designer among others. Microsoft Visual Basic Microsoft Visual Basic is Microsoft's implementation of the VB.NET language and associated tools and language services. It was introduced with Visual Studio .NET (2002). Microsoft has positioned Visual Basic for Rapid Application Development.

Visual Basic can be used to author both console applications as well as GUI applications. Like Visual C#, Visual Basic also supports the Visual Studio Class designer, Forms designer, and Data designer among others. Like C#, the VB.NET compiler is also available as a part of .NET Framework, but the language services that let VB.NET projects be developed with Visual Studio, are available as a part of the latter. Microsoft Visual Web Developer Microsoft Visual Web Developer is used to create web sites, web applications and web services using ASP.NET. Either C# or VB.NET languages can be used. Visual Web Developer can use the Visual Studio Web Designer to graphically design web page layouts. Team Foundation Server Included only with Visual Studio Team System, Team Foundation Server is intended for collaborative software development projects and acts as the server-side backend providing source control, data collection, reporting, and project-tracking functionality. It also includes the Team Explorer, the client tool for TFS services, which is integrated inside Visual Studio Team System.


Visual FoxPro Visual FoxPro is a data-centric object-oriented and proceduralprogramming language produced by Microsoft. It derives from FoxPro (originally known as FoxBASE) which was developed by Fox Software beginning in 1984. Visual FoxPro is tightly integrated with its own relational database engine, which extends FoxPro's xBase capabilities to support SQL queries and data manipulation. Visual FoxPro is a full-featured, dynamic programming language that does not require the use of an additional general-purpose programming environment. Microsoft announced in 2007 that Visual FoxPro has been discontinued after version 9 Service Pack 2, but will remain supported until 2015.

Visual SourceSafe Microsoft Visual SourceSafe is a source controlsoftware package oriented towards small software-development projects. The SourceSafe database is a multi-user, multi-process file-system database, using the Windows file system database primitives to provide locking and sharing support. All versions are multi-user, using SMB (file server) networking. However, with Visual SourceSafe 2005, other clientserver modes were added, Lan Booster and VSS Internet (which used HTTP/HTTPS). Visual SourceSafe 6.0 was available as a stand-alone product and was included with Visual Studio 6.0, and other products such as Office Developer Edition. Visual SourceSafe 2005 was available as a stand-alone product and included with the 2005 Team Suite. Team Foundation Server has superseded VSS as Microsoft's recommended platform for source control. Microsoft Visual J++/Microsoft Visual J# Microsoft Visual J++ was Microsoft's implementation of the Java language (with Microsoft-specific extensions) and associated language services. It was discontinued as a result of litigation from Sun Microsystems, and the technology was recycled into Visual J#, Microsoft's Java compiler for .NET Framework. J# was available with Visual Studio 2005 but has been discontinued in Visual Studio 2008.

Visual InterDev Visual InterDev was used to create web applications using Microsoft Active Server Pages (ASP) technologies. It supports code completion and includes database server management tools. It has been replaced with Microsoft Visual Web Developer.

What is Database?
There is a widely accepted definition of a database which is A database is a collection of interrelated data. That is it can be considered as a general purpose container to store some related data in a neat order. Collection of data never means that it is a database. It should have some order and these data should be related to a general topic. There is more to a database than

data. A database can also contain some object to help user to manage that data and reports. They may be having some fields which uniquely identify the different data in the same table. These fields are called as Primary Key Fields. These keys will never have a null value, as if they have null value there will be no use with these fields. Some keys are known as Foreign Keys. These are primary keys of some other table which is linked to this particular table. Using this we can implement linking between the tables.

Tables are the fundamental structure of database. It is made up of number of rows and columns. That is, here data is organized in the form of rows and columns. Rows are called records and columns are known as Fields. These fields are single unit of information in a table. They specify the attributes of a particular record. The set of data fields for one row of the table forms a record.

We can ask the database about a data in a database. The tool used for this is known as Table. Usually we use SQL for asking queries to a database. We can also use queries to combine two separate but related databases. Queries also help us to add, delete or change database. And the same queries are used for accessing the linked data in the forms of the front end language.

Forms let us to display and enter data in a convenient format that resembles fill-in blanks form. Our form can be plain and simple or quite elaborate with graphics. Forms can even include other forms known as sub-forms that let you to enter data into several tables at once.

Reports let us to display data in a useful format. For example we can use reports to print forms, envelops, invoices etc. Reports are helpful in showing the query results in an easy to understand format.

A macro is a set of instructions that automates a task you need to do often. When we run a macro access carries out the action or actions that are listed without writing a single line of programming code.

Like macros module allows us to automate and customize access however like macro module gives us more precise control over the action taken and they require us to have VB programming expertise.

SYSTEM DESIGN Architectural Design





Purchase Report



Stock Purchases

Stock Details


Stock Returns

Bill Transaction

Bill Report


Stock Returns Detail

Stock Returns Report

Supplier Supplier Detail Total Bill Report

System design is the highest-level strategy for solving a problem and building a solution. System design is deciding how the needs are to be done. It includes decision about the organization of the system in the subsystem to hardware to software components, major conceptual and policy decisions that form the frame work for the details design. It is the process of creative solutions, which satisfies the study goals evaluating the choice and then drawing of the specifications for chosen alternatives. System design is a transition for a user-oriented document oriented to programmers or database personnel. This important phase is composed of several steps. It provides the

understanding and procedural details necessary for implementing the system recommended in the feasibility study. Design goes through physical and logical step of development. In physical design the details about the physical system are mapped out, system implemented is planned, any new hardware and software may be specified.

Design is defining a model of the new system and continues by converting this model new system. The method is used to convert the model of the proposed system into computer specification. Data models are converted to database and processes and flows to user procedures and programs. Design proposes the new system that meets these requirements. The new system may be built by a fresh or by changing the existing system. The detailed design starts with three activities, database design uses conceptual data model to produce a database design, user procedure design uses those parts of the datas outside the automation boundary to design user procedures.


Input designing is a part of the overall system designing, which requires very careful attention. The collection of the Input data is the most expensive part of the system in terms of both equipment used and number of people involved. There is a statement in the computer world GARBAGE IN GARBAGE OUT; if data going into the system is incorrect then processing an output will magnify these errors. So we have to take extreme care in designing the output. The goal of the input is to make the data entry easier, logical and free from error.

The success of the application lies in the fact that it can produce the desire output. To achieve this goal we need to provide the necessary data required for the application to produce the result. This all implies the need for an appropriate input mechanism.

The proposed system satisfies the following input design objectives:

1. A cost effective method of input. 2. Highest possible level of accuracy. 3. The input is acceptable to all and understood by the user staff.

Input Objectives: Controlling the amount of input: Wherever user input is required, giving possible input values as default in that area reduces the number of keystrokes. The viewer can select the answer in single click. The to the

amount of information entered by the viewer using the keyboard is reduced maximum and the software is made very user friendly. Avoiding Delay:

A processing delay resulting from data preparation or data entry operations is called a bottleneck. Such bottlenecks are avoided to the maximum. The only time the viewer has to

wait is when the file is uploaded or downloaded. Progress bar or progress meters are displayed to keep the user waiting and also to show the speed and amount of download. Avoiding Errors in Data: The rate at which errors occur depends on Avoiding Extra Steps: The viewer can quit at any point of time, even at Keeping the process Simple: This implies that the system has all the measure to keep the errors out even if the user is giving wrong data. It handles the situation with grace and doesnt create much hype about the situation to the user. the time of upload or download. The the quantity of data. Here the quantity of

data is reduced to the lowest, and a text file is easily manageable.

viewer need not wait for any specific event to happen for quitting.

Input Stages:
Activities done in this stage are: Data recording collection of data at its source Data transcription transcription of data to an input form

Data conversion conversion of the input data to a computer acceptable medium Data verification checking the conversion Data control checking the accuracy and controlling the flow of the data to the computer Data transmission transmitting or transporting, the data to the computer. Data validation & correction checking & correcting the errors the input data by program when it enters the computer system

(Input Design in this System Proper validation on each and every textbox, combo box have been done in order to generate user friendly error messages like check of null values, empty check, change case checks, unwanted space removal between the text, check numeric etc. The entire user interface is collections of combo which helps to load details about the company, currency, item, price type, vendor and customer name etc which are separately maintained in the database, which helps the user to just select form the list rather than entering the data into it.)

The output design is an ongoing activity almost from the beginning of the project and follows the principles of form design. Computer output is the most important and direct source of information to the user. Efficient, intelligible and well-defined output design improves the relationship of the system and the user, thus facilitating decision-making. The objective of output design is to define the format of all printed documents and reports and of the screens that will be produced by the system. Computer output is the most important and direct source of information to the user. A major form of output, reports is the hardcopy from the printer. Printouts should be designed around the output requirements of the user. The proposed system has the capability to generate reports on the particular system for a particular period.

Output Objectives:
The output from an information system should accomplish one or more of the following objectives:

Conway information about past activities, current status or projections in future. Signal important events, opportunities, problems or warnings. Trigger an action. Confirm the action. The output design of this project is made with these objectives in mind.

Output Types:
External Outputs, whose destination is outside the organization and is the main image of the organization, Internal Outputs, whose destination is within the organization and which require careful design because it is users main interface with the computer. Operational Outputs, whose use is purely within the computer departments, Interactive outputs, which involve the user in communicating directly with the computer.


The DFD is designed to aid communication. A DFD is also known as Bubble Chart has the purpose of clarifying system requirements and identifying major transformations that will become programs in system design. Hence it is the starting point of design phase that A DFD

functionally decomposes the requirement specifications down to the lowest level.

consists of a series of bubbles joined by lines. The bubbles represent data transformations and the lines represent data flow in the system. Some of the DFD symbols are:-

Square Circle Open Rectangle


Square: Defines the source of destination of the system program. Arrows: They determine the flow of the process from one to the other. Circle: Process of the functions is done using the circle shape. Open Rectangle: Temporary repository of data. A DFD typically shows the minimum contents of data sources. Each data source should contain all the data elements that flow in and out. The DFD methodology is quite effective, especially when the required design in unclear and the user and the analyst need a national language for communication. The DFD is easy to understand after a brief orientation.


Data Flow Diagram Admin

Admin record

Name, password admin Info gathering Authentication

Main page


Customer Details
Storing USER Customer Database



Booking Details
Storing USER Booking Database



Billing Details
USER Storing Billing DB



Stock Details
Storing USER Stock Database



In this project we are having different databases to store the data of both customer and services of the Electricity Board. Login Database name: Login Name Name Password Type Varchar2(20) Varchar2(20)

Customer Details Database name: CustDet Name CustId CustName CustAdd Area ZipCode DOB Gender Job NOF (No of Family Members) Nationality RationNo VotersId TelNo MobNo PanNo ConnectionType Type Number(5) Varchar2(20) Varchar2(60) Varchar2(20) Number(7) Date Varchar2(7) Varchar2(20) Number(3) Varchar2(20) Number(10) Varchar2(15) Number(12) Number(12) Number(15) Varchar2(15)

Booking Details Database Name: BookingDet Name CustId BookingDate DeliveryDate Delivered Billing Details Database Name: BillDet Name BillNo Customer BillDate BillAmount Stock Details Database Name: StockDet Name ID GasCylinder Stove Connector Regulator Lighter Type Number(2) Number(4) Number(4) Number(4) Number(4) Number(4) Type Number(5) Varchar2(20) Date Number(5) Type Number(5) Date Date Varchar2(4)

FORM:frmpasword(frmpasword.frm) Dim X As Integer Private Sub Text1_KeyPress(KeyAscii As Integer) If KeyAscii = 13 Then Text2.SetFocus End If End Sub Private Sub Text2_KeyPress(KeyAscii As Integer) If KeyAscii = 13 Then Text2.Text = LCase(Text2.Text) If Text2.Text = "confidential" Then MsgBox "Access granted " + Text1.Text, vbInformation, "Message" Unload frmpassword Load frmchoose frmchoose.Show Else MsgBox "Invalid password " + Text1.Text, vbCritical, "Message" Text2.Text = "" X=X+1 End If If X = 3 Then MsgBox "Sorry " + Text1.Text + " three trials only", vbInformation, "Message" End End If End If End Sub

Form name: frmchoose(frmchoose.frm) Private Sub Command1_Click() On Error Resume Next Unload frmchoose Load frmbilling frmbilling.Show End Sub

Private Sub Command1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) On Error Resume Next Command1.BackColor = &HC0FFFF End Sub Private Sub Command2_Click() On Error Resume Next Load frmapplserv frmapplserv.Show 1 End Sub Private Sub Command2_MouseMove (Button As Integer, Shift As Integer, X As Single, Y As Single) On Error Resume Next0 Command2.BackColor = &HC0FFFF End Sub

Private Sub Command3_Click() On Error Resume Next OLE1.DoVerb 1 End Sub Private Sub Command3_MouseMove (Button As Integer, Shift As Integer, X As Single, Y As Single) On Error Resume Next Command3.ForeColor = &HC0FFFF End Sub Private Sub Command4_Click() On Error Resume Next Load frmmaps frmmaps.Show End Sub Private Sub Command4_MouseMove (Button As Integer, Shift As Integer, X As Single, Y As Single) On Error Resume Next Command4.BackColor = &HC0FFFF End Sub Private Sub Command5_MouseMove (Button As Integer, Shift As Integer, X As Single, Y As Single) On Error Resume Next Command5.BackColor = &HC0FFFF

End Sub Private Sub Command6_Click () On Error Resume Next Unload frmchoose Load frmdisconnect frmdisconnect.Show End Sub Private Sub Command6_MouseMove (Button As Integer, Shift As Integer, X As Single, Y As Single) On Error Resume Next Command6.BackColor = &HC0FFFF End Sub Private Sub Form_MouseMove (Button As Integer, Shift As Integer, X As Single, Y As Single) Command1.BackColor = &H8000000F Command2.BackColor = &H8000000F Command3.ForeColor = vbBlack Command4.BackColor = &H8000000F Command5.BackColor = &H8000000F Command6.BackColor = &H8000000F End Sub

Private Sub Label10_Click() On Error Resume Next OLE1.DoVerb 1 End Sub Private Sub Image4_Click(Index As Integer) On Error Resume Next Command3_Click End Sub

Private Sub Timer1_Timer() On Error Resume Next Label6.Caption = Time End Sub Private Sub Command5_Click() On Error Resume Next Load frmall frmall.Show 1 End Sub

Form Name: frmbilling(frmbilling.frm) Option Explicit Dim f Private Sub cmddisabled_Click() On Error Resume Next Text1.Enabled = False Text2.Enabled = False Text3.Enabled = False Text4.Enabled = False Text5.Enabled = False Text6.Enabled = False Text7.Enabled = False Text8.Enabled = False Text9.Enabled = False Text10.Enabled = False Text14.Enabled = False End Sub Private Sub cmdenabled_Click() On Error Resume Next Text2.Enabled = True Text3.Enabled = True Text4.Enabled = True Text5.Enabled = True Text6.Enabled = True Text7.Enabled = True Text9.Enabled = True Text10.Enabled = True Text14.Enabled = True End Sub Private Sub Form_Load() Data1.DatabaseName = App.Path + "\dbbilling.mdb" Data2.DatabaseName = App.Path + "\Counter.mdb" Toolbar1.Buttons(2).Enabled = False Text1.Enabled = False Text2.Enabled = False Text3.Enabled = False Text4.Enabled = False Text5.Enabled = False Text6.Enabled = False Text7.Enabled = False

Text8.Enabled = False Text9.Enabled = False Text10.Enabled = False Text11.Enabled = False Text12.Enabled = False Text13.Enabled = False Text14.Enabled = False txtbill.Enabled = False End Sub Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) On Error Resume Next If Text2.Enabled = True Then MsgBox "Save record first", vbInformation, "Message" Cancel = True Else If MsgBox("Close Billing?", vbYesNo + vbQuestion, "Message") = vbNo Then Cancel = True Else Load frmchoose frmchoose.Show Cancel = False End If End If End Sub Private Sub mnuclac_Click() On Error Resume Next Dim ray ray = Shell("C:\WINDOWS\CALC.EXE", 1) End Sub Private Sub mnuclose_Click() End Sub Private Sub mnudelete_Click() On Error Resume Next If Text1.Enabled = True Then MsgBox "Save record first", vbInformation, "Message" ElseIf Text1.Text = "" Then MsgBox "There are no record to delete", vbInformation, "Message" Else If Text1.Text = "01" Or Text1.Text = "02" Or Text1.Text = "03" Or Text1.Text = "04" Or Text1.Text = "05" Or Text1.Text = "06" Or Text1.Text = "07" Or Text1.Text = "08" Or Text1.Text = "09" Or Text1.Text = "10" Then

MsgBox "Bill ID number is being used by this system view map for information", vbCritical, "Message" Else If MsgBox("Delete this record?", vbYesNo + vbQuestion, "Message") = vbYes Then Data1.Recordset.Delete Data1.Recordset.MoveNext Load frmdelete frmdelete.Show 1 End If End If End If End Sub Private Sub mnuedit_Click() On Error Resume Next If txtstatus.Text = "Disconnected" Then MsgBox "Cannot edit Bill ID number status disconnected", vbCritical, "Message" Else Data1.Recordset.Edit mnunew.Enabled = False mnuedit.Enabled = False mnusave.Enabled = True Toolbar1.Buttons(5).Enabled = False Toolbar1.Buttons(4).Enabled = False Toolbar1.Buttons(2).Enabled = True cmdenabled_Click Text2.SetFocus End If End Sub Private Sub mnufind_Click() On Error Resume Next If Text1.Enabled = True Then MsgBox "Save record first", vbInformation, "Message" Else Dim f f = InputBox("Input Bill ID No. or Family name", "Find") If f <> "" Then Data1.RecordSource = ("select * from tblebill where ServiceIDNo = '" & f + "' or FamilyName= '" & f + "'") Data1.Refresh End If If Text1.Text = "" Then MsgBox "Record does not exist", vbInformation, "Message" Data1.RecordSource = "select * from tblebill where ServiceIDNo<> '""'"

Data1.Refresh End If End If End Sub Private Sub mnunew_Click() On Error Resume Next Dim n n = InputBox("Please supply password or type 'cancel' to undo", "Message") n = LCase(n) If n = "confidential" Then Data1.Recordset.AddNew mnunew.Enabled = False mnuedit.Enabled = False mnusave.Enabled = True Toolbar1.Buttons(5).Enabled = False Toolbar1.Buttons(4).Enabled = False Toolbar1.Buttons(2).Enabled = True txtstudnoctr.Text = Val(txtstudnoctr.Text) + 1 Text1.Text = Format$(txtstudnoctr.Text, "00") cmdenabled_Click txtstatus.Text = "Connected" Text2.SetFocus ElseIf n = "cancel" Then MsgBox "Adding new service ID number cancel", vbInformation, "Message" ElseIf n = "" Then 'do nothing Else MsgBox "Invalid password", vbCritical, "Message" mnunew_Click End If End Sub Private Sub mnupreview_Click() On Error Resume Next If Text1.Enabled = True Then MsgBox "Save record first", vbInformation, "Message" Else DataEnvironment1.Commands(1).CommandText = "Select * from tblebill where ServiceIDNo = '" & Text1.Text & "' " DataEnvironment1.Commands(1).Execute Load DataReport1 DataReport1.Show 1 DataEnvironment1.rsCommand1.Close End If

End Sub Private Sub mnuprint_Click() On Error Resume Next If Text1.Enabled = True Then MsgBox "Save record first", vbInformation, "Message" Else DataEnvironment1.Commands(1).CommandText = "Select * from tblebill where ServiceIDNo = '" & Text1.Text & "' " DataEnvironment1.Commands(1).Execute DataReport1.PrintReport CommonDialog1.Copies DataEnvironment1.rsCommand1.Close End If End Sub Private Sub mnusave_Click() On Error Resume Next Data1.Recordset.Update Text11.Text = Val(Text6.Text) * 3.4 Text12.Text = Val(Text11.Text) * 0.0629 Text13.Text = Val(Text6.Text) * 2.463 txtbill.Text = Val(Text11.Text) + Val(Text12.Text) + Val(Text13.Text) txtbill.Text = Format(txtbill.Text, ".00") mnunew.Enabled = True mnuedit.Enabled = True mnusave.Enabled = False Toolbar1.Buttons(5).Enabled = True Toolbar1.Buttons(4).Enabled = True Toolbar1.Buttons(2).Enabled = False cmddisabled_Click End Sub Private Sub Text1_KeyPress(KeyAscii As Integer) On Error Resume Next If KeyAscii = 13 Then Text2.SetFocus End If End Sub Private Sub Text10_KeyPress(KeyAscii As Integer) On Error Resume Next If KeyAscii = 13 Then Text14.SetFocus

End If End Sub

Private Sub Text14_KeyPress(KeyAscii As Integer) On Error Resume Next If KeyAscii = 13 Then Text6.SetFocus End If End Sub Private Sub Text2_KeyPress(KeyAscii As Integer) On Error Resume Next If KeyAscii = 13 Then Text3.SetFocus End If End Sub Private Sub Text3_KeyPress(KeyAscii As Integer) On Error Resume Next If KeyAscii = 13 Then Text4.SetFocus End If End Sub

Private Sub Text4_KeyPress(KeyAscii As Integer) On Error Resume Next If KeyAscii = 13 Then Text5.SetFocus End If End Sub

Private Sub Text5_KeyPress(KeyAscii As Integer) On Error Resume Next If KeyAscii = 13 Then Text10.SetFocus End If End Sub Private Sub Text6_KeyPress(KeyAscii As Integer) On Error Resume Next If KeyAscii = 13 Then Text7.SetFocus End If

End Sub

Private Sub Text7_KeyPress(KeyAscii As Integer) On Error Resume Next If KeyAscii = 13 Then Text9.SetFocus Text8.Text = Text14.Text End If End Sub

Private Sub Text8_KeyPress(KeyAscii As Integer) On Error Resume Next If KeyAscii = 13 Then Text9.SetFocus End If End Sub

Testing is one of the modules of the system analysis and design, which has greater importance. After system is ready it should go for resting. Testing is of activities that can be planned in advance and connected systematically. Testing of system which developed is one of the critical phases the system developer has to undergo and which one should avoid before the final system implementation. System testing is one which is constructive. In the testing phase actual performance of the system can be accessed, it is an essential process through which the set aim which the system development and the actual achieved results by the system development can be completed. The main objectives of system testing are: To ensure the operation of the system will perform as per specification To make sure that the system meets the user requirements during operation To verify that the control is incorporated in the system function as intended

A system is tested for Online response online system must have a response time that will not cause a hardship to the user Volume of correction in this test, we create as many records as would normally be produced to verify the hardware and software will function correctly Stress recovery from failure- a forced system failure is induced to test a backup recovery procedure for file integrity. Inaccurate data are entered to see how the system responds in terms of error detection and protection Usability documentation and procedure- the usability test verifies the user friendly nature of the system The objective of system testing is to ensure that all individual programs are working as expected

Test cases
Having proper test case is essential to successful testing. The goal during test is to ensure that whether there is an error/fault in the program. One possible ideal set of test cases is one that includes all possible inputs to the program. This is often called exhaustive testing. There are two desirable properties for a testing criterion-reliability and validity.

Top down and bottom up approaches: There are two common ways in which modules can be combined as they are tested to form a working program-top down and bottom up. In top down strategy, we start by testing the top of the hierarchy, incrementally add modules which it calls, and then test the new combined system. The bottom up approach starts from the bottom of the hierarchy. First the modules at the very bottom, which have no subordinate, are tested. Then these modules are combined further with higher level modules for testing. Some of the techniques used in functional and structural testing are as follows: In functional testing the basis for deciding the test cases is the specification of the system or module. In the structural approach test cases are generated based on the actual code of the program or module to be tested. The different functional test techniques are: Equivalence class partitioning Boundary value analysis Cause effect graphing

Testing process
A number of activities must be performed for testing software. In general, testing starts with a TEST PLAN. The test plan identifies all the testing related activities that need to be performed along with the schedule and guidelines for testing. Based on test plan, the testing commences. For each unit is executed with the rest cases and report is produced. The testing of units can go on in parallel and when testing of some units has been completed, the tested units are combined along with some untested modules to form new test units.

Test specification
Test cases have to be specified for each test unit. For evaluation of testing, various outputs of the unit are needed. The two most common are the TEST LOG and the TEST

SUMMARY REPORT. Sometimes the events that occur during testing that require further investigations are described in a separate document called TEST INCIDENT REPORT.

Testing methodologies
1. Unit Testing. 2. White-Box Test 3. Black-Box Test 4. User Acceptance Testing. 5. Output Testing.

Unit Testing:


This test can be considered as unit test. This has been carried out after the completion of one complete part. The word validation itself says about the nature of the test. Entire controls in the program have been tested in this manner. The limitations, nature and the boundaries are tested during the test. This test makes the work worthy to be developed further.

Output Testing
After performing the validation testing, the next step is output testing of the proposed system since no system could be useful if it does not produce the required output in the specified format. The output generated or displayed by the system under consideration is testing asking the users about the format required by them. Here, the output is considered into two ways: one is on the screen and the other is printed format.

The output format on the screen is found to be correct as the format designed according to the user needs. For the hard copy also, the output comes out as specified by the user. Hence output testing doesnt result in any connection in the system.

Black box testing

Black box testing takes an external perspective of the test object to derive test cases. These tests can be functional or non-functional, though usually functional. The test designer selects valid and invalid input and determines the correct output. There is no knowledge of the test object's internal structure. In this project we validate emails address, telephone number, Names and auto generation of employee number so that the user would have a smooth flow while accessing the software.

Implementation is the stage of the project where the theoretical design is turned into a working system. If the implementation stage is not properly planned and controlled it can cause chaos. Thus it can be considered to be the most crucial stage in achieving a successful new system and giving the users confidence that the new system will work and be effective and accurate. It is less creative than system design. Implementation is primarily concerned with user training and documentation. Depending on the nature of the system extensive user training may be required. Conversion usually takes place about the same time the user is being trained or later. Implementation simply means converting a new system design into operation. An important aspect of system analysts job is to make sure that the new design is implemented to establish standards. Implementation means the process of converting a new revised system design into an operational one. The three types of implementation are:

I. Implementation of a new computer system to replace an existing one. II. Implementation of a modified application to replace an existing one. III. Implementation of a computer system to replace a manual.

INSTALLATION IS A PART OF IMPLEMENTATION IS CONCERNED WITH THE PORTION OF APPLICATION FROM THE DEVELOPING SITE TO THE SITE OF ITS WORKING. WHILE TRANSFERRING THE FILES FROM THE CURRENT LOCATION TO THE DESTINATION CARE MUST BE TAKEN, SO THAT THE FILE PATHS DO NOT CHANGE IN THE TRANSFER. The implementation stage involves following tasks. Careful planning. Investigation of system and constraints. Design of methods to achieve the changeover. Training of the staff in the changeover phase. Evaluation of the changeover method.

Screen shots

Login Form

Main Page


Service Application Data Form

Customer Record Form

Connection And Disconnection Form


The software is developed in such a way that it will adapt to the future requirements to a greater extent and also found to be working efficiently, this software overcomes ell the problems that are faced in the manual way. The software is perfectly tested for its functionality and is appreciated for its efficiency, flexibility, user friendliness and accuracy. The software makes the task of planning, controlling and decision making easier. Thus provides a helpful hand to administrator, for effective management of TAX. The software is more interactive and user friendly. Hence the user can easily navigate through the software; its easy to understand how the software works. This software is one of the simplest and easiest forms of a BBMP MANAGEMENT. It can be further modified if required in the future.




2. 3. 4. 5.