Click here to Skip to main content
15,912,756 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
QuestionSelf integrity check of my program Pin
stormydaniels7-Nov-08 15:40
stormydaniels7-Nov-08 15:40 
AnswerRe: Self integrity check of my program Pin
Mark Salsbery8-Nov-08 7:27
Mark Salsbery8-Nov-08 7:27 
QuestionMemory usage and dialogs Pin
dSolariuM1-Nov-08 21:06
dSolariuM1-Nov-08 21:06 
AnswerRe: Memory usage and dialogs Pin
Giorgi Dalakishvili2-Nov-08 4:27
mentorGiorgi Dalakishvili2-Nov-08 4:27 
AnswerRe: Memory usage and dialogs Pin
Mark Salsbery2-Nov-08 9:43
Mark Salsbery2-Nov-08 9:43 
AnswerRe: Memory usage and dialogs Pin
N a v a n e e t h2-Nov-08 17:32
N a v a n e e t h2-Nov-08 17:32 
AnswerRe: Memory usage and dialogs Pin
led mike5-Nov-08 4:22
led mike5-Nov-08 4:22 
QuestionQ: Changing Language with Thread::CurrenThread::CurrentUICulture Pin
jreisslein31-Oct-08 3:42
jreisslein31-Oct-08 3:42 
Hi everybody.

I am currently working on a tool which is using satellite assemblies (.resx) string tables to support localisation.
Additionally, i would like to change the Culture manually by choice.

While changing the current language inside the program is working fine when started in Visual Studio (2008),however, it doesn't work in the release (tested on a vmware machine).

Well here is an example code, maybe someone can give me an hint why it works in Vs and not outside.

private: System::Void pictureBox1_Click(System::Object^  sender, System::EventArgs^  e) {

			 // Change current Culture 
			 String ^loc;
			 loc = "de-DE";
			 wechsleSprache(loc);
		 }

private: System::Void wechsleSprache(String^ loc) {
			 
			/*The CurrentCulture property influences the display (or format) of date, 
			  currency, time, calendar etc. 
			  The CurrentUICulture value determines the resources that need to be 
			  loaded by the Resource Manager.
		     */
			
			 Thread::CurrentThread->CurrentUICulture = gcnew System::Globalization::CultureInfo(loc, false);
			 Thread::CurrentThread->CurrentCulture = Thread::CurrentThread->CurrentUICulture;
			 this->Controls->Clear();
			 InitializeComponent();
			 this->textboxCurrentUICulture->Text = System::Globalization::CultureInfo::CurrentUICulture->Name;			 			 }


cheers,

joerg
QuestionRe: Q: Changing Language with Thread::CurrenThread::CurrentUICulture Pin
led mike31-Oct-08 4:20
led mike31-Oct-08 4:20 
AnswerRe: Q: Changing Language with Thread::CurrenThread::CurrentUICulture Pin
jreisslein2-Nov-08 1:30
jreisslein2-Nov-08 1:30 
GeneralRe: Q: Changing Language with Thread::CurrenThread::CurrentUICulture Pin
jreisslein3-Nov-08 23:57
jreisslein3-Nov-08 23:57 
GeneralRe: Q: Changing Language with Thread::CurrenThread::CurrentUICulture Pin
led mike12-Nov-08 11:01
led mike12-Nov-08 11:01 
QuestionHelp! Program not working in 'Release mode' but works in 'Debug mode' Pin
winson you30-Oct-08 16:03
winson you30-Oct-08 16:03 
AnswerRe: Help! Program not working in 'Release mode' but works in 'Debug mode' Pin
Jonathan [Darka]31-Oct-08 4:00
professionalJonathan [Darka]31-Oct-08 4:00 
AnswerRe: Help! Program not working in 'Release mode' but works in 'Debug mode' Pin
slimtim18-Nov-08 18:51
slimtim18-Nov-08 18:51 
QuestionReporting application Pin
kasi1429-Oct-08 11:27
kasi1429-Oct-08 11:27 
AnswerRe: Reporting application Pin
Richard Andrew x6429-Oct-08 12:21
professionalRichard Andrew x6429-Oct-08 12:21 
QuestionImplicit type casts, is this possible Pin
mike toon28-Oct-08 5:04
mike toon28-Oct-08 5:04 
AnswerRe: Implicit type casts, is this possible Pin
Mark Salsbery28-Oct-08 6:33
Mark Salsbery28-Oct-08 6:33 
GeneralRe: Implicit type casts, is this possible [modified] Pin
mike toon29-Oct-08 1:36
mike toon29-Oct-08 1:36 
GeneralRe: Implicit type casts, is this possible Pin
Mark Salsbery29-Oct-08 5:22
Mark Salsbery29-Oct-08 5:22 
GeneralRe: Implicit type casts, is this possible Pin
mike toon30-Oct-08 0:52
mike toon30-Oct-08 0:52 
GeneralRe: Implicit type casts, is this possible Pin
mike toon30-Oct-08 6:03
mike toon30-Oct-08 6:03 
GeneralRe: Implicit type casts, is this possible Pin
led mike30-Oct-08 6:13
led mike30-Oct-08 6:13 
GeneralRe: Implicit type casts, is this possible [modified] Pin
Mark Salsbery30-Oct-08 9:08
Mark Salsbery30-Oct-08 9:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.