S.
K COLLEGE LOHANDA SIKANDRA (JAMUI)
A CONSTITUENT UNIT OF MUNGER UNIVERSITY ,MUNGER
MUNGER UNIVERSITY
MUNGER
PROJECT DOCUMENTATION
b.c.a 405
BCA project submitted as partial fulfillment for the award of degree
of
Bachelors of Computer Application (BCA 4th Sem)
Session:-2021-2024
Submitted by:
Ayush Ashish (521280006)
Rohit kumar (521280028)
Under Guidance: Abshek panday (521280035)
Niraj kumar (521280020)
[Link] Kumar B.C.A (4th semester)
(Senior Faculty) Session 2021-2024
SUBJECT:- VISUAL BASIC 6.0 TRAFFIC SIGNAL
Visual basic 1st project in VB 6.0
OPEN THE VISUAL BASIC 6.0
Microsoft visual basic design name different type
File
A file is a collection of bytes stored on the disk with a given name (called as filename).
Every development tool provides access to these files on the disk. In this chapter we will
understand how to access and manipulate files using Visual Basic.
There are three special controls, called as File controls, which deal with files and directories.
We will also understand how to use these controls in this chapter.
File handling
The following are three important steps in handling a file.
Opening the file
Processing the file, i.e. either reading the content of the file or writing the required
data into file or both.
Closing the file
Defining new terms
Record: one logical section of a file that holds a related set of data. If the
file contains Student information, a record would hold the information on one
student: name, address, studentID, etc. If there are 5,000 students registered, the
file contains 5,000 records.
Field: part of a record that defines a specific information. In the Student
record, FirstName, LastName, StudentID, are fields. The field is the lowest element
in the file. Even if the information consists of one character, Sex is M or F, it is still
considered a separate field. The field is the equivalent of the variable - we call it a
variable when it is used to store data in memory and call it a field when it stores in
a file.
I/O: stands for Input/Output. Whenever you work with a file you have to
have ways of reading data from the file (that'sInput) and ways of writing data to
the file (that's Output). I/O operations consist of all those commands that let you
read and write files.
Types of files
There are basically three types of files you can work with:
Sequential file: this is a file where all the information is written in order
from the beginning to the end. To access a given record you have to read all the
records stored before it. It is in fact like listening to a tape - you can go forward or
back but you can't jump directly to a specific song on the tape. In fact, in the old
days, magnetic tape was the most commonly used medium to store data and all
files were organized this way. Now, it is still useful when there is a small amount of
data to store, a file of application settings, for example. It can even be of use when
there is a large amount of data to be stored, provided it all has to be processed at
one time, eg: a file of invoices to produce a statement at month-end.
Random file: a file where all records are accessible individually. It is like a
CD where you can jump to any track. This is useful when there is a large quantity
of data to store and it has to be available quickly: you have to know if a part is in
stock for a customer who is on the phone; the program doesn't have time to search
through 10,000 records individually to locate the correct one. This method of
storage became popular when hard-disk drives were developed.
Binary file: this is a special, compacted form of the random file. Data is
stored at the byte level and you can read and write individual bytes to the file. This
makes the file access very fast and efficient. We won't be covering this type of file
in these exercises. If you need to find out more about it, go to the VB Reference
Manual.
Access Mode
For Mode in the Open statement indicates how the file will be used. There are five
access modes:
Input: open for sequential input; the file will be read sequentially starting at
the beginning.
Output: open for sequential output; records will be written sequentially
starting at the beginning; if the file does not exist, it is created; if it does exist, it is
overwritten.
Random: open for random read and write; any specific record can be
accessed.
Append: sequential output to the end of an existing file; if the file does not
exist it is created; it does not overwrite the file.
Binary: open for binary read and write; access is at byte level.
If access mode is not specified in the Open statement, For Random is used by
default.
Edit
Use the EDIT command to enter data into the system. With EDIT and its
subcommands, you can create, modify, store, submit, retrieve, and delete data
sets with sequential or partitioned data set organization.
Edit and Continue is a feature for Visual Basic debugging that enables you
to change your code while it is executing in Break mode. After code edits
have been applied, you can resume code execution with the new edits in place
and see the effect
.
View
Project
Format
Debug
Run
Query
Diagram
Tools
Add-line
Window
Help
File – A file is a collection of data stored in a disk with a
specific name and a directory path . when a file is
opened for reading or writing , it becomes a stream the
stream is basically the sequence of byte passing
through the communication path.
Similarly , everyone ‘s work is different I will try to
solve the task that I will do.
Following are the names of all the designs to make the
project good.
Add standard exe project
Add form
Menu editor
Open project
Save project group
Cut
Copy
Paste
Find
Undo
Redo
Start
Break
End
Project explorer
Properties window
Form layout window
Object browser
Tool box
Data view window
Visual component browser
I will create the project using the toolbox
Component of tool box
Pointer
Picture box
Label
Text box
Frame
Command button
Check box
Option button
Combo box
List box
Hscrollbar
Vscrollbar
Timer
DriveListbox
DriListbox
FileLIstbox
Shape
Line
Image
Data
OLE
Standard exe open
File function
Edit function
View
Project
Format
Debug function
I use visual basic in my system that’s how I am showing
the following
Device name LAPTOP-GVMSSKLV
Processor 11th Gen Intel(R)
Core(TM) i3-1115G4 @ 3.00GHz 3.00 GHz
Installed RAM 8.00 GB (7.75 GB usable)
Device ID 155F0D9C-8139-4D25-
A216-E044BF8A637F
Product ID 00327-36337-97916-
AAOEM
System type 64-bit operating system,
x64-based processor
Pen and touch No pen or touch input is
available for this display
Edition Windows 11 Home Single
Language
Version 22H2
Installed on 11-11-2022
OS build 22621.1105
Experience Windows Feature
Experience Pack 1000.22638.1000.0
Manufacturer HP
BASIC PROJECT BASIC POINT : START IN VISUAL
Open the google chrome search the search bar
bottom
Type the Download visual basic 6.0 click on the
search bottom
Open the interface in visual basic install free for
windows
Click here install compilate or open the visual basic
exe file
Set the path in computer user according setup the
system
Setup compilate open the visual basic click on
standard exe
Open form1
click on toolbox
click on line
draw the 1st line in form 1 state line
click on line
draw the 2nd line in form 1 state line
Click on line
Draw the 3rd line in form 1 down side
Click on line
Draw the 4th line in form 1 up side
Select the all line or click on properties window
Change the Border birth 4 size border birth
Click on shapes 1st and draw the shape go to
window properties or select the circle exist work
according
Click on shapes 2nd draw the shape go to window
properties or select the circle exist work according
Click on shapes 3rd and draw the shape go to
window properties or select the circle exist work
according
Select the 1st circle go to properties select the
border width 4
Select the 2nd circle go to properties select the
border width 4
Select the 3rd circle go to properties select the
border width 4
Select the 1st circle and go to back color chose the
red color back style is change transparent to opaque
fill color is red
Select the 2nd circle and go to back color chose the
yellow color back style is change transparent to
opaque fill color is yellow
Select the 3rd circle and go to back color chose the
green color back style is change transparent to
opaque fill color is green
Stan to erect a pillar
Click on toolbox
Chose the line tool draw the form 1 in down in
scroll in earth area
Click on properties select the border width 4
Click on shape tool
Draw the shape
Chose the backstyle opaque
Fill the back color in brown
Dig into the earth
So that it can stand on the pole
Those Who can explain the guidelines means
arrange it at the crossroads.
Explain the computer screenshot represent the practical
situation .
Private Sub Timer1_Timer()
Static state As Integer
Select Case state
Case 0
[Link] = vbRed
[Link] = vbWhite
[Link] = vbWhite
[Link] = "stop"
[Link] = 3000
state = 1
Case 1
[Link] = vbWhite
[Link] = vbYellow
[Link] = vbWhite
[Link] = "WAIT"
[Link] = 4000
state = 2
Case 2
[Link] = vbWhite
[Link] = vbWhite
[Link] = vbGreen
[Link] = "GO"
[Link] = 5000
state = 0
End Select
End Sub
RUN TIME PROJECT IN VISUAL BASIC 6.0
Coding section
Click on toolbox select the Timer
Draw the timer in form 1 and double click on timer
open the coding section
start the code in coding section
WHAT IS THE IMORTANCE OF TRAFFIC LIGHT IN LIFE
DESCRIBE IT ?
Traffic lights – also known as traffic signals traffic lamps traffic
beacons , signal lights, and stop lights and technically known
as traffic control signals, are signaling devices used at road
instructions pedestrians Deployed at crossings and other place
To control traffic congestion
Genially use in traffic light tree color in all depart traffic
o Red color
o Yellow color
o Green color
That is called traffic light signal represent use on the highway
road and rural road
At present, this light is being used everywhere. And now my
work is over .
Thank you very much , you have seen
my presentation very well
S.K COLLEGE LOHANDA SIKANDRA (JAMUI)
A CONSTITUENT UNIT OF MUNGER UNIVERSITY ,MUNGER
MUNGER UNIVERSITY
MUNGER
PROJECT DOCUMENTATION
b.c.a 405
BCA project submitted as partial fulfillment for the award of degree
of
Bachelors of Computer Application (BCA 4th Sem)
Session:-2021-2024
Submitted by:
Under Guidance: Ayush Ashish (521280006)
[Link] Kumar Rohit kumar (521280028)
Abshek panday (521280035)
(Senior Faculty) Niraj kumar (521280020)
B.C.A (4th semester)
Session 2021-2024
SUBJECT:- VISUAL BASIC 6.0 DIGITAL WATCH
I use visual basic in my system that’s how I am showing
the following
Device name LAPTOP-GVMSSKLV
Processor 11th Gen Intel(R)
Core(TM) i3-1115G4 @ 3.00GHz 3.00 GHz
Installed RAM 8.00 GB (7.75 GB usable)
Device ID 155F0D9C-8139-4D25-
A216-E044BF8A637F
Product ID 00327-36337-97916-
AAOEM
System type 64-bit operating system,
x64-based processor
Pen and touch No pen or touch input is
available for this display
Edition Windows 11 Home Single
Language
Version 22H2
Installed on 11-11-2022
OS build 22621.1105
Experience Windows Feature
Experience Pack 1000.22638.1000.0
Manufacturer HP
Visual basic 2nd project in VB 6.0
OPEN THE VISUAL BASIC 6.0
Microsoft visual basic design name different type
File
A file is a collection of bytes stored on the disk with a given name (called as filename).
Every development tool provides access to these files on the disk. In this chapter we will
understand how to access and manipulate files using Visual Basic.
There are three special controls, called as File controls, which deal with files and directories.
We will also understand how to use these controls in this chapter.
File handling
The following are three important steps in handling a file.
Opening the file
Processing the file, i.e. either reading the content of the file or writing the required
data into file or both.
Closing the file
Defining new terms
Record: one logical section of a file that holds a related set of data. If the
file contains Student information, a record would hold the information on one
student: name, address, studentID, etc. If there are 5,000 students registered, the
file contains 5,000 records.
Field: part of a record that defines a specific information. In the Student
record, FirstName, LastName, StudentID, are fields. The field is the lowest element
in the file. Even if the information consists of one character, Sex is M or F, it is still
considered a separate field. The field is the equivalent of the variable - we call it a
variable when it is used to store data in memory and call it a field when it stores in
a file.
I/O: stands for Input/Output. Whenever you work with a file you have to
have ways of reading data from the file (that'sInput) and ways of writing data to
the file (that's Output). I/O operations consist of all those commands that let you
read and write files.
Types of files
There are basically three types of files you can work with:
Sequential file: this is a file where all the information is written in order
from the beginning to the end. To access a given record you have to read all the
records stored before it. It is in fact like listening to a tape - you can go forward or
back but you can't jump directly to a specific song on the tape. In fact, in the old
days, magnetic tape was the most commonly used medium to store data and all
files were organized this way. Now, it is still useful when there is a small amount of
data to store, a file of application settings, for example. It can even be of use when
there is a large amount of data to be stored, provided it all has to be processed at
one time, eg: a file of invoices to produce a statement at month-end.
Random file: a file where all records are accessible individually. It is like a
CD where you can jump to any track. This is useful when there is a large quantity
of data to store and it has to be available quickly: you have to know if a part is in
stock for a customer who is on the phone; the program doesn't have time to search
through 10,000 records individually to locate the correct one. This method of
storage became popular when hard-disk drives were developed.
Binary file: this is a special, compacted form of the random file. Data is
stored at the byte level and you can read and write individual bytes to the file. This
makes the file access very fast and efficient. We won't be covering this type of file
in these exercises. If you need to find out more about it, go to the VB Reference
Manual.
Access Mode
For Mode in the Open statement indicates how the file will be used. There are five
access modes:
Input: open for sequential input; the file will be read sequentially starting at
the beginning.
Output: open for sequential output; records will be written sequentially
starting at the beginning; if the file does not exist, it is created; if it does exist, it is
overwritten.
Random: open for random read and write; any specific record can be
accessed.
Append: sequential output to the end of an existing file; if the file does not
exist it is created; it does not overwrite the file.
Binary: open for binary read and write; access is at byte level.
If access mode is not specified in the Open statement, For Random is used by
default.
Edit
Use the EDIT command to enter data into the system. With EDIT and its
subcommands, you can create, modify, store, submit, retrieve, and delete data
sets with sequential or partitioned data set organization.
Edit and Continue is a feature for Visual Basic debugging that enables you
to change your code while it is executing in Break mode. After code edits
have been applied, you can resume code execution with the new edits in place
and see the effect
.
View
Project
Format
Debug
Run
Query
Diagram
Tools
Add-line
Window
Help
File – A file is a collection of data stored in a disk with a
specific name and a directory path . when a file is
opened for reading or writing , it becomes a stream the
stream is basically the sequence of byte passing
through the communication path.
Similarly , everyone ‘s work is different I will try to
solve the task that I will do.
Following are the names of all the designs to make the
project good.
Add standard exe project
Add form
Menu editor
Open project
Save project group
Cut
Copy
Paste
Find
Undo
Redo
Start
Break
End
Project explorer
Properties window
Form layout window
Object browser
Tool box
Data view window
Visual component browser
I will create the project using the toolbox
Component of tool box
Pointer
Picture box
Label
Text box
Frame
Command button
Check box
Option button
Combo box
List box
Hscrollbar
Vscrollbar
Timer
DriveListbox
DriListbox
FileLIstbox
Shape
Line
Image
Data
OLE
BASIC PROJECT BASIC POINT : START IN VISUAL
Open the google chrome search the search bar
bottom
Type the Download visual basic 6.0 click on the
search bottom
Open the interface in visual basic install free for
windows
Click here install compilate or open the visual basic
exe file
Set the path in computer user according setup the
system
Setup compilate open the visual basic click on
standard exe
Open form1
Click on tool properties
Select the label
Draw the form 1 label1
Select the label
Draw the form 1 label2
Select the label
Draw the form 1 label3
Select the label
Draw the form 1 label4
Select the label
Draw the form 1 label5
Editing the label and font and font color
User according existing in the label
Label name changeable user according change
Change color in form in black
Go to form properties select the back color
Chose the black color fill the color
Exist the user according label
Fill the name label
Click on timer
Draw the timer and double click on timer open the coding
section change the default interval 0 to 1
Double click on timer open the coding section type the coding
Second project in visual basic completed
THANK YOU