For a console app, here is the code, save it as a .vb file
' Allow easy reference to the System namespace classes.
Imports System
' This module houses the application's entry point.
Public Module modmain
' Main is the application's entry point.
Sub Main()
' Write text to the console.
Console.WriteLine ("Hello World using Visual Basic!")
End Sub
End Module
now to compile it with command line look here
http://msdn.microsoft.com/library/en...lerOptions.asp
Now go get sharpdevelop, it is easier
http://www.icsharpcode.net/OpenSource/SD/Default.aspx
Hope this helps
Publicjoe
C# Tutorial at
http://www.publicjoe.f9.co.uk/csharp/tut.html
C# Snippets at
http://www.publicjoe.f9.co.uk/csharp/snip/snippets.html
"Andy Sutorius" <an**@sutorius.com> wrote in message
news:Sf*******************@twister.southeast.rr.co m...
Do you know what namespaces need to imported to produce a console "Hello
World" program?
I have vbc registered in the system variables however have run across what
namespaces are required by VB.NET to compile.
Thanks
Andy Sutorius