PC Review


Reply
Thread Tools Rate Thread

App won't start

 
 
yuriy_zubarev
Guest
Posts: n/a
 
      24th Aug 2005
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

 
Reply With Quote
 
 
 
 
Mona
Guest
Posts: n/a
 
      29th Aug 2005
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]

"yuriy_zubarev" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
start Word and Mail Merge the data from excel,start to send print, tmssupport Microsoft Word Document Management 1 19th Dec 2007 10:39 AM
start/Run, start/Search, and start/Help and Support not working =?Utf-8?B?RGViYmllIGluIFBsYW5v?= Windows XP Help 7 18th Apr 2007 06:38 AM
IE won't start from Start; will start from Control Panel, Auto Updates Ed Katzman Windows XP Internet Explorer 1 30th Dec 2005 07:16 PM
Stop users Double Click on start/programs to start Windows Explore =?Utf-8?B?U2Nob29sIE5ldHdvcmsgQWRtaW5pc3RyYXRvcg== Windows XP Security 0 12th Oct 2005 11:47 PM
Start|Help, Start|Run, Start|Search stopped working =?Utf-8?B?TWFydGlu?= Windows XP General 2 3rd Jul 2004 05:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:04 PM.