473,512 Members | 15,089 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with the Designer

Hello,

it´s the third time now that I´m getting an error message like this:

Warning 1 The designer cannot process the code at line 85:

this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;

The code within the method 'InitializeComponent' is generated by the
designer and should not be manually modified. Please remove any changes
and try opening the designer again. C:\Dokumente und
Einstellungen\Martin\Eigene Dateien\Visual Studio
2005\Projects\KmeansCluster\KmeansCluster\MainForm .Designer.cs 86 0
Although I never modified the designer code.

What happens?

Can I let Visual Studio Redesign the code?

Regards,

Martin
Aug 27 '06 #1
2 6644
Normally, in this situation, I close and reopen the project, the problem
will go away.

Martin Pöpping wrote:
Hello,

it´s the third time now that I´m getting an error message like this:

Warning 1 The designer cannot process the code at line 85:

this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;

The code within the method 'InitializeComponent' is generated by the
designer and should not be manually modified. Please remove any changes
and try opening the designer again. C:\Dokumente und
Einstellungen\Martin\Eigene Dateien\Visual Studio
2005\Projects\KmeansCluster\KmeansCluster\MainForm .Designer.cs 86
0
Although I never modified the designer code.

What happens?

Can I let Visual Studio Redesign the code?

Regards,

Martin
Aug 27 '06 #2
john sun schrieb:
>it´s the third time now that I´m getting an error message like this:

Warning 1 The designer cannot process the code at line 85:

this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;

The code within the method 'InitializeComponent' is generated by the
designer and should not be manually modified. Please remove any
changes and try opening the designer again. C:\Dokumente und
Einstellungen\Martin\Eigene Dateien\Visual Studio
2005\Projects\KmeansCluster\KmeansCluster\MainFor m.Designer.cs
86 0
Normally, in this situation, I close and reopen the project, the
problem will go away.
Not here :-(
Aug 27 '06 #3

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

Similar topics

5
2667
by: CMAR | last post by:
I have been having a problem styling a page, which you can see live at my test site: Designer Page (http://home.ne.rr.com/thespar/) (Ignore the missing pictures, which have not been uploaded.)...
22
1941
by: Marina | last post by:
Hi, Consider the following situation I have the following routine running repeatedly (curControl is a UserControl with say 1000 textboxes and a big array of strings): Public Sub...
1
4004
by: Rhy Mednick | last post by:
I'm creating a custom control (inherited from UserControl) that is displayed by other controls on the form. I would like for the control to disappear when the user clicks outside my control the...
1
2282
by: Kris van der Mast | last post by:
Hi, been a while since I posted a question myself instead of trying to help others out. I'm refactoring an existing web app that uses dynamic loading of user controls and a lot of...
1
4732
by: Andrew | last post by:
Hey all, Working on revamping our Intranet here and making use of the LDPA, Active Directory, Directory Services, etc. that .Net provides. I am still fairly new on this subject, so the problem...
18
1486
by: Sender | last post by:
Yesterday there was a very long thread on this query. (You can search on this by post by 'sender' with subject 'Simple Problem' post date Oct 7 time 1:43p) And in the end the following code was...
0
1845
by: Bruin | last post by:
Hi All, I'm having a problem with MDI child forms when the reference to the MDI Parent is set in a Control library. (Sorry for the long post) I have an control library assembly which holds all...
6
1420
by: ?scar Martins | last post by:
Hi When I'm debugging and somewhere in the code I have a breakpoint, many times when the code after breakpoint finishes and the app returns I can do nothing within in it(it's like freeze)... The...
4
3130
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
2625
by: Goran Djuranovic | last post by:
Hi all, I am experiencing a strange thing happening with a "designer.vb" page. Controls I manually declare in this page are automatically deleted after I drop another control on a ".aspx" page. -...
0
7252
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
7153
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
7432
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7517
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5077
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3230
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3218
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1583
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.