Extra Designer.vb file in Win Form causing problem

  • Thread starter Thread starter Bill nguyen
  • Start date Start date
B

Bill nguyen

Suddenly a new file was added to forms that I created in the last 2 days. I
created and named a form frmDTDownload.
In Solution Explorer, now I have
frmDTNDownload.vb
frmDTNDownload.Designer.vb
frmDTNDownload.resx

frmXXX.Designer.vb is new to me and it caused some weird error about form
designer not working.

I did add Microsoft Forms 2.0 Object Library (FM20.DLL) to the project
hoping I can display some Unicode characters (it didn't work) but then
removed it afterwards. Is it the cause of the problem?
Any help to resolve the problem (safely remove the Designer.vb file) is
greatly appreciated.


Thanks

Bill
 
Bill,

This is the normal way in Visual Studio 2005 (for C# and VBNet)

The designer part is not any more in your own code, but as a partial class
in a seperated file.

It should not give any problem.

Cor
 
Back
Top