Home All Groups Group Topic Archive Search About

Extra Designer.vb file in Win Form causing problem

Author
20 Jul 2006 11:05 PM
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

Author
21 Jul 2006 6:49 AM
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

Show quoteHide quote
"Bill nguyen" <billn_nospam_please@jaco.com> schreef in bericht
news:OnJrLEFrGHA.4988@TK2MSFTNGP04.phx.gbl...
> 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
>
Author
21 Jul 2006 3:35 PM
Bill Nguyen
Thanks Cor.
I messed up Designer.vb and it got me panic.

Bill
Show quoteHide quote
"Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message
news:eJ2JdGJrGHA.1796@TK2MSFTNGP03.phx.gbl...
> 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
>
> "Bill nguyen" <billn_nospam_please@jaco.com> schreef in bericht
> news:OnJrLEFrGHA.4988@TK2MSFTNGP04.phx.gbl...
>> 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
>>
>
>