Gad 2

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 20

A

MICRO PROJECT REPORT ON


“TRAFFIC SIGNAL USING VB.NET”
FOR THE DIPLOMA IN COMPUTER ENGINEERING
SUBMITTED BY
DAUD RENUKA BALASAHEB
KULKARNI MRUNAL MAKARAND
LAKADE VAISHNAVI MANOHAR
UNDER THE GUIDANCE OF
Mrs S. I. Narode
DEPARTMENT OF COMPUTER ENGINEERING
CSMSS COLLEGE OF POLYTECHNIC, AURANGABAD
MAHARASHTRA, INDIA

AND
MAHARASHTRA STATE BOARD OF TECHNICAL
EDUCATION, MUMBAI

ACADEMIC YEAR 2021-22

Created with
PDFBear.com
/

CERTIFICATE

This is to certify that Following Students of Fourth Semester of Diploma in


Computer Engineering of Institute CSMSS College of Polytechnic (code:1152)
have completed the Micro Project satisfactorily in subject GUI Application
Development using VB.Net (22034) for the academic year 2021-2022 as prescribed
in the curriculum.

Place:
Aurangabad
Date:

Sr.no Name of the students Enrollment no.

1 DAUD RENUKA BALASAHEB 2011520053

2 KULKARNI MRUNAL MAKARAND 2011520085

3 LAKADE VAISHNAVI MANOHAR 2011520088

ROJECT GUIDE HEAD OF DEPARTMENT

PRINCIPAL

Created with
PDFBear.com
/

ACKNOWLEDGEMENT

We would like to express our thanks to the people who have helped us most
throughout our project. We would like to express our sincere thanks to the principal of
CSMSS College of Polytechnic Dr. G.B. Dongre for being always with us as a
motivator. We are thankful to the H.O.D Mr. S.U. Kakde of Computer Engineering
Department for his kind support. We are grateful to our Project Guide Mrs. S. I.
Narode for nonstop support and continuous motivation for the project. Her help made
us possible to complete our project with all accurate information. A special thanks of
our goes to our friends who helped us in completing the project, where they all
exchanged their own interesting ideas. We wish to thanks our parents for their
personal support or attention who inspired us to go our own way. Finally, we would
like to thank God who made all things possible for us till the end.

Sr. Name of Students Sign


No.
1 DAUD RENUKA BALASAHEB

2
KULKARNI MRUNAL MAKARAND

3
LAKADE VAISHNAVI MANOHAR

Created with
PDFBear.com
/

••••••••••••••••••••••••••••••••• INDEX ••••••••••••••••••••••••••••••••••••

1. MICRO - PROJECT PROPOSAL ...................................................1 - 2

2. RATIONALE ..........................................................................................3

3. AIMS / BENEFITS OF THE MICRO - PROJECT............................... 4

4. LITERATURE REVIEW ............................................................... 5 - 11

5. ACTUAL PROCEDURE FOLLOWED ............................................. 12

6. OUTPUT OF THE MICRO - PROJECT ....................................... 13-14

7. SKILL DEVELOPED / LEARNING OUTCOMES


OF MICRO-PROJECT ....................................................................... 15

8. APPLICATIONS OF MICRO - PROJECT .......................................16

Created with
PDFBear.com
/

1. MICRO – PROJECT PROPOSAL

TITLE: Traffic signal using VB.net

1.0 AIMS /BENEFITS OF THE MICRO PROJECT –

➢ This system is used to indicate


traffic signal lights.

2.0 COURSE OUTCOMES ADDRESSED -

1. Use visual studio IDE to design application.

2. Develop GUI application using form controls and its events.

3.0 PROPOSED METHODOLOGY:


01. Basic information about visual studio.

02. Basic information about VB.NET tools.

03. Basic information about difference between windows and console based application.

4.0 ACTION PLAN:

Sr. Details of Activities Planned Planned Name of


No. StartDate Finish Date Responsible
Team
Member
1 Decide subject for micro project. 20/02/22 28/02/22 All
2 Preparation and submission of 05/03/22 15/03/22 All
Abstract.
3 Collection of data. 16/03/22 31/03/22 All
4 Discussion and outline 02/04/22 10/04/22 All
of Content.
5 Formulation of content. 15/04/22 20/04/22 All
6 Editing of Content. 25/04/22 30/04/22 All
7 Final submission of
Micro-Project.

1
Created with
PDFBear.com
/

5.0 RESOURCES REQUIRED:

Sr. Name of Resource Specifications Qutantiy Remarks


/Material
No
1 Computer RAM minimum 1
2GB,i3 -i5
preferable
2 Operating Windows 7 / XP / LINUX 1
System
3 Internet Google
4 Software Visual Studio 2008

❖ NAMES OF TEAM MEMBER WITH ROLL NO :

Sr. Name of Students Roll no


no.
1 DAUD RENUKA BALASAHEB 12

