Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Internationalization / January 2006

Tip: Looking for answers? Try searching our database.

Localizing problem on winform - bug!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bob - 07 Jan 2006 19:22 GMT
Vs 2005, a windows form. Was set up to be localizable, was using english and
french all worked fine until I started having to do some modifications to
bound datatables and their binding sources.
All this work of course in the default language and everything works fine on
my form when either executing or in the IDE in the default language.
However, when I switch over to French on that form in the IDE it takes about
45 seconds, my properties for the form get blanked out, the form designer
gets blanked out and I get the following message with big red X in the
designer window. I had been able to switch over to french regularly during
development to change control text as needed. Now I get

     One or more errors encountered while loading the designer. The errors
are listed below. Some errors can be fixed by rebuilding your project, while
others may require code changes.

     The designer loader did not provide a root component but has not
indicated why.

     There are no errors listed in the error list and the only way I can
get back to my work is by closing the designer and saying no to a save, then
selecting the form again and it comes up in my default language.

     Any ideas on how to fix this would be greatly appreciated. I tried
making the form non localizable and then making it localizable again, but
the same thing keeps happening.

     As far as I'm concerned, its another bug. Anyone else had similar
problems?

     Bob
Michael Höhne - 09 Jan 2006 16:13 GMT
Yes, I had similar problems. It destroyed most of a localized form and I had
to use a backup file. Guess the safest way is to localize the application at
the very end of development, but at least for me this is not acceptable. So
backup your code often because it's a time consuming process - I'm sure you
have recognized that.

Michael

> Vs 2005, a windows form. Was set up to be localizable, was using english
> and french all worked fine until I started having to do some modifications
[quoted text clipped - 26 lines]
>
>      Bob
Bob - 09 Jan 2006 17:59 GMT
On further investigation  I found that if I do a close, that's when the
warning message occurs. I was feeling adventurous and said what the hell,
save changes, had nothing to loose. Then tried to reopen the form and look
and behold! It appeared in french.
And time consuming, you're not kidding.
And they sold this to us under the guise of a RAPID application development
tool, BS!

Any ways Michael, thansk for reading and replying I hope our misfortune
helps others.
Bob

> Yes, I had similar problems. It destroyed most of a localized form and I
> had to use a backup file. Guess the safest way is to localize the
[quoted text clipped - 34 lines]
>>
>>      Bob
Garrett McGowan[MSFT] - 09 Jan 2006 21:00 GMT
Thank you both for sharing this issue and your findings with the community.
If you haven't already, I encourage you to submit a bug report at the MSDN
Product Feedback Center. The product team reviews each customer-submitted
issue, and this is important information for them to have.

http://lab.msdn.microsoft.com/productfeedback/default.aspx

Thank you,
Garrett McGowan [MSFT Developer International]

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
>From: "Bob" <bdufour@sgiims.com>
>Subject: Re: Localizing problem on winform - bug!
[quoted text clipped - 51 lines]
>>>
>>>      Bob
Michael Höhne - 10 Jan 2006 11:35 GMT
Garrett,

I would have done it, but the problem is that it's not reproducable, so when
filing a bug at the Product Feedback Center, you will likely set it to "Not
reproducable". Localizing works in 99% of the time but if it fails, it will
destroy most of your work. Usually the complete initialization code is
removed from the *.designer.cs file, while the declaration of the control
variables are still in there.

I'm always doing the same, changing the form's language between default and
German, localize some controls, and suddenly it happens. Even though I faced
this bug several times, I cannot tell you any steps to repro, except doing
exactly this until it happens - and it may take a long time until it breaks.

Michael

> Thank you both for sharing this issue and your findings with the
> community.
[quoted text clipped - 74 lines]
>>>>
>>>>      Bob
Garrett McGowan[MSFT] - 11 Jan 2006 01:16 GMT
If you can manage to reproduce it with a demo project or a (project you
don't mind sharing for this purpose) , then you could ZIP the solution
folder and add it as an attachment to the bug report. This would also give
the team something to work from.

Garrett McGowan [MSFT Developer International]

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

--------------------
>From: "Michael Höhne" <michael.hoehne@nospam.nospam>
>Subject: Re: Localizing problem on winform - bug!
[quoted text clipped - 95 lines]
>>>>>
>>>>>      Bob
Michael Höhne - 12 Jan 2006 12:03 GMT
I found a way to reproduce a similar bug. Though it's not exactly the same
as Bob and I described, I hope that it leads to the right direction when
investigating the overall problem. I entered it as a bug into the product
feedback center (FDBK43827).

Michael

> If you can manage to reproduce it with a demo project or a (project you
> don't mind sharing for this purpose) , then you could ZIP the solution
[quoted text clipped - 131 lines]
>>>>>>
>>>>>>      Bob
Garrett McGowan[MSFT] - 12 Jan 2006 19:25 GMT
Thank you Michael - I appreciate your help!

Garrett McGowan [MSFT Developer International]

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
>From: "Michael Höhne" <michael.hoehne@nospam.nospam>
>Subject: Re: Localizing problem on winform - bug!
[quoted text clipped - 143 lines]
>>>>>>>
>>>>>>>      Bob
Bob - 14 Jan 2006 18:41 GMT
I can't re[roduce it on a small p[roject and I ytried zipping the whole
project folder but the site rejected it as too big.
Sorry, I would like to get this resolved but I guess it looks like it won't
be soon :-(
Bob

> If you can manage to reproduce it with a demo project or a (project you
> don't mind sharing for this purpose) , then you could ZIP the solution
[quoted text clipped - 131 lines]
>>>>>>
>>>>>>      Bob
Garrett McGowan[MSFT] - 17 Jan 2006 00:15 GMT
Thank you for trying, Bob. Hopefully Michael's example will serve the same
purpose.

Garrett McGowan [MSFT Developer International]

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
>From: "Bob" <bdufour@sgiims.com>
>Subject: Re: Localizing problem on winform - bug!
[quoted text clipped - 142 lines]
>>>>>>>
>>>>>>>      Bob

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.