Click here to Skip to main content
       

Visual Studio

 
QuestionCF6.5 development past VS2008? PinmemberLightStamp28-Nov-12 4:27 
QuestionVisual Studio Upgrade PinmemberCarlos Brooks27-Nov-12 14:28 
AnswerRe: Visual Studio Upgrade PinprotectorAspDotNetDev27-Nov-12 14:45 
RantRe: Visual Studio Upgrade PinmemberRichard Deeming28-Nov-12 3:35 
AnswerRe: Visual Studio Upgrade PinmemberAlbert Holguin11-Feb-13 15:26 
AnswerRe: Visual Studio Upgrade PinmemberMarco Bertschi14-Mar-13 6:44 
QuestionVisual Studio 2010 Team Foundation Server Certification PinmemberNarVish25-Nov-12 20:35 
Questioncurrency symbol is not consistent in Visual Studio Pinmembertmackey23-Nov-12 11:09 
I have the following code:
 
System.Globalization.CultureInfo ci = new System.Globalization.CultureInfo("en-US");
System.Threading.Thread.CurrentThread.CurrentCulture = ci;
System.Threading.Thread.CurrentThread.CurrentUICulture = ci;
Console.WriteLine("Currency symbol test {0:s}  {1:c}", ci.NumberFormat.CurrencySymbol, 12.34M);
System.Diagnostics.Debug.WriteLine("Currency symbol test {0:s}  {1:c}", ci.NumberFormat.CurrencySymbol, 56.78M);
 
When running the program from a Command window, the currency symbol (24 hex) is correctly displayed in both instances, as follows:
Currency symbol test $ $12.34

When running the program from VS (2010) debugger, the currency symbol (A4 hex) is incorrectly displayed when writing to the VS output window pane, as follows:
Currency symbol test $ ¤56.78
 
My Windows 7 Region and Language settings are English and United States. The Currency Symbol is dollar sign ($).
How can I force Visual Studio to recognize the current locale and output the correct currency symbol in the output window pane?
AnswerRe: currency symbol is not consistent in Visual Studio PinmvpRichard MacCutchan24-Nov-12 0:49 
AnswerRe: currency symbol is not consistent in Visual Studio PinmemberMatt T Heffron14-Feb-13 11:18 
QuestionSwitching over to VS2012 PinmemberRitwesh13-Nov-12 22:36 
AnswerRe: Switching over to VS2012 PinmvpRichard MacCutchan14-Nov-12 4:30 
AnswerRe: Switching over to VS2012 Pinmemberwolfcoder7526-Dec-12 4:36 
QuestionAny Game Programmers in the House? PingroupgameDesign.student13-Nov-12 4:23 
AnswerRe: Any Game Programmers in the House? PinmvpRichard MacCutchan13-Nov-12 6:43 
QuestionWorkmate getting problems with the VS2012 express PinmemberNelek8-Nov-12 22:23 
AnswerRe: Workmate getting problems with the VS2012 express PinmvpRichard MacCutchan14-Nov-12 4:28 
GeneralRe: Workmate getting problems with the VS2012 express PinmemberNelek14-Nov-12 5:55 
AnswerRe: Workmate getting problems with the VS2012 express PinmvpOriginalGriff14-Nov-12 4:35 
GeneralRe: Workmate getting problems with the VS2012 express PinmemberNelek14-Nov-12 5:59 
GeneralRe: Workmate getting problems with the VS2012 express PinmvpOriginalGriff14-Nov-12 6:03 
GeneralRe: Workmate getting problems with the VS2012 express PinmemberNelek14-Nov-12 6:28 
RantDebugging jQuery in Visual Studio PinmemberRCoate5-Nov-12 18:49 
GeneralRe: Debugging jQuery in Visual Studio PinmemberSastry_kunapuli13-Nov-12 8:43 
QuestionAsp.net Templates PinmemberAbhishek Pant3-Nov-12 12:27 

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

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


Advertise | Privacy | Mobile
Web03 | 2.8.141223.1 | Last Updated 10 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid