Anda di halaman 1dari 56

TABLE OF CONTENTS

S.No. Title Page No.

1 Objective of the Project 1-2

2 Theoretical Background of Project 3-5

3 Definition of Problem 6-7

4 System Analysis and Design 8-9

5 Hardware and Software Requirement 10-11

6 Plate form Specification 12-13

7 DFD 14-16

8 E-R Diagram 17-18

9 Data Base Design 19-20

10 Input and Output Screen Design 21-25

11 Coding 26-48

12 Limitation and future Scope 49-50

13 Conclusion 51-53

14 References 54-55

0
Chapter 1
Objective of the Project

1
Objective of project:-
CHHATTISHGARH TOURISM BOARD System is
developed to fulfill the requirement of Travels Agencies for Tourist.

The main objective of this package is to maintain


CHHATTISHGARH TOURISM BOARD System specially the part and help
the manager with various types of reports like Details Travels Package Booking
and Luggage.

The S/W is developed keeping the requirement of the Management


in mind, making his work convenient & Easy manage the Travels Agencies.

2
Chapter 2
Theoretical Background of Project

3
Validation checks:-

The software must implement following checks.

1. The user’s password must be encrypted and not visible while typing as
the user interface.
2. The connection is already set up with database so the user dose not has to
set connection every time the user enters.
3. The date is accepted in dd/mm/yyyy form. If the user passes mmm then
the validation check gets activated and converts it into correct format.
4. The combo box should not be left empty. The validation check gets
activated.
5. The name accepted in character format only.
6. The item is not saved unless its description is complete.
7. As soon as the gem is accepted the validation check gets activated and all
the shapes and cents available of the gem are displayed.

4
Start of Project:-

With project information crept in many doubts regarding the project's database,
front -end, etc. We started thinking about Oracle's database as our Back-end and
Visual Basic 6.0as our Front-end.

But soon we realized that it wouldn’t be portable from one machine to other.
Now what?

One whole day just passed thinking on this topic. We figured out many
ways to backup the data and add portability to it, but all in vein...

Then we came up with an idea of using DBASE III as our back end but
soon this also failed. Finally with the help of staff members of our college we
decided to go for Microsoft Access. Connecting a database to the front-end was
also a big problem. Walking through DAO, RDO and ADO we finally reached
ADODC connection, which was working fine with the database. Printing and
report generation were also the problems that encountered. During this time we
went back to the company for the approval of their interface but more problems
pooled in. The program didn't work there at all. The reason finally depicted was
the lack of setup file (which contains all appropriate runtime DLLs) might have
caused the problems, which was easy to fix.

5
Chapter 3
Definition of Problem

6
Definition of Problem:-

While developing the software, we faced many major and minor problems.
Initially, we were not able to connect the database to the front end and faced
some problems related to the connectivity and the consistency of the database.
Then it was very difficult to print the REPORT, as a required printer driver was
not available. Similarly we could not manipulate the Report Page size.

During deployment, Project didn't work as expected, which helped us to figure


out that program can't be ported to client's machine without setup file as the
program was running fine on our machine but we were unable to run it on the
client's machine in absence of appropriate runtime DLL’s (Dynamic Link
Libraries). The most exasperating problem was to print the form thus making it
impossible for us to work further.

We took the help of all the possible people we could ask them for, and with
their assistance we came out in triumph.

7
Chapter 4
System Analysis and Design

8
PROJECT ANALYSIS:-

First form

First form contains the Login Password of the project. In this form the user has
to type his or her required password.

Second form

Second form displays the home page of the program which contains five menus
through which user can view the information about different form and
manipulate the database.

Third form

Third form contains Customer Registration which needs customer


information’s.

Fourth form

Fourth form displays the registration of travel vehicles i.e., BUS. It ask for
details about the BUS by which customer will travel.

Fifth forms

Fifth forms displays the registration of travel vehicles i.e., CAR. It asks for
details about the CAR by which customer will travel.

Sixth form

Sixth form contains the different places for travel and vacations. It contains the
information about the locations.

Seventh form

Seventh form displays the information’s of all the customers who registered in
our travel agency.

9
Chapter 5
Hardware and Software Requirement

10
HARDWARE & SOFTWARE SPECIFICTION:-

The following are the minimum requirement for the smooth and
successful running of the module.
Hardware :-

