faqts : Computers : Programming : Languages : Visual basic : Visual basic .NET

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

4 of 5 people (80%) answered Yes
Recently 4 of 5 people (80%) answered Yes

Entry

Visual Basic.NET: How to create new console application in Microsoft Visual Studio Visual Basic.NET?

Jan 10th, 2004 12:29
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 10 January 2004 - 09:14 pm --------------------

Visual Basic.NET: How to create new console application in Microsoft 
Visual Studio Visual Basic.NET?

---

Steps: Overview:

 1. -Start Microsoft Visual studio

 2. -click button 'New Project'
     or 'File'->'New'->'Project'

 3. -select from list 'Visual Basic Projects'
     in the left pane

 4. -possibly change the default name and the path of this project

     e.g.

      Name = ConsoleApplication1

      Location = c:\temp\visualbasicnet

                 (change this to your own choice)

 5. -double click on icon
     'Console application'
     in the right pane

 6. -This will generate a template
     to fill in your source code

e.g.

--- cut here ---------------------------------------------------------

Module Module1

    Sub Main()

    End Sub

End Module

--- cut here ---------------------------------------------------------

 7. Fill in some source code

--- cut here ---------------------------------------------------------

Module Module1

    Sub Main()

     Console.Write( "Hello World from Visual Basic.NET" )

    End Sub

End Module

--- cut here ---------------------------------------------------------


 8. Run your source code

    1. Press <F5>

 9. You should see then an MSDOS screen with your
    application

    (showing shortly "Hello World from Visual Basic.NET")

---
---

Internet: see also:

---

Microsoft:Visual Studio: Project: Create: New: Can you give overview? 
[console / windows / Internet]
http://www.faqts.com/knowledge_base/view.phtml/aid/28187/fid/1600

----------------------------------------------------------------------