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