* New post Constructor Destructor and Inheritance& Array , Virtual base class in c++ language

Sunday, 24 February 2013

0 CONSOLE VB.NET

A console program  has no graphics .It is text .It is easy to develop .It can  uses few resources and is efficient.It will not any visual design but it will accomplish an processing tasks .
These application are command-line based and run in DOS windows.This gives one the feeling once again that vb.net is following the lead of java ,because java application run in DOS windows in windows.However the change is a welcome one, because it provides us with an option for very simple programming ,without worrying about user interface implementation and issues.
             CREATING A CONSOLE VB.NET APPLICATION
To  use the File|New|Project menu item to open the new project menu item ,and select console application in the templates box .
when you create the new project in this case because there is no user interface ,vb opens the project directly to a code window.
                       

                           THE CODE HERE LOOK LIKE THIS:
Module Modulel 
Sub Main (),
End Sub
End Module

EXAMPLE

Simple program for console application

Module Modulel
sub main(),
Console. WriteLine ("hello")
end sub
end module

output 

hello




0 comments:

Post a Comment

 

PROGRAMMINGqueen Copyright © 2011 - |- Template created by O Pregador - |- Powered by Blogger Templates

Blogger Widgets