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

GAD

A
Micro-Project
On

Extension File Converter


Submitted To

MSBTE
In Partial Fulfilment of Requirement of
Diploma in Computer Engineering
Under I Scheme
Submitted By
MR. VAIBHAV PRAMOD DESAI.
MR. SHUBHAM SHASHIKANT WAINGADE
MR. KUNAL SUNILKUMAR GUNJAL
MR. DIPAK BHAGU PATIL.

Under the Guidance Of


MR. S. A. SAWANT

FOR ACADEMIC YEAR 2023-2024

YASHWANTRAO BHONSALE INSTITUTE OF TECHNOLOGY,


SAWANTWADI.

1|Page
GAD

MAHARASHTRA STATE BOARD OF


TECHNICAL EDUCATION

CERTIFICATE
This is to certify that, Roll No

Mr. Vaibhav Pramod Desai. 45


Mr. Shubham Shashikant Waingade. 46
Mr. Kunal Sunilkumar Gunjal 56
Mr. Dipak Bhagu Patil 62

Of Forth semester of diploma in COMPUTER ENGINEERING Of institute


Yashwantrao Bhonsale Institute of Technology (1742) have completed the Micro
Project satisfactorily in subject GUI Application Development Using Vb.Net
(22034) for the academic year 2023 to 2024 as prescribed in the curriculum.

………………. ………………... ………………..


Subject Faculty HOD Principal

Seal of
Institute

2|Page
GAD

Index
Sr. Name Page
no no.
1. 4.
What is VB.NET
2. 5.
VB.NET Features
3. 6.
Advantages of VB.NET
4. 7.
Disadvantages of VB.NET
5. 7.
Component Used
6. Code 9.

7. Output 10.

8. CONCLUSION 11.

9. SUGGESTED LEARNING RESOURCES 12.

10. Reference links 12.

3|Page
GAD

Introduction

➢ What is 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.

Applications built using the VB.NET language are very reliable and scalable, relying
on the .NET Framework to access all libraries that help to execute a VB.NET
program. With this language, you can develop a fully object-oriented application that
is similar to an application created through another language such as C++, Java, or
C#. In addition, applications or programs of VB.NET are not only running on the
window operating system but can also run on Linux or Mac OS.

The VB.NET language is designed in such a way that any new beginner or novice
and the advanced programmer can quickly develop a simple, secure, robust, high
performance of web, windows, console, and mobile application running on .NET
Framework.

4|Page
GAD

➢ VB.NET Features

As we know, it is a high-level programming language with many features to develop


a secure and robust application. These are the following features that make it the
most popular programming language.

• 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. o 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. o 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.
• It uses an external object as a reference that can be used in a VB.NET
application. Automatic initialized a garbage collection. It follows a structured
and extensible programming language for error detection and recovery.
Conditional compilation and easy to use generic classes. It is useful to develop
web, window, and mobile applications.

5|Page
GAD

➢ Advantages of VB.NET
• 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.
• 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.
• 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.
• It uses a new concept of error handling in the Visual Basic .NET Framework.
The new structure is the try, catch, and finally method used to handle
exceptions as a unit. In addition, it allows appropriate action to be taken at the
place where it encountered an error. In this way, it discourages the use of the
ON ERROR GOTO statement in .NET programming.

6|Page
GAD

➢ 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.

7|Page
GAD

➢ Applications of VB.NET

• Windows console mode applications


• Standard Windows applications
• Windows services
• Windows controls and Windows control libraries
• Web (ASP.NET) applications
• Web services
• Web controls and web control libraries
• .NET classes and namespaces
• Accessing application object models (such as those of the

8|Page
GAD

➢ Components used

• Button: -
Button control is used to perform a click event in Windows Forms, and it can be
clicked by a mouse or by pressing Enter keys. It is used to submit all queries of the
form by clicking the submit button or transfer control to the next form. However, we
can set the buttons on the form by using drag and drop operation.

• Textbox: -
A Textbox control is used to display, accept the text from the user as an input, or
a single line of text on a VB.NET Windows form at runtime. Furthermore, we
can add multiple text and scroll bars in textbox control. However, we can set the
text on the textbox that displays on the form.

• Windows form application:-


Windows Forms is a UI framework for building Windows desktop apps. It provides
one of the most productive ways to create desktop apps based on the visual designer
provided in Visual Studio. Functionality such as drag-and-drop placement of visual
controls makes it easy to build desktop apps.
A Windows Forms application is an event-driven application supported by
Microsoft’s. NET Framework. Unlike a batch program, it spends most of its time
simply waiting for the user to do something, such as fill in a text box or click a
button.

• Label: -
In VB.NET, a label control is used to display descriptive text for the form in control.
It does not participate in user input or keyboard or mouse events. Also, we cannot
rename labels at runtime. The labels are defined in the class System Windows Form
namespace.

9|Page
GAD

➢ Code
Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles Button1.Click
Dim browse As New OpenFileDialog
If browse.ShowDialog = DialogResult.OK Then
TextBox1.Text = browse.FileName
End If
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles Button2.Click
Dim extensionFile As String = ComboBox1.Text
MsgBox(TextBox1.Text + " is changed into a " + extensionFile + " file.")
Dim oldFile As String = Mid(TextBox1.Text, 1, Len(TextBox1.Text) - 4)
FileCopy(TextBox1.Text, oldFile + extensionFile)
End Sub

Private Sub Form1_Load(By Val sender As System. Object, By Val e As System. EventArgs)
Handles MyBase.Load
ComboBox1.Items. Add(".png")
ComboBox1.Items. Add(".jpg")
ComboBox1.Items. Add(".RAW")
ComboBox1.Items. Add(".PSD")
End Sub
End Class

10 | P a g e
GAD

➢ Output

11 | P a g e
GAD

➢ CONCLUSION

Extension file converter simply means converting data from one file format to
another file format.The presence of many built- in classes methods take care of much
functionality and reduce the job of coding as well as makes the implementation
simpler. We have implemented the project making it user-friendly and error free as
possible. The project has been successfully completed but further it could have been
enhanced we learnt a lot of new things while doing the project, which can prove very
useful in the software field. By user's point of view, the MS Visual Studio software
is very easy to use. Also it is the most widely used application in interaction.

12 | P a g e
GAD

➢ REFERENCE

➢ Reference links

a) https://en.wikipedia.org/wiki/Media_player_software
b) https://www.mygreatlearning.com/vb-net/tutorials

c) https://www.tutorialspoint.com/vb.net/vb.net_overview.htm#
%20Basic%20.,not%20compile%20under%20VB.NET.e.
https://www.khanacademy.org/

13 | P a g e

You might also like