Within the .NET world, the common name for .NET dll's is
assembly and you add a reference to an assembly from your
own application/assembly/etc to access the
classes/functions/etc within it.
MessageBox.Show() is part of the System.Windows.Forms
namespace, so you would have to include a reference to the
System.Windows.Forms.dll assembly.
It is possible to have a class library/dll open a windows
form. So long as the assembly you are opening it from has
access to it (either in the same assembly or another one),
you would open it just as you would from another window or
console app (provided you are referencing
System.Windows.Forms)
-----Original Message-----
I am assuming that Microsoft has renamed their (dll's)
and are now callingthem class libraries since I can't find anything related
to dll's in VisualStudio. If I am correct in this assumption then can
anyone help me with howto have my class library display a MessageBox.Show. I
can't seem to add theproper using statement to get access to that class.
Can dll's access messageboxes?
On a side note: Is is possible for a class library/dll
to open a windowsform?
I am new to VS but am very familiar with the old dll and
windows stuff sonot quite sure why this is so difficult...
Thanks,
glenn
.