I realize I needed to use a few things from the library to make this work, one of the big ones being System.Windows.Forms, but it wasn't there in my library at all. I checked at MSN Library to find out all the System namespaces and I am missing these namespaces:
DirectoryServices
EnterpriseServices
Management
Messaging
ServiceProcess
Windows.Forms
Windows.Forms.Design
My C#.NET install is from the "Microsoft Visual C#.NET Standard - Version 2003" prooduct. There is no indication that I would be missing such standard stuff as message box classes. Is there some other version of C# I need to buy to get those classes, or did I just get a buggy install? BTW, I also installed the full MSDN Library that came with the program - 3 disks full.
I am at a loss.
Thanks,
Rob Deacon
--------------------------------
From: Rob Deacon
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>CmaP+UJaDk6rkxkO050OKw==</Id>
> I am just getting into this .NET stuff. Looks really handy. I was trying to run some standard tests, like throwing up a MessageBox.Show("Code Hit Here - ln 124"); Just to make sure I was building things right.
>
> I realize I needed to use a few things from the library to make this work, one of the big ones being System.Windows.Forms, but it wasn't there in my library at all. I checked at MSN Library to find out all the System namespaces and I am missing these namespaces:
>
> DirectoryServices
> EnterpriseServices
> Management
> Messaging
> ServiceProcess
> Windows.Forms
> Windows.Forms.Design
>
> My C#.NET install is from the "Microsoft Visual C#.NET Standard - Version 2003" prooduct. There is no indication that I would be missing such standard stuff as message box classes. Is there some other version of C# I need to buy to get those classes, or did I just get a buggy install? BTW, I also installed the full MSDN Library that came with the program - 3 disks full.
>
> I am at a loss.
>
> Thanks,
>
> Rob Deacon
It sounds like your MSDN documentation install is incomplete. Try
reinstalling it. Also, if you're writing a program that uses functions
in the Windows.Forms namespace, you'll need to add the following line to
the top of the file:
using Windows.Forms;