cnmsprojectreport
TRANSCRIPT
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 1/40
wertyuiopasdfghjklzxcvbnmqwtyuiopasdfghjklzxcvbnmqwertypasdfghjklzxcvbnmqwertyuiop
dfghjklzxcvbnmqwertyuiopasdfjklzxcvbnmqwertyuiopasdfghjkcvbnmqwertyuiopasdfghjklzxcvnmqwertyuiopasdfghjklzxcvbn
wertyuiopasdfghjklzxcvbnmqwtyuiopasdfghjklzxcvbnmqwertypasdfghjklzxcvbnmqwertyuiop
dfghjklzxcvbnmqwertyuiopasdfjklzxcvbnmqwertyuiopasdfghjkcvbnmqwertyuiopasdfghjklzxcvnmqwertyuiopasdfghjklzxcvbn
wertyuiopasdfghjklzxcvbnmqwtyuiopasdfghjklzxcvbnmrtyuiopdfghjklzxcvbnmqwertyuiopasdfjklzxcvbnmqwertyuiopasdfghjk
cvbnm wert uio asdf h klzxcv
A Project Report on:Cable Network Management System
By
Nilesh Kolhe (Roll No. 3529)
Prasad Kulkarni (Roll No. 3530)
Kunal Salunke (Roll No. 3560)
Students of T.E I.T., PES Modern COE, Pune-05.
Group ID – 20
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 2/40
2
Progressive Education Society's
Modern College Of Engineering, Pune-05.
Department of Information Technology
2010-11
CERTIFICATE
This is to certify that, project entitled “Cable Network Management System”,
submitted by Nilesh Kolhe, Prasad Kulkarni and Kunal Salunke is record of bonafide
work carried out by them, under the guidance of Mrs. Swapna Bhavsar, in fulfillment of
the requirement for the award of the T.E. of Bachelor of Engineering in Information
Technology, University of Pune.
Prof.Mrs Swapna Bhavsar Prof.Mrs.S.D.DeshpandeGUIDE H.O.D (I.T.)
Date:
Place: Pune
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 3/40
3
ACKNOWLEDGEMENT
A PROJECT REPORT ON
“Cable Network Management System”
By
Nilesh Kolhe
Prasad Kulkarni
Kunal Salunke
Under the guidance of
Mrs. SWAPNA BHAVSAR
in partial fulfillment of T.E (Information Technology, 2010-11) University of Pune.
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 4/40
4
INDEX
PROJECT TITLE
Sr. No Topic Name Page
No.1. Project Title 4
2. Abstract 5
3. Introduction 6
4. Scope of the Project 75. Software Specification 8
6. Hardware Specification 13
7. EER Diagram 14
8. Schema Definitions (DDL Statements) 15
9. GUI (Graphical User Interface) 18
10. Source Code (VB code) 26
11. Data Report 35
12. Future Enhancement 36
13. Conclusion 37
14. References 38
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 5/40
5
A Project Report on
CABLE NETWORK MANAGEMENT SYSTEM
By
Nilesh Kolhe
Prasad Kulkarni
Kunal Salunke
ABSTRACT
Objective/Aim of the project:
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 6/40
6
This project aims at developing an application which will help a cable
network/cable operator company to easily manipulate their database for customer
information and other relevant information based on some pre decided criteria. The cable
operators will be able to search, modify and display details of each and every subscribed
customer.
Only one user profile will be available i.e. administrator. The administrator has
access to all rights/privileges offered to them. The administrator can add, update and
delete a record, as and when required.
INTRODUCTION
The Cable Network Management System software is a dual end software, i.e it has two
ends – the Front End and the Back End. The Front End is concerned with user interaction
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 7/40
7
while the back end is used to store the database. Connection is made between the two
ends via the “connection stream”. The Front End software is developed by using Visual
Basic 6.0 while the Back End is developed by using Oracle 9i which is a software which
supports Structured Query Language.
Features:
• Plan details:
The project will have enlisted categorized service plans from which the
administrator will be able to keep track of the plan selected by the user.
The project will also give details of the plan validity/plan duration selected by the
user.
• Bill generation:
According to the plan selected and the plan duration, the
administrator will be able to generate the bill for commercial
purposes.
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 8/40
8
SCOPE OF THE PROJECT
In today’s world, almost everything has become dependent on the computer. All the
major companies of all kinds develop their own softwares by which they can manipulate
their databases. These databases are of great importance as they store the
financial/commercial records of the company.
Our project entitled “Cable Network Management System” is an example of such a
database manipulation application.
Our project can be put to commercial use in the industry. All cable TV operator
companies have a huge database of customers that they need to manage. They need to
keep track of the customer’s personal details along with their account details such as date
of subscription, type of service plan selected, plan duration and more importantly the bill
generated after each month according to the selected plan and its duration.
Our project satisfies all these requirements. Since it has only one profile i.e
administrator, only the privileged individuals will be able to access the company data and
thus security of the product is preserved. Thus, the application has a great potential in the
upcoming Information Technology industry.
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 9/40
9
SOFTWARE SPECIFICATIONS
Operating System: - Windows 98/XP/Vista/7
Front End: - VISUAL BASIC 6.0 (VB 6.0)
Back End: - Oracle 9i
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 10/40
10
• FRONT END
For the Front end we have used the VB i.e. Visual Basic.
The “Visual” part refers to the method used create the graphical user interface[GUI]. Rather than writing numerous lines of interface elements, you simply add pre-
built objects into place on screen.
The “Basic” part refers to the BASIC [Beginners All Purpose Symbolic
Instruction Code] language, a language used by more programmers than any other
language in the history of computing. VB has evolved from the original BASIC language
and now contains several statements, functions and keywords, many of which relate
directly to the window GUI.
VB is very popular language because it allows rapid development of window
based applications. VB is commonly used for creating front end or interface of
application. It is easy to learn and easy to understand programming language. It supports
many wizards, which makes complex task easier.
It stands in non-structural language. It has different objects displayed in front end
for input/output from user. Each object and front end things have the code written is
executing in its background. VB has three editions:-
• Learning- Intrinsic controls, plus grid and data bound controls
• Professional- All controls from learning edition + Active X controls
• Enterprise- All the features of professional edition plus back office tools such as
SQL Server, Microsoft Transaction Server, Internet Information Server, Visual
SourceSafe, SNA Server etc.
When the VB window is opened it shows startup screen used to select the type of
project design in VB. VB window is called as an IDE [Integrated Developed
Environment]. It refers as an IDE because it integrates many functions such as editing,compiling, linking and debugging within single environment.
The VB IDE consists of:-
1] Menu Bar
2] Toolbar
3] Toolbox
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 11/40
11
4] Property window
5] Form layout window
6] Project explorer window
7] Object browser
8] Form designer
9] Code editor window
Some Features of VB:
• Menu Interface:-
Adding menus to it can enhance VB application. It offers a convenient and
consistent way to group commands and an easy way for access them. Using the menu
editor, we can add new commands to executing menus, create new menus and menu bars,
change and edit existing menus and menu bars.
• Graphics:-
VB provides a variety of ways to create and use graphics in an application, which
adds styles, interest and visual structure to the interface of an application. Graphic objects
such as lines, circles and bitmaps can be displayed in VB in a quicker and easier way.
• Multiple Document Interface:-
A Multiple Document Interface [MDI] is used for opening many windows at the
same time. All the document windows are contained in a parent window, which provides
a workspace in the application.
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 12/40
12
• BACK END
For the back end purpose means the connection of various tables and databases
we are using the Structured Query Language (SQL). The term database means thecollection of fields and records. The term database is collection of all tables that
composes the complete system. SQL offers a variety of features for different databaseneeds.
SQL is the language using which we can perform the operation like create,
retrieve, add, modify, delete and control access to ORACLE database. SQL is a non-procedural language.
SQL*PLUS is not a language. It is a powerful support product. It is an
environment which enables us to manipulate SQL commands, PL/SQL blocks and many
additional tasks.SQL commands are standard SQL commands used for working with data in
database. SQL is made of three sub-language, they are Data Definition Language (DDL),Data Manipulation Language (DML) and Data Control Language (DCL).
The Data Definition Language consists of a set of commands used to create
objects such as tables, views and indexes. The Data Manipulation Language is used for
query, insertion, updating and deletion of data stored in database. The Data ControlLanguage is used for controlling access to data.
SQL can be used to develop three general type of application.
1. Application used to run small business:-SQL is excellent platform for developing an application that runs a small
business, its wizards allows developers to quickly and easily build a foundation of the
application.
2. Departmental application:-
SQL is perfect for developing application for departments within large
corporation. It is relatively easy to upgrade the user within a department to appropriatehardware.
3. Corporation wide application:-
SQL can also used to produce application that distribute throughout the
organization.
Features of SQL:
• Working on other applications
• Working with sample applications
• Working in the database window
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 13/40
13
• Using & customizing toolbars, menu bars & shortcut menus
• Working with data
• Working with filters
• Printing and previewing
• Designing a database
• Creating and customizing a query
• Creating and customizing forms and reports
• Securing and administering a database
Thus we can use SQL efficiently as backend tool.
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 14/40
14
HARDWARE SPECIFICATIONS
Processor: - INTEL PENTIUM IV
RAM: - 256 MB
HARD DISK: - Minimum 4GB
Peripherals: - Keyboard, Mouse
Printer: - For printing reports
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 15/40
15
EER DIAGRAM
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 16/40
16
SCHEMA DEFINITIONS (DDL STATEMENTS)
-----------------------------------------------------------------------------------------------------------
-
TABLE 1:
create table customer_10(cust_id varchar(12) primary key,cust_name varchar(20),
cust_addr varchar(12),cust_street varchar(12),cust_con integer);
Table created.
-----------------------------------------------------------------------------------------------------------
-TABLE 2:
create table employee_10(empl_id varchar(12) primary key,empl_name
varchar(20),empl_addr varchar(20),empl_con integer);
Table created.
-----------------------------------------------------------------------------------------------------------
-
TABLE 3:
create table netoffice_10(office_id varchar(12) primary key,office_name varchar(12),office_addr varchar(12),office_con integer);
Table created.
-----------------------------------------------------------------------------------------------------------
-
TABLE 4:
create table services_10(service_id varchar(12) primary key,service_name varchar(15)
not null,service_cost integer,plan_duration varchar(15));
Table created.
------------------------------------------------------------------------------------------------------------
TABLE 5:
create table distributor_10(distri_id varchar(12) primary key,dis_name
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 17/40
17
varchar(15),dis_addr varchar(12),no_of_cust integer);
Table created.
-----------------------------------------------------------------------------------------------------------
-
TABLE 6:
create table payment_10(cust_id references customer_10,install_no integer,install_amt
integer check(install_amt>300),pay_date date,primary key(cust_id,install_no));
Table created.
------------------------------------------------------------------------------------------------------------
TABLE 7:
create table has_10(distri_id references distributor_10 primary key,ofiice_id references
netoffice_10 not null);
Table created.
------------------------------------------------------------------------------------------------------------
TABLE 8:
create table provides_10(office_id references netoffice_10,service_id references
services_10,primary key(office_id,service_id));
Table created.
-----------------------------------------------------------------------------------------------------------
-
TABLE 9:
create table worksin_10(empl_id references employee_10 primary key,office_idreferences netoffice_10 not null);
Table created.
-----------------------------------------------------------------------------------------------------------
-
TABLE 10:
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 18/40
18
create table cust_office_10(cust_id references customer_10 primary key,office_id
references netoffice_10 not null);
Table created.
-----------------------------------------------------------------------------------------------------------
-
TABLE 11:
create table serviceby_11(customer_id references customer_11 primary key,empl_id
references employee_11 not null);
Table created.
-----------------------------------------------------------------------------------------------------------
-create table nonper_11(empl_id references employee_11,non_of_days
integer,wage_per_day integer);
Table created.
------------------------------------------------------------------------------------------------------------
TABLE 12:
create table nonper_10(empl_id references employee_10 primary key,no_of_days
integer,wage_per_day integer);
Table created.
------------------------------------------------------------------------------------------------------------
TABLE 13:
SQL> create table permanent_10(empl_id references employee_10 primary
key,month_sal integer,designation varchar(16));
Table created.
-----------------------------------------------------------------------------------------------------------
-
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 19/40
19
GRAPHICAL USER INTERFACE (GUI)
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 20/40
20
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 21/40
21
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 22/40
22
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 23/40
23
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 24/40
24
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 25/40
25
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 26/40
26
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 27/40
27
SOURCE CODE
Form 1
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 28/40
28
Dim str As String
Private Sub Command1_Click()
If (Form1.Text1 = "sai" And Form1.Text2 = "12345")Then
Beep
MsgBox ("log in successful please click OK button to continue")
Form1.Hide
Form2.Show
Else
str = MsgBox("incorrect username or password please try again", vbQuestion + vbYesNoCancel, "sorry")Form1.Text1 = ""
Form1.Text2 = ""
End If
End Sub
Private Sub Command2_Click()
'Form1.Text1 = ""Form1.Text2 = ""
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Text1_GotFocus()
Form1.Text1 = ""
Form1.Text2 = ""
End Sub
Form 2
Private Sub Command1_Click()
Form2.HideForm3.Show
End Sub
Private Sub Command2_Click()
Form2.Hide
Form4.Show
End Sub
Private Sub Command3_Click()
Form2.Hide
Form5.Show
End Sub
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 29/40
29
Private Sub Command4_Click()
Form2.Hide
Form6.Show
End Sub
Private Sub Command5_Click()Form2.Hide
Form7.Show
End Sub
Private Sub Command6_Click()Form2.Hide
Form8.Show
End Sub
Private Sub Command7_Click()
End
End Sub---------------------------------------------------------------
Form 3
Dim conn1 As ADODB.Connection
Dim rs As ADODB.Recordset
Dim str, str1 As String
Private Sub Command1_Click()
Form3.HideForm2.Show
End Sub
Private Sub Command10_Click()
Command1.Visible = True
Command2.Visible = TrueCommand3.Visible = True
Command4.Visible = True
Command5.Visible = True
Command6.Visible = True
Command7.Visible = False
Command8.Visible = False
Command9.Visible = False
Command10.Visible = FalseCommand11.Visible = False
Command12.Visible = TrueText1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
End Sub
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 30/40
30
Private Sub Command11_Click()
Set conn1 = New ADODB.Connection
Set rs = New ADODB.Recordset
conn1.ConnectionString = "Provider=MSDAORA.1;Password=tiger;User ID=scott;Persist SecurityInfo=True"
conn1.Open
str = "update customer_10 set cust_id=" & Text1.Text & ",cust_name='" & Text2.Text & "',cust_addr='" &
Text3.Text & "',cust_con=" & Text4.Text & " WHERE cust_id=" & Text1.Text & ""
Set rs = conn1.Execute(str)
MsgBox ("record updated successfully")
Command1.Visible = TrueCommand2.Visible = True
Command3.Visible = True
Command4.Visible = True
Command5.Visible = True
Command6.Visible = True
Command7.Visible = False
Command8.Visible = False
Command9.Visible = FalseCommand10.Visible = False
Command11.Visible = FalseCommand12.Visible = True
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
End Sub
Private Sub Command12_Click()
DataReport2.RefreshDataReport2.Show
End Sub
Private Sub Command2_Click()
Set conn1 = New ADODB.Connection
Set rs = New ADODB.Recordset
conn1.ConnectionString = "Provider=MSDAORA.1;Password=tiger;User ID=scott;Persist Security
Info=True"
conn1.Open
str = "select * from customer_10 where customer_10.cust_id='" & Text1.Text & "'"Set rs = conn1.Execute(str)
Do While Not rs.EOF = TrueIf Text1.Text = rs.Fields("cust_id") Then
Exit Do
Else
rs.MoveNext
End If
Loop
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 31/40
31
If rs.EOF = True Then
Command9.Visible = True
Command8.Visible = True
Command1.Visible = FalseCommand2.Visible = False
Command3.Visible = FalseCommand4.Visible = False
Command5.Visible = False
Command6.Visible = False
Command7.Visible = False
Command10.Visible = False
Command11.Visible = FalseCommand12.Visible = False
Command9.SetFocus
Else
MsgBox ("Customer ID already exists. Enter another one")
Text1.Text = ""
End If
conn1.Close
End Sub
Private Sub Command3_Click()
Set conn1 = New ADODB.Connection
Set rs = New ADODB.Recordset
conn1.ConnectionString = "Provider=MSDAORA.1;Password=tiger;User ID=scott;Persist Security
Info=True"
conn1.Openstr1 = InputBox("Enter customer ID to be updated")
Text1.Text = str1
str = "select * from customer_10 where customer_10.cust_id='" & Text1.Text & "'"
Set rs = conn1.Execute(str)
Do While Not rs.EOF = True
If Text1.Text = rs.Fields("cust_id") Then
Exit Do
Else
rs.MoveNext
End If
Loop
If rs.EOF = True Then
MsgBox ("record not found")Text1.Text = ""
ElseText2.Text = rs.Fields(1)
Text3.Text = rs.Fields(2)
Text4.Text = rs.Fields(3)
Command7.Visible = False
Command8.Visible = True
Command1.Visible = False
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 32/40
32
Command2.Visible = False
Command3.Visible = False
Command4.Visible = False
Command5.Visible = False
Command6.Visible = FalseCommand9.Visible = False
Command10.Visible = FalseCommand11.Visible = True
Command12.Visible = False
Command11.SetFocus
End If
conn1.Close
End Sub
Private Sub Command4_Click()
Set conn1 = New ADODB.ConnectionSet rs = New ADODB.Recordset
conn1.ConnectionString = "Provider=MSDAORA.1;Password=tiger;User ID=scott;Persist Security
Info=True"
conn1.Open
str1 = InputBox("enter customer Id to be deleted")
Text1.Text = str1
str = "select * from customer_10 where customer_10.cust_id='" & Text1.Text & "'"
Set rs = conn1.Execute(str)
Do While Not rs.EOF = TrueIf Text1.Text = rs.Fields("cust_id") Then
Exit Do
Else
rs.MoveNextEnd If
Loop
If rs.EOF = True Then
MsgBox ("record not found")
Text1.Text = ""
Else
Text2.Text = rs.Fields(1)Text3.Text = rs.Fields(2)
Text4.Text = rs.Fields(3)Command7.Visible = True
Command8.Visible = True
Command1.Visible = False
Command2.Visible = False
Command3.Visible = False
Command4.Visible = False
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 33/40
33
Command5.Visible = False
Command6.Visible = False
Command9.Visible = False
Command10.Visible = False
Command11.Visible = FalseCommand12.Visible = False
Command7.SetFocusEnd If
conn1.Close
End Sub
Private Sub Command5_Click()
Set conn1 = New ADODB.Connection
Set rs = New ADODB.Recordset
conn1.ConnectionString = "Provider=MSDAORA.1;Password=tiger;User ID=scott;Persist Security
Info=True"
conn1.Open
str1 = InputBox("Enter customer ID")
Text1.Text = str1str = "select * from customer_10 where customer_10.cust_id='" & Text1.Text & "'"
Set rs = conn1.Execute(str)
Do While Not rs.EOF = True
If Text1.Text = rs.Fields("cust_id") Then
Exit Do
Else
rs.MoveNextEnd If
Loop
If rs.EOF = True Then
MsgBox ("record not found")
Text1.Text = ""
Else
Command12.Visible = FalseCommand11.Visible = False
Command10.Visible = True
Command7.Visible = False
Command8.Visible = False
Command9.Visible = False
Command1.Visible = False
Command2.Visible = FalseCommand3.Visible = False
Command4.Visible = FalseCommand5.Visible = False
Command6.Visible = False
Command10.SetFocus
Text2.Text = rs.Fields(1)
Text3.Text = rs.Fields(2)
Text4.Text = rs.Fields(3)
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 34/40
34
'MsgBox ("Record not found")
End If
conn1.Close
End Sub
Private Sub Command6_Click()Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
End Sub
Private Sub Command7_Click()
Set conn1 = New ADODB.Connection
Set rs = New ADODB.Recordset
conn1.ConnectionString = "Provider=MSDAORA.1;Password=tiger;User ID=scott;Persist Security
Info=True"
conn1.Openstr = "delete from customer_10 where customer_10.cust_id='" & Text1.Text & "'"
Set rs = conn1.Execute(str)
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
MsgBox ("Record deleted.")
Command1.Visible = True
Command2.Visible = TrueCommand3.Visible = True
Command4.Visible = True
Command5.Visible = TrueCommand6.Visible = True
Command7.Visible = False
Command8.Visible = False
Command9.Visible = False
Command10.Visible = FalseCommand11.Visible = False
Command12.Visible = True
End Sub
Private Sub Command8_Click()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""Text4.Text = ""
Command1.Visible = TrueCommand2.Visible = True
Command3.Visible = True
Command4.Visible = True
Command5.Visible = True
Command6.Visible = True
Command7.Visible = False
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 35/40
35
Command8.Visible = False
Command9.Visible = False
Command10.Visible = False
Command11.Visible = False
End Sub
Private Sub Command9_Click()Set conn1 = New ADODB.Connection
Set rs = New ADODB.Recordset
conn1.ConnectionString = "Provider=MSDAORA.1;Password=tiger;User ID=scott;Persist Security
Info=True"
conn1.OpenIf Text1.Text = "" Then
MsgBox ("customer ID field should not be empty")
Else
str = "select * from customer_10 where customer_10.cust_id='" & Text1.Text & "'"
Set rs = conn1.Execute(str)
Do While Not rs.EOF = TrueIf Text1.Text = rs.Fields("cust_id") Then
Exit Do
Else
rs.MoveNext
End If
Loop
If rs.EOF = True Then
str = "insert into customer_10 values(" & Text1.Text & ",'" & Text2.Text & "','" & Text3.Text & "'," &Text4.Text & ")"
Set rs = conn1.Execute(str)
MsgBox ("record inserted successfully")
Command1.Visible = True
Command2.Visible = True
Command3.Visible = True
Command4.Visible = TrueCommand5.Visible = True
Command6.Visible = True
Command12.Visible = True
Command7.Visible = False
Command8.Visible = False
Command9.Visible = False
Command10.Visible = FalseCommand11.Visible = False
Text1.Text = ""Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Else
MsgBox ("Record already exists. Enter another ID")
Text1.Text = ""
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 36/40
36
End If
End If
End Sub
Private Sub Form_Load()
Command7.Visible = FalseCommand8.Visible = False
Command9.Visible = False
Command10.Visible = False
Command11.Visible = False
Text1.Text = ""
Text2.Text = ""Text3.Text = ""
Text4.Text = ""
End Sub
Private Sub Text3_CLICK()
If Text2.Text = "" Then
MsgBox ("customer name must mention")Text2.SetFocus
End If End Sub
Private Sub Text3_GOTFOCUS()
If Text2.Text = "" Then
MsgBox ("Customer name must mention")
Text2.SetFocus
End If
End Sub
Private Sub Text4_CLICK()If Text2.Text = "" Then
MsgBox ("Customer name must mention")
Text2.SetFocusEnd If
End Sub
Private Sub Text4_GOTFOCUS()
If Text2.Text = "" Then
MsgBox ("Customer name must mention")Text2.SetFocus
End If
End Sub
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 37/40
37
DATA REPORT
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 38/40
38
FUTURE ENHANCEMENTS
1) If the administrator changes, then provisions will be made to add another administrator
with same privelage level as that of his predecessor. The new administrator will have a
new login ID and a new password.
2)If the cable operator company introduces a new plan, then provisions will be made for
users to be able to select the new plan.
3)If data rate of the existing plan changes, then provisions will be made for the
administrator to change the data rate of the changed plan.
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 39/40
39
CONCLUSION
In this way, after a lot of research, hardwork and dedication by all three of us, we have
successfully completed and implemented the mini-project entitled “Cable Network
Management System” on Relational Database Management System (RDBMS) and Front
End development.
8/7/2019 CNMSProjectReport
http://slidepdf.com/reader/full/cnmsprojectreport 40/40
40
REFERENCES
1) “Visual Basic 6 Programming”, Black Book DreamTech Press
2) Visual Basic 6 Programming – Tata McGraw Hill, Content Development Group
3) SQL and PL/SQL for Oracle 10g Black Book, Dr. P.S. Despande DreamTech Press
4) Urman S., Hardman R., McLaughlin M., “PL/SQL Programmming; Develop Database
Driven PL/SQL Applications”, Tata McGraw-Hill Edition, 2004, ISBN 0-07-059779-0
5) http://visualbasic.freetutes.com/
6) http://www.exforsys.com/tutorials/oracle-9i/oracle-9i-sql-plsql-and-sql-plus-
introduction.html