Академический Документы
Профессиональный Документы
Культура Документы
Dim j, k As Integer
Private Sub Timer1_Timer()
i = i + 1
k = i Mod 2
If k = 0 Then
lblwait.Visible = True
Else
lblwait.Visible = False
End If
If pb1.Value >= 100 Then
pb1.Value = 100
Unload Me
MDIForm1.Show
Else
pb1.Value = pb1.Value + 10
End If
End Sub
Private Sub Form_Initialize()
j = 1
k = 1
End Sub
Private Sub TM1_Timer()
k = j Mod 2
If k = 0 Then
Label3.Caption = " "
Else
Label3.Caption = "MANAGEMENT INFORMATION SYSTEM."
End If
j = j + 1
End Sub
MDI FORM
Private Sub mchange_Click()
StatusBar1.Panels(1).Text = "Allows user to change their
password."
Form11.Show
End Sub
Private Sub MDIForm_Load()
StatusBar1.Panels(1).Text = "Hello! Welcome to Management
Info. System"
StatusBar1.Panels(2).Text = Date
mnew1.Enabled = True
medit.Enabled = False
mview.Enabled = False
mnew1.Enabled = False
End Sub
Private Sub memp_Click()
StatusBar1.Panels(1).Text = "Allows to remove data about
existing employees."
Form17.Show
End Sub
End Sub
Private Sub mnuprint_Click()
CommonDialog1.Action = 5
End Sub
Form23.Show
End Sub
Private Sub mrememp_Click()
StatusBar1.Panels(1).Text = "List Of Removed Employees"
Form26.Show
End Sub
End Sub
End Sub
Dim a As String
End Sub
Private Sub Command2_Click()
End
End Sub
End Sub
Dim db As Database
Dim r As Recordset
End Sub
End Sub
r!Load = Val(Text5.Text)
r.Update
r.MoveNext
End Sub
End Sub
r.MoveNext
r.MovePrevious
End If
repeat
End Sub
End Sub
Set db = OpenDatabase("c:/connec_app")
Set r = db.OpenRecordset("connec_app")
r.MoveFirst
repeat
End Sub
Text1.Text = r!Name
Text2.Text = r!father_nam
Text3.Text = r!occupation
Text4.Text = r!address
'Check1.Caption = r!desc_elect
'Check2.Caption = r!desc_elect
'Check3.Caption = r!desc_elect
'Check4.Caption = r!desc_elect
Text5.Text = r!Load
'Check5.Caption = r!no_elcpnt
'Check6.Caption = r!no_elcpnt
'Check7.Caption = r!no_elcpnt
'Check8.Caption = r!no_elcpnt
End Sub
End Sub
End Sub
End If
End Sub
r!book_no = Val(Text1.Text)
r!connc_no = Val(Text2.Text)
r!seq_no = Val(Text3.Text)
r!bill_no = Val(Text4.Text)
r!start = Val(Text5.Text)
r!Last = Val(Text6.Text)
r!Month = Val(Text7.Text)
r!due_date = Val(Text8.Text)
r!late_date = Val(Text9.Text)
r!name_div = Text10.Text
r!electric_type = Val(Text11.Text)
r!permit_load = Val(Text12.Text)
r!secutity_dep = Val(Text13.Text)
r!meter_no = Val(Text14.Text)
r!present_reading = Val(Text15.Text)
r!prev_reading = Val(Text16.Text)
r!total_reading = Val(Text17.Text)
r!meter_unit = Val(Text18.Text)
r!total_paid = Val(Text19.Text)
r!elec_amt = Val(Text20.Text)
r!electric_tax = Val(Text21.Text)
r!meter_rent = Val(Text22.Text)
r!bilsub_date = Val(Text23.Text)
r!discount = Val(Text24.Text)
r!address = Text25.Text
r!tildue_date = Val(Text26.Text)
r!aftr_due = Val(Text27.Text)
r.Update
r.MoveNext
End Sub
repeat
End Sub
repeat
End Sub
End Sub
r.MoveLast
repeat
End Sub
End Sub
Text2.Text = r!connc_no
Text3.Text = r!seq_no
Text4.Text = r!bill_no
Text5.Text = r!start
Text6.Text = r!Last
Text7.Text = r!Month
Text8.Text = r!due_date
Text9.Text = r!late_date
Text10.Text = r!name_div
Text11.Text = r!electric_type
Text12.Text = r!permit_load
Text13.Text = r!secutity_dep
Text14.Text = r!meter_no
Text15.Text = r!present_reading
Text16.Text = r!prev_reading
Text17.Text = r!total_reading
Text18.Text = r!meter_unit
Text19.Text = r!total_paid
Text20.Text = r!elec_amt
Text21.Text = r!electric_tax
Text22.Text = r!meter_rent
Text23.Text = r!bilsub_date
Text24.Text = r!discount
Text25.Text = r!address
Text26.Text = r!tildue_date
Text27.Text = r!aftr_due
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
Dim db As Database
Dim r As Recordset
r.AddNew
r!receipt_no = Val(Text1.Text)
r!Date = Text2.Text
r!name_add = Text3.Text
r!book_no = Val(Text4.Text)
r!service_no = Val(Text5.Text)
r!for_work = Text6.Text
r!power_load = Val(Text7.Text)
r!name_substn = Text8.Text
r!name_feeder = Text9.Text
r!department_no = Val(Text10.Text)
r!meter_make = Text11.Text
r!capacity = Val(Text12.Text)
r!reading = Val(Text13.Text)
r!new_old = Text14.Text
r!seal_desc = Text15.Text
r!other_desc = Text16.Text
r.Update
r.MoveNext
End Sub
repeat
End Sub
End Sub
Text1.Text = r!receipt_no
Text2.Text = r!Date
Text3.Text = r!name_add
Text4.Text = r!book_no
Text5.Text = r!service_no
Text6.Text = r!for_work
Text7.Text = r!power_load
Text8.Text = r!name_substn
Text9.Text = r!name_feeder
Text10.Text = r!department_no
Text11.Text = r!meter_make
Text13.Text = r!reading
Text14.Text = r!new_old
Text15.Text = r!seal_desc
Text16.Text = r!other_desc
End Sub
Print " J Y O T I C O L L E G E O F I N F O
R M A T I O N T E C H N O L O G Y "
End Sub
Visual basic is the most commonly used visual programming environment. It allows
us to create front-end applications.
Microsoft access is an RDBMS used to create client/server applications for small to
medium size enterprises. It is used most popularly with visual basic as the front-end.
Data access in visual basic gives us tools to create and use structured database
systems to manage our application’s data. One of these tools is the data control.
The ability to create and access a database such as Microsoft access gives us many
programming advantages:
It lets us write programs that use existing databases.
It allows our application to share data with other programs.
It simplifies our programming, since we do not need to handle low-level file
accessing and searching.
A visual basic database application has three parts, as shown below:
User Interface
Database Engine
Data Store
Introduction to ADO:
There is an increasing popularity of distributed applications and databases in the IT
industry. A distributed application is one that has two parts- a front end that runs on the
client computer and a back end that runs on the server. In distributed applications, the
main aim is to divide the computing task into two sections.
The front-end requires minimal resources and runs on the client. The back-end requires
large amounts of data or specialised hardware and runs on the server. A connection
between the client and server allows data to flow in both directions between the client
and server.
Data access in visual basic:
Visual basic provides three data access interfaces. They are:
Data access objects (DAO):
Version 3 of visual basic introduced the DAO. This technology allows accessing and
manipulating local databases. We are familiar with the data control based on the DAO
technology. The main drawback in this technology is that it is not designed to access
remote databases.
Remote data objects (RDO):
RDO was designed to give access to remote databases. Version 4 of visual basic
introduced this technology. It is useful when accessing data from relational databases
such as the MS SQL server and Oracle.
The limitation to RDO is that it does not access desktop databases effienciently.
ActiveX data objects (ADO):
ADO is an interface to OLE DB, introduced in version 6 of visual basic. This is
Microsoft’s newest data access technology and provides access to almost any data stored
in different formats. ADO is a replacement for the older DAO and RDO and gives us
features not found in earlier. For example, the ADO enables accessing data from
relational and nonrelational databases. It also allows us to access other data sources such
as, e-mail, file systems, project management tools and spreadsheets.
OLE DB provides the underlying access to data with ADO as its interface.
Accessing data with the ADO data control(ADODC):
The ADO data control is the key element in creating data access applications with a
minimum of code. It provides a visual interface for setting data access properties.
It provides a link between an application and the data we need to access. We create this
link by placing the ADO data control on a form and setting its properties. Once we
establish the link we can display data on the form by binding controls to the ADO data
control without writing any code.
Controls can be bound to the ADO data control if they possess the data source property.
These include the:
Checkbox
Combo box
Image
Label
List box
Picture box
Textbox
To add the ADO data control in the toolbox we select the option ‘Microsoft ADO data
control 6.0’in the components item of the project menu.
The following figure illustrates an ADO data control as seen in the toolbox and a form
respectively.
THE ADODC DATA CONTROL
After adding the control to the toolbox we set its properties and use it like any other
control.
We create a connection to a data source by setting the Connection String Property of the
ADO data control. This property specifies the type of the database that we need to access.
To set the property we click the ellipses button next to the connection string property in
the properties window of the ADODC.
This opens the property page; displaying the following three data source options to set the
connection string property as shown below.
The Connection String Property Page
Use data link file: This specifies a custom connection string that connects to a data
source. We can select a data link file on clicking browse.
Use ODBC data source name:
This option allows us to use as system-defined data source name (DSN) for the
connection string. A combo-box displays a list of data source names. To add or modify a
DSN we click the new button.
Use connection string:
Specifies a connection string to connect to the data source. Clicking the build button
displays the data link properties dialog box from which we can specify the provider
name, the connection and any other information required to connect to a data source.
Setting the provider
We set the provider as ‘Microsoft jet 4.0 OLE DB Provider’.
Setting the Connection String
The Record Source Property: The record source property specifies where the records
will come from after a connection is established to a database. This property can be set to
a table name, a stored procedure or a SQL statement. It is a good practice to use a SQL
statement, which retrieves only the selected rows from a table rather than selecting an
entire table.
Setting the record source (the table of records)
Binding the controls to the ADODC:
The ADODC allows us to connect to database and access information from it. But it
cannot display that information on a form. For this we need to bind controls to the
ADODC to display the information. Only those controls that support the Data Source
property can be bound to the ADODC.
The following is the lists of controls in the toolbox of visual basic that can be bound to
the ADODC.
Picture box
Label
Text box
Check box
Combo box
List box
Image
OLE Control
Coverage
States:
Bihar
Delhi
Gujarat
Haryana
Karnataka
Himachal Pradesh
Kerala
Madhya Pradesh
Maharashtra
Orissa
Punjab
Rajasthan
Tamilnadu
Uttar Pradesh(East)
Uttar Pradesh(West)
West Bengal
Union Territories:
CustomerRecordsTable
CAF - CustomerApplicationFormNumber
TelNo - TelephoneNumber
PofId - Proff of ID
PofAdd - ProofofAddress
BillingRecords
DeclarationRecords:
CAF- CustomerApplicationFormNumber
Date1-date filled by the customer
Date2-date filled by the manager
MN-Manager’s Name
SM-Signature of manager
DetailsFillinfRecords:
Prevdues-previous dues
Adj-adjustments
Curchar-current charges
Amafterduedate-amount after due date
Totalcurchar-total current charges
FinalActivationRecords:
CAF- CustomerApplicationFormNumber
IA-Installation Address
CN-Customer’s name
OTCC-OTC code
Hcode-Handset code
SDCAN-SDCA name
SDCAC-SDCA code
Dirno-Directory number
CR-Customer’s Representative
RAR-Reliance Authorised Representative
FWP Records:
CAF- CustomerApplicationFormNumber
TP-Tariff Plan
SN-Signature of subscriber
Receipt Records:
CAF- CustomerApplicationFormNumber
RRS-Received Rs
DDno-Demand draft no
CCN-Credit Card no
HCN-Handset code no
SCN-Scheme code no
TP-Tariff Plan
DA-Deposit Amount
ELECTRICITY BILLING SYSTEM
“To succeed in the knowledge era, India must make a creative break from the
debilitating colonial hangovers of the past.”
The concept of the universe as one family(Vasudaive Kutumbakam) is not
something new to the Indian mind. It has been expounded in the Vedas and Upanishads
by our sages and seers. It is this breadth of vision that enabled India to realise its vast
creative potential in an entire range of areas:
astronomy,architecture,botany,medicine,metallurgy,meteorology,philosophy, and political
science in addition to industry and trade. India begin to decline only when we began to
look inwards. India’s resurgence during the last century owes itself to the reassertion of
those universal impulses.
Its our great privilege to work under the guidance of much experienced and devoted
faculty members of JYOTI INSTITUTE OF INFORMATION TECHNOLOGY. The kind
of exposure and experience guide’s global and professional attitude we got is exactly
what we desired to learn before starting our project.
We would like to express our sincere thanks to the following people for their
encouragement and guidance.
In the era of New technological development where the customer attitude, needs and
wants are changing very fast. Here customer is the king business begins and ends with the
customer. The business growth, profitability, liquidity and image of an organization
depends upon the customer.
It is therefore essential that a product/service meets the customer expectation fully
and ensure that he or she is fully satisfied it is necessary to pay emphasis on building and
maintain customer satisfaction by putting the customer first in all the activities.
Awareness comes only advertising and publicity and best marketing effort. Customer
satisfaction is not enough.
Most marketing theory and practice centers on the art of new customer on retaining
ones. A company would be wise to customer satisfaction regular, because the key to
customer relation is customer satisfaction. The great entrepreneur ELECTRICITY
BILLING SYSTEM think that making call should be less than price of a post card and
he is working for that. In his views, a highly satisfied customer stay longer, buys more as
the company introduces new products and talks favorably about the company and it’s
product.
CUSTOMER NEEDS AND WANTS
Needs
Better quality service.
Basic facilities with the handset like SMS,Telephone directory,time,date,storage
capacity.
Avilable in everywhere in India.
Customer problem should be solved quickly.
Employees of the Reliance Infocomm should educate the customer to operate the
prepaid connections.
Wants
Cheaper call rates for local,STD and ISD.
Pepaid policy (Plans) should be properly communicate to the customer.
Minimum recharge coupon should be provided such as in 50,100,150 or more.
Promotional sheme or gift sometime be provided by the company.
Customer Cust. Customer Executive
Executive ID Cust.
ID
Cust. Bill Receip
Rejectio Detail Reques Bill Plan t
n of s.. t Inf s.
request for o
Conn.
Bill
Plan Billing
Detail Custome
System
s r Care
2
System
1
Customer
Bill Plans Details Bill Details
Details
FLOW CHART
Flow chart is the pictorial representation of the steps involved in solving a
problem. It is the next step towards problem solving. Usually, the flowchart is
primarily used as an aid in formulating, writing, and understanding the programs. For
easy visual recognition, the standard convention is to use only predefined and
accepted specific symbol for a particular operation only so that every computer
professional interprets the flowcharts in the same manner.
START
Read
the values
of
X, Y and Z
Is
X >
Y?
Is Is
X > Z? Z > Y?
Print Print Print
X Z Y
STOP
Electricity Billing System
Electricity Billing System from scratch to be in the reckoning for a place in the
Global Fortune 500 list. This achievement is even more significant due to the fact, that
the entire growth was achived in an organic manner and in a span of just 25 years.
Electricity Billing System was not just firmly rooted in traditional Indian values, but was
also a quintessentially modern man-the man of the new millennium. This was clearly
reflected in his passion for mega-sized projects, the most advanced technology and the
highest level of productivity.
The corporate philosophy he followed was short simple and succinct- “Think big.
Think differently. Think fast. Think ahead. Aim for the best”. He inspired the Reliance
team to do better than the best-not only in India but also in the world.
Electricity Billing System, had an acute sense that education alone empowers
people. He was a great communicator. He communicated to inspire, to guide , to educate
and to motivate.
He employed telephone as a powerful tool to achieve these goals. He used
telephone to defeat distance, to compress time and to remain abreast of events. He was
acutely aware of the power of information and communications. He would often say: “
make the tools of Infocomm available to people at an affordable cost, they will overcome
the handicaps of literacy and lack of mobility”.
Electricity Billing System is a fascinating outcome of this powerful conviction. It is
a major initiative to translate his inspiring dream into reality.
BIBLIOGRAPHY
Customer
Care Bill
& Plans
Billing
System
Management
Bill Information
Administrator
Preface
Billing System ”. An attempt has been made by us to make the project must up to date.
We have tried our best to include, solve the basic problems faced by the management of
the many companies. Computerized package would surely be some help and answer to
the day to day problems. We would like to express our deep appreciation to all those who
have encouraged and help me to continue prepare my software package and our heart felt
thanks to Mr.S.D.SINGH for his valuable suggestions and guidance.
NARESH KUMAR
BCA 6 sem
JCIT,BAREILLY
Pseudocode
This is another method of writing and analyzing the program logic. These are also the set
of instructions like a program, but written in very simple language. As this is a step prior
to program writing so pseudocodes are influenced by the language in which source
program is to be developed. Pseudo means artificial. Code means program in which high
level language. As it is artificial code, that is why it is known as pseudocodes as this set
of instructions is influenced by programming language.
This is an optional step of problem solving. This means if programmer feels that there is
no need of writing pseudocodes, he can skip this step. But, writing programmer feels that
there is no need of writing pseudocodes is especially useful while the large programs. In
that case, all complexities of the program are stated in a very simple format ,which can be
translated to the code of desired programming language very easily.
SELF CERTIFICATE
Signature of Student
Jyoti Institute Bareilly