Group Discounts available for 3+ students and Corporate Clients

Types of applications that can be developed using VB.Net

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
  • Work flow 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 as console applications.

Where console is a device which has a 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.

 

Screenshot_19

 

System:

It is the root name space 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 which 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 new line character at the end of information.

 

Read:

It is used to accept single character.

 

Read Line:

It is used to read a single line of information i.e. accepts the characters till the users press the enter key.

 

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

 

Screenshot_20

 

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

Screenshot_21

 

After selection press ctrl + F5

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

Screenshot_22

 

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

“At TekSlate, we are trying to create high quality tutorials and articles, if you think any information is incorrect or want to add anything to the article, please feel free to get in touch with us at info@tekslate.com, we will update the article in 24 hours.”

0 Responses on Types of applications that can be developed using VB.Net"

    Leave a Message

    Your email address will not be published. Required fields are marked *

    Support


    Please Enter Your Details and Query.
    Three + 6