Milo Posted January 1, 2003 Posted January 1, 2003 Hello there everyone!!! Im new here so be nice :P. I resently started with vb.net, and i made a sample from my book i got for Xmas, but it didint work.:( The compiler found a error in my code, i dont understand how come?... Im using konsole and notepad to code Visual Basic.net.. Anyway here is the code who dont work; Import System Public Class steg3 Shared Sub Main() System.Console.Writeline(System.Enviroment.OSVersion.ToString()) End Sub End Class Some error at system.Enviroment i dont know, hope someone can help me, thx. Quote
*Experts* Volte Posted January 1, 2003 *Experts* Posted January 1, 2003 The correct line is Imports System, not Import System. Quote
*Gurus* divil Posted January 1, 2003 *Gurus* Posted January 1, 2003 And you spelled Environment wrong. I would have told you that on irc last night, but you quit after insulting us because nobody helped you in the time you allowed us. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.