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 / New Users / August 2005

Tip: Looking for answers? Try searching our database.

App won't start

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
yuriy_zubarev - 24 Aug 2005 17:24 GMT
Greetings,

I have a Windows Form application (C#, .NET 1.1) that I distribute to
my clients and everyone can run it successfully but those who have
international versions of Windows XP (German, Norwegian, Russian, etc).
When they try to launch the app after an installation they get the
following:

Setup Error
Failed to load resources from resource file
Please check your setup

The problem is clearly related to different cultures and in my app I
only use invariant one explicitly and default one implicitly.

Any help would be greatly appreciated.

Regards,
Yuriy Zubarev
Mona - 29 Aug 2005 08:23 GMT
Hi Yuriy,

Regarding this issue of getting a Setup error when launching the application
internationally, I would like to tell you that you need to set the
CurrentUICulture for the application thread. This culture is used to
determine what resource files are accessed in different cultures. If you did
not set this, then it will take the default culture of the logged in user
i.e., German if the user locale id German. hence, you need to set the
following property :

START CODE

System.Threading.Thread.Currentthread.CurrentUICulture

END CODE

Hope this helps.

Regards,
Mona [Grapecity]

> Greetings,
>
[quoted text clipped - 15 lines]
> Regards,
> Yuriy Zubarev

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.