G
garyusenet
I am using a C# solution that somebody kindly sent me.
It was a console application.
I am trying to get use of the MessageBox.
I have added the following using directive to the namespaces at the
start of the program : -
using System;
// I've added this...
using System.Windows.Forms;
//----------------------------------------------
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Text.RegularExpressions;
However i get a compile error that the type of namespace windows does
not exist.
I have selected the properties of the project and changed the output to
console, but that didn't help.
Why am i getting that error?
Thanks,
Gary-
It was a console application.
I am trying to get use of the MessageBox.
I have added the following using directive to the namespaces at the
start of the program : -
using System;
// I've added this...
using System.Windows.Forms;
//----------------------------------------------
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Text.RegularExpressions;
However i get a compile error that the type of namespace windows does
not exist.
I have selected the properties of the project and changed the output to
console, but that didn't help.
Why am i getting that error?
Thanks,
Gary-