Forms in a DLL

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All

I am trying to create a COM object using C#/.NET that can be shared by multiple applications, but when I select File - New - Project from Visual Studio and select Class Library from the Template list, the resulting project doesn't support System.Windows.Forms. Can someone tell me how can I create a DLL that allows Forms

Thanks

Phil
 
Add a reference to WindowsForms and then you can do what you want.

--
Marc Butenko
(e-mail address removed)



Phillip said:
Hi All,

I am trying to create a COM object using C#/.NET that can be shared by
multiple applications, but when I select File - New - Project from Visual
Studio and select Class Library from the Template list, the resulting
project doesn't support System.Windows.Forms. Can someone tell me how can I
create a DLL that allows Forms?
 
Back
Top