HI
i am trying to compile the code i have developed with the windes ide that comes with the dot.netin the console which unfortunatley throws an error llike the following one.what should i do to recticfy this.is it that u need to set any class path just like u do in java.pls help me in this regard


E:\c sharp>vbc hello1.vb
Microsoft (R) Visual Basic.NET Compiler version 7.00.9030
for Microsoft (R) .NET Framework Common Language Runtime version 1.00.2204.21
Copyright (C) Microsoft Corp 2000. All rights reserved.

E:\c sharp\hello1.vb(3) : error BC30466: The namespace or type 'Drawing' for the
import 'System.Drawing' cannot be found.

Imports System.Drawing
~~~~~~~~~~~~~~
E:\c sharp\hello1.vb(4) : error BC30466: The namespace or type 'WinForms' for th
e import 'System.WinForms' cannot be found.

Imports System.WinForms
~~~~~~~~~~~~~~~
E:\c sharp\hello1.vb(9) : error BC30002: User-defined type not defined: System.W
inForms.Form

Inherits System.WinForms.Form
~~~~~~~~~~~~~~~~~~~~
E:\c sharp\hello1.vb(13) : error BC30002: User-defined type not defined: System.
WinForms.Button

Private WithEvents Button1 As System.WinForms.Button
~~~~~~~~~~~~~~~~~~~~~~
E:\c sharp\hello1.vb(26) : error BC30284: sub 'Dispose' does not override a sub
in a base class. Remove the 'overrides' keyword from the sub declaration.

Overrides Public Sub Dispose()
~~~~~~~
E:\c sharp\hello1.vb(33) : error BC30456: The name 'WinForms' is not a member of
'System'.

System.WinForms.Application.Run(New Win32Form2())
~~~~~~~~~~~~~~~
E:\c sharp\hello1.vb(40) : error BC30002: User-defined type not defined: System.
WinForms.Button

Me.Button1 = New System.WinForms.Button
~~~~~~~~~~~~~~~~~~~~~~
E:\c sharp\hello1.vb(45) : error BC30002: User-defined type not defined: System.

E:\c sharp\hello1.vb(46) : error BC30002: User-defined type not defined: System.
Drawing.Size

Button1.Size = New System.Drawing.Size(64, 32)
~~~~~~~~~~~~~~~~~~~
E:\c sharp\hello1.vb(50) : error BC30456: The name 'Text' is not a member of 'Wi
n32Form2Namespace.Win32Form2'.

Me.Text = "Win32Form2"
~~~~~~~
E:\c sharp\hello1.vb(51) : error BC30456: The name 'AutoScaleBaseSize' is not a
member of 'Win32Form2Namespace.Win32Form2'.

Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
~~~~~~~~~~~~~~~~~~~~
E:\c sharp\hello1.vb(51) : error BC30002: User-defined type not defined: System.
Drawing.Size

Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
~~~~~~~~~~~~~~~~~~~
E:\c sharp\hello1.vb(53) : error BC30456: The name 'Controls' is not a member of
'Win32Form2Namespace.Win32Form2'.

Me.Controls.Add(Button1)
~~~~~~~~~~~

Regards
prakash