Hardware requirement :-

 Microprocessor - Intel Dual Core or above

 Hard Disk - Min 500GB/1 TB for operating System &


program to setup properly

 Memory - 2GB Ram

 Display - CGA/VGA or higher.

 Key Board - 84/109 Keys use

 Mouse - Any standard mouse

 Printer - Any Laser printer

Software requirement :-
 Operating system: MS Windows 7 or higher
 RDBMS: MS Access 2007
 GUI tool: MS. Visual Basic6.0

11
Chapter 6
Plate form Specification

12
Plate form Specification:-

The minimum software requirement for developing the software “Electronic


Showroom” is as follows:-

Operating System: Windows 7

Front End : Visual Basic 6.0

Back End : MS Access 2007

13
Chapter 7
DATA FLOW DIAGRAM

14
DATA FLOW DIAGRAM

0 Level Dataflow Diagram

PLACES /
Customer Details Travel By
LOCATIONS

Car

Bus

15
01 Level Dataflow Diagram

place

Tour Templ
e

Seet Seet

Total data

Reports

For

Booking

luggage

Reports for

16
Chapter 8
ER-DIAGRAM

17
09:-ER Diagram

ac

mileage
color

maxsheet
BOOKIN
G
C Nane
C per eat

Bus no

BOOKED

BOOK

C ID J DATE

CUSTOMER INFO

ADDR

C ID

LOCATION INFO

LOCATION
C name

18
Chapter 9
Data Base Design

19
Design:-
1. Table Design :-
Customer info:-

Field Name Data Type


C ID Text
C Address Text
Journey Date Text

Location info :-

Field Name Data Type


CID Number
locations Text
custName Text

Travel By Bus /Car :-

Field Name Data Type


bus no Text
cust name Text
Color Text
ac Text
millege Number
maxsheet Number
charges per seat Number

20
Chapter 10
Input And Output Screen Design

21
2. Screen Design

22
23
24
25
Chapter 11
Coding

26
Source code

Private Sub Combo1_Change()

End Sub

Private Sub Command1_Click()


Adodc1.Recordset.Update
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Text1.Text = ""
Text3.Text = ""
Text5.Text = ""
Text6.Text = ""
MsgBox "Submitted"

End Sub

Private Sub Command2_Click()


Unload Me
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew
End Sub

Private Sub List1_Click()

End Sub

Private Sub Combo1_Change()

End Sub

Private Sub Command1_Click()


Adodc1.Recordset.Update
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Text1.Text = ""
Text3.Text = ""

27
Text5.Text = ""
Text6.Text = ""
MsgBox "Submitted"

End Sub

Private Sub Command2_Click()


Unload Me
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew
End Sub

Private Sub List1_Click()

End Sub

Private Sub Text1_Change()

End Sub

Private Sub Combo1_Change()

End Sub

Private Sub Combo2_Change()

End Sub

Private Sub Command1_Click()


Adodc1.Recordset.Update
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Text1.Text = ""
Text3.Text = ""
Text5.Text = ""
Text6.Text = ""
MsgBox "Submitted"

End Sub

Private Sub Command2_Click()

28
Unload Me
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew
End Sub

Private Sub List1_Click()

End Sub

Private Sub Text1_Change()

End Sub

Private Sub Combo1_Change()

End Sub

Private Sub Combo2_Change()

End Sub

Private Sub Combo3_Change()

End Sub

Private Sub Command1_Click()


Adodc1.Recordset.Update
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Text1.Text = ""
Text3.Text = ""
Text5.Text = ""
Text6.Text = ""
MsgBox "Submitted"

End Sub

Private Sub Command2_Click()


Unload Me
End Sub

29
Private Sub Form_Load()
Adodc1.Recordset.AddNew
End Sub

Private Sub List1_Click()

End Sub

Private Sub Text1_Change()

End Sub

Private Sub Combo1_Change()

End Sub

Private Sub Combo2_Change()

End Sub

Private Sub Combo3_Change()

End Sub

Private Sub Command1_Click()


Adodc1.Recordset.Update
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Text1.Text = ""
Text3.Text = ""
Text5.Text = ""
Text6.Text = ""
MsgBox "Submitted"

End Sub

Private Sub Command2_Click()


Unload Me
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew
End Sub

30
Private Sub List1_Click()

End Sub

Private Sub Text1_Change()

End Sub

Private Sub Text6_Change()

End Sub

Private Sub Combo1_Change()

End Sub

Private Sub Combo2_Change()

End Sub

Private Sub Combo3_Change()

End Sub

Private Sub Command1_Click()


Adodc1.Recordset.Update
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Text1.Text = ""
Text3.Text = ""
Text5.Text = ""
Text6.Text = ""
MsgBox "Submitted"

End Sub

Private Sub Command2_Click()


Unload Me
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew

31
End Sub

Private Sub List1_Click()

End Sub

Private Sub Text1_Change()

End Sub

Private Sub Text5_Change()

End Sub

Private Sub Text6_Change()

End Sub

Private Sub Combo1_Change()

End Sub

Private Sub Combo2_Change()

End Sub

Private Sub Combo3_Change()

End Sub

Private Sub Command1_Click()


Adodc1.Recordset.Update
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Text1.Text = ""
Text3.Text = ""
Text5.Text = ""
Text6.Text = ""
MsgBox "Submitted"

End Sub

32
Source code

Private Sub Combo1_Change()

End Sub

Private Sub Command1_Click()


Adodc1.Recordset.Update
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Text1.Text = ""
Text3.Text = ""
Text5.Text = ""
Text6.Text = ""
MsgBox "Submitted"

End Sub

Private Sub Command2_Click()


Unload Me
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew
End Sub

Private Sub List1_Click()

End Sub

Private Sub Combo1_Change()

End Sub

Private Sub Command1_Click()


Adodc1.Recordset.Update
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Text1.Text = ""
Text3.Text = ""

33
Text5.Text = ""
Text6.Text = ""
MsgBox "Submitted"

End Sub

Private Sub Command2_Click()


Unload Me
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew
End Sub

Private Sub List1_Click()

End Sub

Private Sub Text1_Change()

End Sub

Private Sub Combo1_Change()

End Sub

Private Sub Combo2_Change()

End Sub

Private Sub Command1_Click()


Adodc1.Recordset.Update
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Text1.Text = ""
Text3.Text = ""
Text5.Text = ""
Text6.Text = ""
MsgBox "Submitted"

End Sub

Private Sub Command2_Click()

34
Unload Me
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew
End Sub

Private Sub List1_Click()

End Sub

Private Sub Text1_Change()

End Sub

Private Sub Combo1_Change()

End Sub

Private Sub Combo2_Change()

End Sub

Private Sub Combo3_Change()

End Sub

Private Sub Command1_Click()


Adodc1.Recordset.Update
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Text1.Text = ""
Text3.Text = ""
Text5.Text = ""
Text6.Text = ""
MsgBox "Submitted"

End Sub

Private Sub Command2_Click()


Unload Me
End Sub

35
Private Sub Form_Load()
Adodc1.Recordset.AddNew
End Sub

Private Sub List1_Click()

End Sub

Private Sub Text1_Change()

End Sub

Private Sub Combo1_Change()

End Sub

Private Sub Combo2_Change()

End Sub

Private Sub Combo3_Change()

End Sub

Private Sub Command1_Click()


Adodc1.Recordset.Update
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Text1.Text = ""
Text3.Text = ""
Text5.Text = ""
Text6.Text = ""
MsgBox "Submitted"

End Sub

Private Sub Command2_Click()


Unload Me
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew
End Sub

36
Private Sub List1_Click()

End Sub

Private Sub Text1_Change()

End Sub

Private Sub Text6_Change()

End Sub

Private Sub Combo1_Change()

End Sub

Private Sub Combo2_Change()

End Sub

Private Sub Combo3_Change()

End Sub

Private Sub Command1_Click()


Adodc1.Recordset.Update
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Text1.Text = ""
Text3.Text = ""
Text5.Text = ""
Text6.Text = ""
MsgBox "Submitted"

End Sub

Private Sub Command2_Click()


Unload Me
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew

37
End Sub

Private Sub List1_Click()

End Sub

Private Sub Text1_Change()

End Sub

Private Sub Text5_Change()

End Sub

Private Sub Text6_Change()

End Sub

Private Sub Combo1_Change()

End Sub

Private Sub Combo2_Change()

End Sub

Private Sub Combo3_Change()

End Sub

Private Sub Command1_Click()


Adodc1.Recordset.Update
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Text1.Text = ""
Text3.Text = ""
Text5.Text = ""
Text6.Text = ""
MsgBox "Submitted"

End Sub
Private Sub Command2_Click()
Unload Me