2 KULKARNI MRUNAL MAKARAND 43

3 LAKADE VAISHNAVI MANOHAR 46

Approved by,

Mrs. S. I. Narode

Created with
PDFBear.com
/

2. RATIONALE

VB.NET is the programming language based on object-oriented concept which is


prominently used to develop GUI based applications. Graphical user interface (GUI) based
application include various user-friendly control to accept or display data. This course will give
the student and in-depth understanding of the concept use in vb.net and necessary skills to used
programming techniques to develop .NET based application and deploy to same.

Created with
PDFBear.com
/

3.AIMS / BENEFITS OF THE MICRO PROJECT

❖ Micro - Project aims at

➢ To this get knowledge of VB.NET.

➢ To get information about GUI based application.

➢ To know about different components of toolbox in VB.NET.

❖ Benefits of project:

➢ We learn about different components of toolbox.

➢ We learn about how to insert timer in windows based application.

➢ We learn how to insert image in windows based application.

Created with
PDFBear.com
/

4.LITERATURE REVIEW

❖ Introduction to VB.NET:

The VB.NET stands for Visual Basic. Network Enabled Technologies. It is a


simple, high-level, object-oriented programming language developed by Microsoft in
2002. It is a successor of Visual Basic 6.0 that is implemented on the Microsoft .NET
framework. Furthermore, it supports the OOPs concept, such as abstraction,
encapsulation, inheritance, and polymorphism. Therefore, everything in the VB.NET
language is an object, including all primitive data types (Integer, String, char, long, short,
Boolean, etc.), user-defined data types, events, and all objects that inherit from its base
class. It is not a case sensitive language, whereas, C++, Java, and C# are case sensitive
language.

• VB.NET Features
➢ It is an object-oriented programming language that follows various oops concepts such as
abstraction, encapsulation, inheritance, and many more. It means that everything in
VB.NET programming will be treated as an object.
➢ This language is used to design user interfaces for window, mobile, and web-based
applications.
➢ It supports a rapid application development tool kit. In which a developer does not need to
write all the codes as it can get various code automatically from its libraries. For example,
when we create a form in Visual basic.net, it automatically calls events of various form in
that class.
➢ It is not a case sensitive language like other languages such as C++, java, etc.
➢ It supports Boolean condition for decision making in programming.
➢ It also supports the multithreading concept, in which you can do multiple tasks at the same
time.
➢ It provides simple events management in .NET application.
➢ A Window Form enables us to inherit all existing functionality of form that can be used to
create a new form. So, in this way, it reduced the code complexity
5

Created with
PDFBear.com
/

• VB.NET PictureBox Control

PictureBox control is used to display the images on Windows Form. The PictureBox control
has an imageproperty that allows the user to set the image at runtime or design time.

Let's create a PictureBox control in the VB.NET

Windows
form using the following steps.

Step 1: We have to find the PictureBox control from the toolbox and then drag and drop the
PictureBox controlonto the window form, as shown below.

Step 2: Once the PictureBox is added to the form, we can set various properties of the image
by clicking on thePictureBox control

6
Created with
PDFBear.com
/

• Properties of the PictureBox

There are following properties of the VB.NET PictureBox control.

Property Description

BackColor It is used to set the background color for the PictureBox in the window form.

BackgroundImage It is used to set the background image of a window form by setting or getting value in the
picture box.

ErrorImage The ErrorImage property is used to display an image if an error occurs while loading an image
on a window form.

InitialImage The initial image is used to display an image on the PictureBox when the main image is loaded
onto a window form by setting a value in the PictureBox control.

WaitOnLoad It represents whether the particular image is synchronized or not in the PictureBox control.

Text It is used to set text for the picture box controls in the window form.

Image The image property is used to display the image on the PictureBox of a Windows form.

BorderStyle It is used to set the border style for the picture box in the windows form.

ImageLocation It is used to set or get the path or URL of the image displayed on the picture box of the window
form.

IsMirrored It obtains a value that determines whether the picture box control is mirrored.

7
Created with
PDFBear.com
/

• VB.NET Timer Control

The timer control is a looping control used to repeat any task in a given time interval. It is an
importantcontrol used in Client-side and Server-side programming, also in Windows Services.

Furthermore, if we want to execute an application after a specific amount of time, we can use
the TimerControl. Once the timer is enabled, it generates a tick event handler to perform any
defined task in its time interval property. It starts when the start() method of timer control is
called, and it repeats the defined task continuously until the timer stops.

Let's create a Timer control in the VB.NET Windows form by using the following steps.

Step 1: Drag and drop the Timer control onto the window form, as shown below.

Step 2: Once the Timer is added to the form, we can set various properties of the Timer by
clicking on the Timercontrol.

8
Created with
PDFBear.com
/

• Methods of Timer Control

Methods Description

BeginInt() The BeginInt() method is used to start run time initialization of a timer controlused on
a form or by another component.

