Professional Documents
Culture Documents
REPORT ON
Submitted By
Pinkal Ganjawala(18)
Kiran Jawalkar(35)
UNIVERSITY OF PUNE
1
Acknowledgement
Pinkal Ganjawala(18)
2
Kiran Jawalkar(35)
INDEX
1. Introduction:
Introduction of a project 4
3. Technology used: 6
Software
Hardware
6. Coding 16
7. References 32
3
Introduction
Although our software has many advanced features it's still very
easy to use, both for operators and customers. The user interface is clean
and feels very natural even to beginners. The integrated help system will
guide you in case of any problems.
4
Objectives of the project
5
Technology used
Environmental Specification:
Hardware:-
Hardware means the physical and tangible parts of
computer system. The main hardware configuration for suggested
system is:
1) Processor : Pentium 3 or Above.
2) Hard Disk : Minimum 1GB.
3) Primary Memory : At least 256MB RAM.
4) CD Rom : 32X or Above (for Data Backup).
Software:-
Software means the set of instructions or program given to
the computer. Software is categorized as
6
Modules of the System
Customer Entry: -
Status :-
7
Customer Exit:-
This module is invoked when the costumer is Exit from Cyber. Here
the Time Spent and the charges is calculated. And The Computer
which is allotted to the customer is released.
Cyber Setup:-
8
Design (Output)
Login Form:-
9
New Cyber Setup Form:-
10
New Customer Entry Form:-
11
12
Transaction (Customer Enter):-
13
Customer Exit:-
14
Status Form:-
15
Coding
Design (Output):-
Timer1.Interval = 1000
ProgressBar1.Value = 0
End Sub
Timer1.Interval = 0
Form1.Show
Unload Me
Exit Sub
Else
ProgressBar1.Value = ProgressBar1.Value + 50
End If
End Sub
16
Login Form:-
Dim us_id As String
flag = 0
us_id = Text1.Text
pass = Text2.Text
Dim rs As ADODB.Recordset
rs.MoveFirst
For i = 0 To 10
flag = 1
Exit For
Else
rs.MoveNext
End If
Next i
If flag = 1 Then
Form5.Show
Unload Me
Text1.Text = ""
17
Text2.Text = ""
Else
Text1.Text = ""
Text2.Text = ""
End If
rs.Close
End Sub
Form2.Show
Unload Me
End Sub
Unload Me
End Sub
dbopen
End Sub
Form2.Show
Unload Me
End Sub
18
Private Sub Command1_Click()
Dim rs As ADODB.Recordset
rs.AddNew
rs.Fields("sid") = Text1.Text
rs.Fields("name_of_cyber") = Text2.Text
rs.Fields("passward") = Text5.Text
Else
End If
rs.Fields("auth_per_name") = Text3.Text
rs.Fields("address") = Text6.Text
rs.Fields("ph_no") = Text7.Text
rs.Update
rs.Close
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
19
cnn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=cyber_db.mdb;Persist Security Info=False"
record.MoveFirst
record.Delete
record.MoveNext
Wend
record.Close
Dim i, n As Integer
n = Val(txtPC.Text)
For i = 1 To n
record.AddNew
record.Fields(0) = i
record.Fields(1) = "0"
record.Update
Next
record.Close
cnn.Close
End Sub
Form1.Show
Unload Me
20
End Sub
dbopen
End Sub
Unload Me
Form1.Show
End Sub
21
Private Sub Command1_Click()
dbopen
rs1.AddNew
rs1.Fields("cid") = Text1.Text
rs1.Fields("name_cust") = Text2.Text
rs1.Fields("caddress") = Text3.Text
rs1.Fields("proof_sub") = Combo2.Text
rs1.Fields("cph_no") = Text5.Text
rs1.Fields("gender") = Combo1.Text
rs1.Update
rs1.Close
Combo1.Refresh
Text2.Text = ""
Text3.Text = ""
Combo2.Refresh
Text5.Text = ""
Combo1.Refresh
End Sub
Form5.Show
Unload Me
22
End Sub
dbopen
Combo1.AddItem ("Male")
Combo1.AddItem ("Female")
End Sub
Unload Me
Form5.Show
End Sub
23
Private Sub Command1_Click()
dbopen
rs1.AddNew
rs1.Fields("cid") = Text1.Text
rs1.Fields("name_cust") = Text2.Text
rs1.Fields("caddress") = Text3.Text
rs1.Fields("proof_sub") = Combo2.Text
rs1.Fields("cph_no") = Text5.Text
rs1.Fields("gender") = Combo1.Text
rs1.Update
rs1.Close
Combo1.Refresh
Text2.Text = ""
Text3.Text = ""
Combo2.Refresh
Text5.Text = ""
Combo1.Refresh
End Sub
Form5.Show
Unload Me
End Sub
24
Private Sub Form_Load()
dbopen
Combo1.AddItem ("Male")
Combo1.AddItem ("Female")
End Sub
Unload Me
Form5.Show
End Sub
25
Customer Exit:-
Dim hr, min As Integer
End Sub
dbopen
Dim rs As ADODB.Recordset
hr = Hour(Time)
min = Minute(Time)
en_hr = Hour(rs.Fields(0))
en_min = Minute(rs.Fields(0))
If (min = 0) Then
money = 0
Else
26
money = 30
End If
End If
End Sub
rmv_itm = Val(Combo1.Text)
Dim rs As ADODB.Recordset
pcno = rs.Fields(4)
rs.Fields(2) = Time
hr = Hour(Time)
min = Minute(Time)
en_hr = Hour(rs.Fields(1))
en_min = Minute(rs.Fields(1))
en_hr = en_hr + 1
Else
End If
27
hr = 12 + hr
End If
s_hr = hr - en_hr
rs.Update
rs.Close
Combo1.RemoveItem (rmv_itm)
Combo1.Refresh
rs.Fields(1) = "0"
rs.Update
Unload Me
Form5.Show
Else
End If
End Sub
Unload Me
Form5.Show
End Sub
dbopen
Dim rs As ADODB.Recordset
28
rs.Open "select cid from trans where time_spent=0", db,
adOpenDynamic, adLockOptimistic
rs.MoveFirst
Combo1.AddItem rs.Fields("cid")
rs.MoveNext
Loop
rs.Close
End Sub
Unload Me
Form5.Show
End Sub
Status Form:-
29
Private Sub Command1_Click()
Unload Me
Form5.Show
End Sub
dbopen
Dim rs As ADODB.Recordset
rs.MoveFirst
End Sub
Unload Me
Form5.Show
End Sub
30
Conclusion
Bibliography
31
(References)
32