38
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew
End Sub
Private Sub Combo1_Change()

End Sub

Private Sub Combo2_Change()

End Sub

Private Sub Combo3_Change()

End Sub

Private Sub Combo4_Change()

End Sub

Private Sub Command1_Click()


Adodc1.Recordset.Update
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Combo4.Text = ""
Text3.Text = ""
Text5.Text = ""
Text6.Text = ""
MsgBox "Submitted"
End Sub

Private Sub Command2_Click()


Unload Me
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew
End Sub

Private Sub Text6_Change()

End Sub
Private Sub Combo1_Change()

39
End Sub

Private Sub Combo2_Change()

End Sub

Private Sub Combo3_Change()

End Sub

Private Sub Combo4_Change()

End Sub

Private Sub Command1_Click()


Adodc1.Recordset.Update
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Combo4.Text = ""
Text3.Text = ""
Text5.Text = ""
Text6.Text = ""
MsgBox "Submitted"
End Sub

Private Sub Command2_Click()


Unload Me
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew
End Sub

Private Sub Text5_Change()

End Sub

Private Sub Text6_Change()

End Sub
Private Sub Combo1_Change()

End Sub

40
Private Sub Combo2_Change()

End Sub

Private Sub Combo3_Change()

End Sub

Private Sub Combo4_Change()

End Sub

Private Sub Command1_Click()


Adodc1.Recordset.Update
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Combo4.Text = ""
Text3.Text = ""
Text5.Text = ""
Text6.Text = ""
MsgBox "Submitted"
End Sub

Private Sub Command2_Click()


Unload Me
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew
End Sub

Private Sub Text5_Change()

End Sub

Private Sub Text6_Change()

End Sub
Private Sub Combo1_Change()

End Sub

Private Sub Combo2_Change()

41
End Sub

Private Sub Combo3_Change()

End Sub

Private Sub Combo4_Change()

End Sub

Private Sub Command1_Click()


Adodc1.Recordset.Update
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Combo4.Text = ""
Text3.Text = ""
Text5.Text = ""
Text6.Text = ""
MsgBox "Submitted"
End Sub

Private Sub Command2_Click()


Unload Me
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew
End Sub

Private Sub Text3_Change()

End Sub

Private Sub Text5_Change()

End Sub

Private Sub Text6_Change()

End Sub
Private Sub Combo1_Change()

End Sub

42
Private Sub Combo2_Change()

End Sub

Private Sub Combo3_Change()

End Sub

Private Sub Combo4_Change()

End Sub

Private Sub Command1_Click()


Adodc1.Recordset.Update
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Combo4.Text = ""
Text3.Text = ""
Text5.Text = ""
Text6.Text = ""
MsgBox "Submitted"
End Sub

Private Sub Command2_Click()


Unload Me
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew
End Sub

Private Sub Text3_Change()

End Sub

Private Sub Text5_Change()

End Sub

Private Sub Text6_Change()

End Sub
Private Sub Combo1_Change()

43
End Sub

Private Sub Combo2_Change()

End Sub

Private Sub Combo3_Change()

End Sub

Private Sub Combo4_Change()

End Sub

Private Sub Command1_Click()


Adodc1.Recordset.Update
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Combo4.Text = ""
Text3.Text = ""
Text5.Text = ""
Text6.Text = ""
MsgBox "Submitted"
End Sub

Private Sub Command2_Click()


Unload Me
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew
End Sub

Private Sub Text3_Change()

End Sub

Private Sub Text5_Change()

End Sub
Private Sub Text6_Change()

End Sub

44
Private Sub Adodc1_WillMove(ByVal adReason As
ADODB.EventReasonEnum, adStatus As ADODB.EventStatusEnum, ByVal
pRecordset As ADODB.Recordset)

End Sub

Private Sub Combo1_Change()

End Sub

Private Sub Combo2_Change()

End Sub

Private Sub Combo3_Change()

End Sub

Private Sub Combo4_Change()

End Sub

Private Sub Command1_Click()


Adodc1.Recordset.Update
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Combo4.Text = ""
Text3.Text = ""
Text5.Text = ""
Text6.Text = ""
MsgBox "Submitted"
End Sub

Private Sub Command2_Click()


Unload Me
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew
End Sub

Private Sub Text3_Change()

End Sub

45
Private Sub Text5_Change()

End Sub

