UNIT-I Overview of GUI Programming
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.
- 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.
VB.NET Features?
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.
- 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.
VB.NET Programming by Mr. Vishal Jadhav Sir’s (VJTech Academy, contact us: +91-9730087674) 1
,UNIT-I Overview of GUI Programming
- 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.
Advantages of VB.NET?
- 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.
- The VB.NET executes a program in such a way that runs under CLR (Common Language
Runtime), creating a robust, stable, and secure application.
- 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.
- Using the Visual Studio IDE, you can develop a small program that works faster, with a large
desktop and web application.
- 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.
- 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.
- 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. It is useful to
develop web, window, and mobile applications
VB.NET Programming by Mr. Vishal Jadhav Sir’s (VJTech Academy, contact us: +91-9730087674) 2
, UNIT-I Overview of GUI Programming
DisAdvantages of VB.NET:
- 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.
- 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.
- 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.
- 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.
- 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.
VB.NET Keywords:
A keyword is a reserved word with special meanings in the compiler, whose meaning cannot be
changed. Therefore, these keywords cannot be used as an identifier in VB.NET programming such as
class name, variable, function, module, etc.
AddHandler AddressOf Alias And AndAlso As
Boolean ByRef Byte ByVal Call Case
Catch CBool CByte CChar CDate CDbl
CDec Char Cint Class CLng CObj
Const Continue CSByte CShort CSng CStr
CType CUnit CULng CUShort Date Decimal
VB.NET Programming by Mr. Vishal Jadhav Sir’s (VJTech Academy, contact us: +91-9730087674) 3
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.
- 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.
VB.NET Features?
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.
- 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.
VB.NET Programming by Mr. Vishal Jadhav Sir’s (VJTech Academy, contact us: +91-9730087674) 1
,UNIT-I Overview of GUI Programming
- 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.
Advantages of VB.NET?
- 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.
- The VB.NET executes a program in such a way that runs under CLR (Common Language
Runtime), creating a robust, stable, and secure application.
- 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.
- Using the Visual Studio IDE, you can develop a small program that works faster, with a large
desktop and web application.
- 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.
- 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.
- 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. It is useful to
develop web, window, and mobile applications
VB.NET Programming by Mr. Vishal Jadhav Sir’s (VJTech Academy, contact us: +91-9730087674) 2
, UNIT-I Overview of GUI Programming
DisAdvantages of VB.NET:
- 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.
- 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.
- 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.
- 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.
- 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.
VB.NET Keywords:
A keyword is a reserved word with special meanings in the compiler, whose meaning cannot be
changed. Therefore, these keywords cannot be used as an identifier in VB.NET programming such as
class name, variable, function, module, etc.
AddHandler AddressOf Alias And AndAlso As
Boolean ByRef Byte ByVal Call Case
Catch CBool CByte CChar CDate CDbl
CDec Char Cint Class CLng CObj
Const Continue CSByte CShort CSng CStr
CType CUnit CULng CUShort Date Decimal
VB.NET Programming by Mr. Vishal Jadhav Sir’s (VJTech Academy, contact us: +91-9730087674) 3