Extra Designer.vb file in Win Form causing problem

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
 
C

Cor Ligthert [MVP]

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
 

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

Top