Private Sub Text6_Change()

End Sub
Private Sub Command1_Click()
Adodc1.Recordset.Update
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
MsgBox "You are successfully registered", vbOKOnly, REGISTRATION

End Sub

Private Sub Command2_Click()


Unload Me
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew
End Sub

Private Sub Text1_Change()


End Sub
Private Sub Text4_Change()

End Sub
Private Sub Command1_Click()
Adodc1.Recordset.Update
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
MsgBox "You are successfully registered", vbOKOnly, REGISTRATION

End Sub

Private Sub Command2_Click()


Unload Me

46
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew
End Sub

Private Sub Text1_Change()

End Sub

Private Sub Text2_Change()

End Sub

Private Sub Text3_Change()

End Sub

Private Sub Text4_Change()

End Sub
Private Sub Command1_Click()
Adodc1.Recordset.Update
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
MsgBox "You are successfully registered", vbOKOnly, REGISTRATION

End Sub

Private Sub Command2_Click()


Unload Me
End Sub

Private Sub Form_Load()


Adodc1.Recordset.AddNew
End Sub

Private Sub Text1_Change()

End Sub

Private Sub Text2_Change()

47
End Sub

Private Sub Text3_Change()

End Sub

Private Sub Text4_Change()

End Sub
Private Sub Command1_Click()
Adodc1.Recordset.Update
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
MsgBox "You are successfully registered", vbOKOnly, REGISTRATION

End Sub

48
Chapter 12

Limitation and future Scope

49
Limitation and future Scope :-
While developing the software, we faced many major and minor problems.
Initially, we were not able to connect the database to the front end and faced
some problems related to the connectivity and the consistency of the database.
Then it was very difficult to print the REPORT, as a required printer driver was
not available. Similarly we could not manipulate the Report Page size.

 During deployment, Project didn't work as expected, which helped us to


figure out that program can't be ported to client's machine without setup file
as the program was running fine on our machine but we were unable to run it
on the client's machine in absence of appropriate runtime DLL’s (Dynamic
Link Libraries). The most exasperating problem was to print the form thus
making it impossible for us to work further.
 We took the help of all the possible people we could ask them for, and with
their assistance we came out in triumph

50
Chapter 13
Conclusion

51
CONCLUSIONS
It was a wonderful and learning experience for us while working on this
project. This project took us through the various phases of project development
and gave us real insight into the world of software engineering. The joy of
working as a team and the thrill involved while tackling while tackling the
various problems and adopting to the requirements put forward to us by the
customer, gave us a feel of the developers industry.

It was due to this project we came to know how professional software


software’s are designed and what precautions should be taken. We also found
that it not just the task of an individual, rather a team work, which helped us in
making a firm grip on Visual Basic 6.0

The project has laid the path to the depth of the subject, that requires a
thorough study and in which an Engineering student have flair of proficiency.
We have left no stone unturned while developing this software and making it
easy to understand, easy to navigate through the forms and re-cycling.

We enjoyed each and every bit of work we have put into this
project and its successful completion has given us our credit

52
LIMITATION AND SCOPE:-

CHHATTISHGARH TOURISM BOARD


System is developed keeping all the requirements of organization in mind. At
present it fulfils almost all the requirement. But as for growing organization, it
is difficult to exactly predict what they need in future, so it cannot be predicted
that this software will meet their requirement in future also without any up
gradation in our software.

As the project is developed in VB and Access any number of tables can be


included to store different data and any number of VB forms can be included to
design user interface.

As the software is properly documented it will not be difficult for any


programmer to update this software.

Any number of reports and graph can be added as and when required.

The date format is Properly handled as per Indian Date Nomenclature.

Further up gradation is possible in this software.

In the later stage this S/W can be made online so that the manager can view all
the updations from his office.

The CHHATTISHGARH TOURISM BOARD System could be made


automatically further at the current stage is made manually and further the entry
is made in to the S/W. This is because the people making the fees collections
are not literate enough to handle the computer. In future it is expected that this
problem could be solved effectively & easily.

53
Chapter 14
References

54
BIBLIOGRAPHY

1. Beginner’s Guide to VB 6.0


… Rita Sahu

2. Programming in Visual Basic VB 6.0

… Sumita Arora

3.Mastering in VB

… Evangels Petroutsos

4. Database Programming in VB 6.0


… Roger Jennings

55

Anda mungkin juga menyukai