C
Christopher W. Douglas
I am building a VB.NET application in Visual Studio.NET 2003. I have an
existing project with code and forms I want to reuse in this project. If I
am copying a module file, then Add Existing Item works fine. However, if I
am copying a form, it pulls it in as a module file, not as a form. I have
tried adding the .resx file first, adding the .vb and .resx file at the
same time, or deleting the .resx file, nothing seems to work. I have a
module file with all the code to make it a form, but VS still thinks it's a
code file. I am also using Visual Source Safe, if that helps.
The only solution I have found is to create a new form, then cut and paste
the code from the existing file. Please, can someone tell me a SIMPLE way
to add an existing form? Thanks.
existing project with code and forms I want to reuse in this project. If I
am copying a module file, then Add Existing Item works fine. However, if I
am copying a form, it pulls it in as a module file, not as a form. I have
tried adding the .resx file first, adding the .vb and .resx file at the
same time, or deleting the .resx file, nothing seems to work. I have a
module file with all the code to make it a form, but VS still thinks it's a
code file. I am also using Visual Source Safe, if that helps.
The only solution I have found is to create a new form, then cut and paste
the code from the existing file. Please, can someone tell me a SIMPLE way
to add an existing form? Thanks.