A
Angel Salamanca
Hello all,
Just downloaded the .NET SDK and, to test it works, I
write this "Hello world" code:
Option explicit
Imports System
' A "Hello World!" program in Visual Basic.
Module Hello
Sub Main()
Microsoft.VisualBasic.Interaction.MsgBox("Hello, world!")
End Sub
End Module
It compiles fine and works. Now I replace the MsgBox
sentence with just
MsgBox("La vamos a liar")
and the compiler does not like it. It tells me 'Name
MsgBox is not declared'. So is not the import statement
working?
Given this symptom, what could be the problem?
Regards
Just downloaded the .NET SDK and, to test it works, I
write this "Hello world" code:
Option explicit
Imports System
' A "Hello World!" program in Visual Basic.
Module Hello
Sub Main()
Microsoft.VisualBasic.Interaction.MsgBox("Hello, world!")
End Sub
End Module
It compiles fine and works. Now I replace the MsgBox
sentence with just
MsgBox("La vamos a liar")
and the compiler does not like it. It tells me 'Name
MsgBox is not declared'. So is not the import statement
working?
Given this symptom, what could be the problem?
Regards