Types of applications developed by VB.Net

Ratings:
(4)
Views: 0
Banner-Img
Share this blog:

VB.Net is a programming language developed by Microsoft in the 90s. It is a data-driven, object-oriented programming language that can be used to develop different types of applications such as windows applications, web applications and web services.

Types of applications that can be developed using VB.Net:

  • Console applications
  • Windows forms applications
  • Class library
  • Windows control library
  • Windows services
  • Net website
  • Net web services
  • WCF services
  • Silver light applications
  • Workflow applications

Console applications:

Whenever an application accepts the input from console and projects the output on the console then such type of applications are called console applications. Where console is a device which has the capability to accept the information and also to display the data

Structure of VB.Net console application:

1st method [default]:

Comments . . . . .

Imports statements . . . .

Module Module name

Sub main ( )

Statement(s) to execute . . . .

End sub

End module

2nd method:

Comments

Imports statements   . . . .

Class   Class name

[Public] shared sub main ( )

Statement(s) . . . . .

End sub

End class

Note: VB.Net is not the case-sensitive language but it is line sensitive language.

  Console applications  

System: It is the root namespace for any .Net application Where a namespace can be considered as a collection of classes in a hierarchy such that the class definitions can be accessed easily  

Console: It is a class that provides members to project the data and to accept the data.  

Write: It is a method to project data on console.  

Write Line: It is a method used to project data by appending a newline character at the end of information.  

Read: It is used to accept angle character.  

Read Line: It is used to read a single line of information i.e. accept the characters until the users press the enter key. 

Want to acquire industry skills and gain complete knowledge of VB.Net? Enroll in Instructor-Led live VB.Net Training to become Job Ready!

Developing a console application using VS.Net (visual studio .Net):

  Console application  

Prg:

My first VB .Net program

Imports system

Module first program

Sub main ( )

Console.WriteLine (“Welcome to VB.Net”)

End sub

End module

Untitled To execute console application

prg  

After selection press ctrl + F5

Untitled To add a new program to the console application [already existing]

prg  

Imports system

Class VB Intro

Public shared sub main ( )

Console.WriteLine (“VB.Net is very easy to learn yet a powerful language”)

End sub

End class

For an in-depth knowledge, click on below

You liked the article?

Like: 3

Vote for difficulty

Current difficulty (Avg): Medium

EasyMediumHardDifficultExpert
IMPROVE ARTICLEReport Issue

About Author

Authorlogo
Name
TekSlate
Author Bio

TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.

Stay Updated
Get stories of change makers and innovators from the startup ecosystem in your inbox