Anda di halaman 1dari 26

GHARDA INSTITUTE OF TECHNOLOGY

(AFFILIATED TO MUMBAI UNIVERSITY, APPROVED BY AICTE)

A
PROJECT REPORT
ON
AUTOMOBILE DATABASE

Submitted To
Department of Information Technology
By
ABHIJIT MANOHAR

Exam No.:B2- 28

RAJAN KUMAR K GUPTA

Exam No.:B1- 17

FAROOKH S KUPE

Exam No.:B2- 24

Academic Year (2010-2011)

CERTIFICATE

This is to certify that the preliminary project report entitled


AUTOMOBILE DATABASE
Submitted by
ABHIJIT MANOHAR

Exam No.:B2- 28

RAJAN KUMAR K GUPTA

Exam No.:B1- 17

FAROOKH S KUPE

Exam No.:B2- 24

Is a bonafide work carried out by us under the guidance of Prof. Snehal Mangle
and it is approved for the partial fulfillment of the requirement of Mumbai
University, for the completion of term work in the subject of DATABASE
TECHNOLOGIES for the Academic year 2010-11.
(IT- SEM-VI).

Prof. Snehal Mangle

Prof. S. Latkar

Lecturer,

Head,

Department of IT

Department of IT

INDEX

Contents:
ACKNOWLEDGEMENT
SCOPE
TECHNOLOGY
ER DIAGRAM
PROGRAMMING FORM
LIMITATION AND FUTURE ENHANCEMENT

BIBILOGRAPHY

ACKNOWLEDGEMENT

Our group would like to express our gratitude and heartfelt thanks to our
project guide, Prof. Snehal Mangle for her whole hearted co-operation extended
to us throughout the duration of development of the project.
Her constant support and encouragement has increased the moral of all the
members of our group. In case of any problem, all staff members were always
there to guide us and clear our queries. They also guided us to correct our
mistakes.
We would like to thank Prof. Mr. S. Latkar, Head of Department, for being
very supportive and co-operative to us and for providing all the required
information and help whenever we needed them.
We would like to thank our Co-Guide Prof. Snehal Mangle who helped us by
giving the suggestions and finding errors in our project during the development
of the project. The group project activity helped us understanding the importance
of the teamwork.
Your valuable work has indeed helped our project AUTOMOBILE
DATABASE great success in all.

SCOPE OF THE PROJECT


This project has all the necessary requirements so that it upset
the user who uses it. Our project is different from other projects in the

sense it gives a user-friendly interface to log in & store various info.


This project is designed such that user will get the data easily &
efficiently. This project is easy to use& a user can give his/her
feedback.

TECHNOLOGY USED
HARDWARE REQUIRMENT:
Minimum server configuration
1. 128 MB RAM
2. 40 GB hard disk

3. Pentium-III processor or Higher.


SOFTWARE USED:
1. Front End: Visual Basic 6.0
2. Back End: Sql Server

ER DIAGRAM

APPLICATION LOADING FORM

This form shows the loading/Initialization of Application.

CODE

Private Sub Frame1_DragDrop(Source As Control, X As Single, Y As


Single)
End Sub
Private Sub Timer1_Timer()
a=a+1
b=b+1
If a >= 10 Then
If b = 100 Then
Timer1.Enabled = False
Unload Me
frmLogin.Show
Exit Sub
End If
ProgressBar1.Value = b
Label2.Caption = b & "%"
End If
' If ProgressBar1.Value = ProgressBar1.Max Then
'Unload Me
'frmLogin.Show
'Else
'ProgressBar1.Value = ProgressBar1.Value + 1
'End If

End Sub

LOGIN FORM

In this form user can put username and password for login into the
application.

CODE
Private Sub cmdOK_Click()
If txtPassword = "auto" And txtUserName = "auto" Then
LoginSucceeded = True
MDIForm1.Show
MDIForm1.WindowState = 2
Else
MsgBox "Invalid Password, try again!", , "Login"
txtPassword.SetFocus
SendKeys "{Home}+{End}"
End If
End Sub

MDI FORM

This is MDI form for showing the menu options for selecting the
particular vehicle type for purchase, to know about the developer of
this application and the exit from the application.

CODE
Private Sub mnuGETZ_Click()
Form4.Show
Form4.WindowState = 2
End Sub
Private Sub mnuMagna_Click()
Form5.Show
Form5.WindowState = 2
End Sub
Private Sub mnuPulsar1_Click()
Form1.Show
Form1.WindowState = 2
End Sub

Private Sub mnuPulsar2_Click()


Form2.Show
Form2.WindowState = 2
End Sub
Private Sub mnuPulsar3_Click()
Form3.Show
Form3.WindowState = 2
End Sub
Private Sub mnuVerna_Click()
Form6.Show
Form6.WindowState = 2
End Sub

PRODUCT DETAILS FORM

This form show all the information for selected vehicle like model
number, Rating, Price,etc.
CODE
Private Sub Command1_Click()
Form9.Text8.Text = "1"
Form9.Text5.Text = "150DTSi"
Form9.Text6.Text = "15001"
Form9.Text7.Text = "62000"
Form1.Hide
Form9.Show
Form9.WindowState = 2
End Sub
Private Sub Command2_Click()
MDIForm1.Show
MDIForm1.WindowState = 2

