L
Lovely Dola
I have the following simple "Hello, world" vb.net program named "prog01.vb" :
Module prog01
sub Main()
MsgBox("Hello, world!")
end sub
end Module
and compile it using vbc.exe as follows:
vbc /reference:Microsoft.VisualBasic.dll prog01.vb
but receive error messages as follows:
prog01.vb(3) : error BC30451: Name 'MsgBox' is not declared.
I have no Visual Studio.NET but use .NET Framework SDK 1.1 instead.
Could anyone pls tell me what's wrong with the program or the
compilation process?
Module prog01
sub Main()
MsgBox("Hello, world!")
end sub
end Module
and compile it using vbc.exe as follows:
vbc /reference:Microsoft.VisualBasic.dll prog01.vb
but receive error messages as follows:
prog01.vb(3) : error BC30451: Name 'MsgBox' is not declared.
I have no Visual Studio.NET but use .NET Framework SDK 1.1 instead.
Could anyone pls tell me what's wrong with the program or the
compilation process?