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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top