End Sub
Private Sub Form_Load()
con.ConnectionString = "Provider=SQLOLEDB.1;Integrated
Security=SSPI;Persist Security Info=False;Initial Catalog=auto"
con.Open
End Sub
Private Sub Picture1_Click()
Form2.WindowState = 2
End Sub

PRODUCT REGISTRATION FORM

This form allows to fill all the details about the user like Name,
Address, Contact, E-Mail ID, etc.

CODE

Dim con As New ADODB.Connection


Dim rs As New ADODB.Recordset
Dim str As String
Private Sub Command1_Click()
'Form9.Hide
Form11.Show
Form11.WindowState = 2
Form11.Text1 = Text1.Text
Form11.Text3 = Text6.Text
Form11.Text4 = Text7.Text

str = "insert into


register1(cust_name,address,contact,email_id,product_name,model_
no,rate) values (' " & Text1.Text & " ',' " & Text2.Text & " ',' " &
Text3.Text & " ',' " & Text4.Text & " ',' " & Text5.Text & " ',' " &
Text6.Text & " ',' " & Text7.Text & " ')"
Set rs = con.Execute(str)
End Sub
Private Sub Command2_Click()
MDIForm1.Show
MDIForm1.WindowState = 2
End Sub
Private Sub Command3_Click()
MDIForm1.Show
MDIForm1.WindowState = 2
End Sub
Private Sub Form_Load()
con.ConnectionString = "Provider=SQLOLEDB.1;Integrated
Security=SSPI;Persist Security Info=False;Initial Catalog=auto"
con.Open
End Sub

RECIEPT FORM

This is the Receipt form which shows the pricing details, Name and Mode of Payment
for selected vehicle.

CODE
Private Sub Command1_Click()
Dialog.Show
End Sub
Private Sub Form_Load()
Text6.Text = Format$(Now, "dd-mm-yy")
Text7.Text = Format$(Now, "hh:mm:ss AM/PM")
End Sub
'Private Sub Label4_Click()
'Label4.Caption =
'End Sub
'Private Sub Text5_Change()

'Form9.Option1.
'End Sub
Private Sub Frame1_DragDrop(Source As Control, X As Single, Y As Single)
End Sub
Private Sub Text2_Change()
End Sub

PRODUCT DESIGN DETAILS

This form shows the details for the Interior design, and model of
vehicle.

CODE
Private Sub Command1_Click()
Form7.Show
Form7.WindowState = 2
End Sub

PRODUCT DETAILS

In this form all the details for selected vehicle will be displayed in
pdf form.

CODE
Dim con As New ADODB.Connection
Dim rs As New ADODB.Recordset
Dim str As String
Private Sub Command1_Click()
Form9.Text8.Text = 4
Form9.Text5.Text = "GETZ PRIME"
Form9.Text6.Text = "98901"
Form9.Text7.Text = "550000"
Form7.Hide
Form9.Show
Form9.WindowState = 2
End Sub

Private Sub Command2_Click()


MDIForm1.Show
MDIForm1.WindowState = 2
End Sub
Private Sub Form_Load()
con.ConnectionString = "Provider=SQLOLEDB.1;Integrated
Security=SSPI;Persist Security Info=False"
con.Open
End Sub

REGISTRATION FORM

CODE
Dim con As New ADODB.Connection
Dim rs As New ADODB.Recordset
Dim str As String
Private Sub Command1_Click()
'Form9.Hide
Form11.Show
Form11.WindowState = 2
Form11.Text1 = Text1.Text
Form11.Text3 = Text6.Text
Form11.Text4 = Text7.Text
str = "insert into
register1(cust_name,address,contact,email_id,product_name,model_
no,rate) values (' " & Text1.Text & " ',' " & Text2.Text & " ',' " &

Text3.Text & " ',' " & Text4.Text & " ',' " & Text5.Text & " ',' " &
Text6.Text & " ',' " & Text7.Text & " ')"
Set rs = con.Execute(str)
End Sub
Private Sub Command2_Click()
MDIForm1.Show
MDIForm1.WindowState = 2
End Sub
Private Sub Command3_Click()
MDIForm1.Show
MDIForm1.WindowState = 2
End Sub
Private Sub Form_Load()
con.ConnectionString = "Provider=SQLOLEDB.1;Integrated
Security=SSPI;Persist Security Info=False;Initial Catalog=auto"
con.Open
End Sub

REGISTRATION RECIEPT

CODE

Private Sub Command1_Click()


Dialog.Show
End Sub
Private Sub Form_Load()
Text6.Text = Format$(Now, "dd-mm-yy")
Text7.Text = Format$(Now, "hh:mm:ss AM/PM")
End Sub

CONFIRMATION MESSAGE FORM

This window shows the confirmation of the shopping of selected


vehicle.

CODE
Option Explicit
Private Sub Command1_Click()
MDIForm1.Show
End Sub

BIBLOGRAPHY

1.VB Black Book


2.Database System Sudarshan Korth
3.www.google.com
4.www.wikepedia.com

Anda mungkin juga menyukai