Dispose() The Dispose() method is used to free all resources used by the Timer Control or
component.

Dispose(Boolean) I is used to release all resources used by the current Timer control.

Close() T he Close() method is used to release the resource used by the Timer Control.

Start() The Start() method is used to begin the Timer control's elapsed event by settingthe
Enabled property to true.

EndInt() The EndInt() method is used to end the run time initialization of timer controlthat is
used on a form or by another component.

Stop() The Stop() method is used to stop the timer control's elapsed event by settingEnabled
property to fal

• Events of Timer Control

Events Description

Disposed When control or component is terminated by calling the Dispose method, a Dispose
event occurs.

Elapsed When the interval elapses in timer control, the Elapsed event has occurred.

Tick A tick event is used to repeat the task according to the time set in the Interval property.
It is the default event of a timer control that repeats the task between the Start() and
Stop() methods.

Created with
PDFBear.com
/

• Advantages of VB.NET

o The VB.NET executes a program in such a way that runs under CLR (Common
Language Runtime), creating a robust, stable, and secure application.
o It is a pure object-oriented programming language based on objects and classes.
However, these features are not available in the previous version of Visual Basic 6. That's
why Microsoft launched VB.NET language.
o Using the Visual Studio IDE, you can develop a small program that works faster, with a
large desktop and web application.
o The .NET Framework is a software framework that has a large collection of libraries,
which helps in developing more robust applications.
o It uses drop and drag elements to create web forms in .NET applications.
o However, a Visual Basic .NET allows to connect one application to another application
that created in the same language to run on the .NET framework.
o A VB.NET can automatically structure your code.
o The Visual Basic .NET language is also used to transfer data between different layers of
the .NET architecture such that data is passed as simple text strings.

10

Created with
PDFBear.com
/

• Disadvantages of VB.NET
1. The VB.NET programming language is unable to handle pointers directly. Because in
this language, it requires a lot of programming, and it is not easy to manage every address
by a pointer. Furthermore, additional coding takes extra CPU cycles, that increases the
processing time. It shows the slowness of the VB.NET application.
2. The VB.NET programming is easy to learn, that increases a large competition between
the programmers to apply the same employment or project in VB.NET. Thus, it reduces a
secure job in the programming field as a VB.NET developer.
3. It uses an Intermediate Language (IL) compilation that can be easily decompiled (reverse
engineered), but there is nothing that can prevent an application from disintegrating.
4. Just-In-Time (JIT) compiler: It is the process through which a computer can interpret IL
(intermediate language) compilation and is also required to run your application. It means
that the target computer needs a JIT compiler to interpret a source program in IL, and this
interpretation requires an additional CPU cycle that degrades the performance of an
application.
5. It contains a large collection of libraries for the JIT compiler that helps to interpret an
application. These large libraries hold a vast space in our system that takes more
computing time.

11
Created with
PDFBear.com
/

5. ACTUAL PROCEDURE FOLLOWED

Public Class Form1

Private Sub Timer1_Tick (sender As Object, e As EventArgs) Handles Timer1.TickIf


PictureBox1.Visible Then
PictureBox1.Visible = False
PictureBox2.Visible = True
PictureBox3.Visible = False ElseIf
PictureBox2.Visible Then
PictureBox1.Visible = False
PictureBox2.Visible = False
PictureBox3.Visible = True ElseIf
PictureBox3.Visible Then
PictureBox1.Visible=True
PictureBox2.Visible=False
PictureBox3.Visible = False
End If
End Sub
Private Sub Form1_Load (sender As Object, e As EventArgs) Handles
MyBase.LoadTimer1.Enabled = True
Timer1.Interval = 1600
PictureBox1.Visible = True
PictureBox2.Visible = False
PictureBox3.Visible = False
End Sub
Private Sub PictureBox2_Click (sender As Object, e As EventArgs) Handles
PictureBox2.Click
End Sub
End Class

12

Created with
PDFBear.com
/

6. OUTPUT OF MICROPROJECT

Created with
PDFBear.com
/

14

Created with
PDFBear.com
/

7. DEVELOPED / LEARNING OUTCOMES OF MICRO-


PROJECT:

1. Communication
2. Leadership
3. Team management
4. Negotiation
5. Personal organization
6. Risk management
7. Critical thinking
8. Task management
9. Working with team
10.Logic development
11. Solving logical problem
12. Error handling

15

Created with
PDFBear.com
/

8. APPLICATIONS OF MICRO – PROJECT

➢ PictureBox control is used to display the images on Windows Form. The PictureBox
control has an image property that allows the user to set the image at runtime or
design time.
➢ The timer control is a looping control used to repeat any task in a given time interval.
➢ The Timer Control allows us to set Interval property in milliseconds
➢ PictureBox is used to display graphics from a bitmap, metafile, icon, JPEG, GIF, or PNG file.

16

Created with
PDFBear.com

You might also like