473,387 Members | 1,882 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Extra Designer.vb file in Win Form causing problem

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
Jul 20 '06 #1
2 1466
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" <bi*****************@jaco.comschreef in bericht
news:On**************@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

Jul 21 '06 #2
Thanks Cor.
I messed up Designer.vb and it got me panic.

Bill
"Cor Ligthert [MVP]" <no************@planet.nlwrote in message
news:eJ**************@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" <bi*****************@jaco.comschreef in bericht
news:On**************@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


Jul 21 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Dayne | last post by:
I have a problem with how visual studio.net's form designer handles form inheritance. This is what I am trying to do.. I have a base form with some controls on it..I then create a child Form from...
0
by: Anil0920 | last post by:
I have a very serious problem which really needs to be solved. We had a huge number of projects in 2002 that we recently converted to VS.NET 2003. The conversion was smooth and all is working well....
2
by: crusell | last post by:
I'm having some problem with my Visual Studio.NET 2003 (.NET 1.1 SP1) install. I am unable to use the web forms designer with any aspx file whose form class inherits from a base class. I'm...
4
by: Rod Gill | last post by:
Hi, I have a form that when opened in the designer appears of the screen. The form selector can't be dragged (or resized) and if I scroll right and down to centralise it the form simply jumps...
4
by: Matt Jensen | last post by:
Howdy I've got a rather strange issue occuring. I used forms based .NET authentication, although I'm also setting some session variables when people login. However, I've found when people use...
1
by: Lucien Dol | last post by:
Hi all, Can someone help me with this, please? I've got a user control that (amongst other controls) contains a textbox. The textbox has its Anchor property set to "Left, Top, Right", meaning...
3
by: segecko | last post by:
Hi I have a created a custom usercontrol which inherites an Excel like usercontrol. In this usercontrol I have a custom property called SpreadTemplate, which is an enum with (at the moment) two...
7
by: Nathan Sokalski | last post by:
I am an ASP.NET developer, and Visual Studio 2005 seems to have stopped declaring the controls that I add in the *.designer.vb files, therefore forcing me to manually add them before I can use them...
2
by: Gary Brown | last post by:
Hi, I have moved some of the implementation of a form into a second file and enclosed it with "partial class ..." VS wants to give the second file its own designer form. How do I prevent that...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.