Hey Cander,

I've been researching on how I can compile simple vb.net console with the commandline compiler... To write a computing contest at my school, i need to bring in a pc to code with. The laptop that i own is an ancient 233 mhz, 32mb ram machine, so i've given up hope of running vs.net on that machine...

Really, my only other option is to code in notepad, install the .NET framework on that machine, and use the command-line compiler to compile the .vb files i make...

So far, this is what i have in my console .vb file:

VB Code:
  1. Module HelloWorld
  2.  
  3.     Sub Main()
  4.         Console.WriteLine("Hello World!")
  5.     End Sub
  6.  
  7. End Module

This is what vs.net spits out for a vb.net console app, but obviously vs.net does something else behind the scenes...

i'm trying to compile it like this:

vbc.exe D:\MyProgram.vb D:\MyProgram.exe

It spits out bunch of errors...

so my question is, how do i do this? am i writing the coding wrong? could someone please set me up a simple hello world console coding and the way that i would compile it?

I appreciate the help!