Click here to Skip to main content
15,916,019 members
Home / Discussions / C#
   

C#

 
GeneralRe: threading Pin
Manoj Kumar Rai29-May-07 20:08
professionalManoj Kumar Rai29-May-07 20:08 
AnswerRe: threading Pin
leppie30-May-07 5:00
leppie30-May-07 5:00 
QuestionHow to print exactly on a standard paper form ? Pin
jamesjk29-May-07 18:01
jamesjk29-May-07 18:01 
Questionstoring dynamic controls on post back Pin
tauras8129-May-07 17:49
tauras8129-May-07 17:49 
AnswerRe: storing dynamic controls on post back Pin
Christian Graus29-May-07 18:23
protectorChristian Graus29-May-07 18:23 
QuestionProject Build Help Pin
Aish-t29-May-07 17:01
Aish-t29-May-07 17:01 
AnswerRe: Project Build Help Pin
Aish-t30-May-07 14:57
Aish-t30-May-07 14:57 
QuestionUsing escape sequence characters in project string resources Pin
jozsurf29-May-07 15:37
jozsurf29-May-07 15:37 
Hi all,

I'm currently working on an internationalization project and one of the things that we have decided to do was to store all string literals that are used in the code in the project string resources (accessible via Properties.Resources.strName; I'm using VS2005).

Here's the problem: say I have a string(Properties.Resources.strName) defined as follows:

Name:\t\t{0}

And it is used as follows:

theString = String.Format(Properties.Resources.strName, "Rachel");

Unfortunately, theString turns out to be

Name:\t\tRachel

which is not quite what I'm looking for.

I could possibly change to string to something like

Name:{0}{0}{1}

and then use it like this:

theString = String.Format(Properties.Resources.strName, '\t', "Rachel")

But surely there is a way to include escape sequence characters like \t or \n in the project resources string table? Does anyone know what the equivalent for these are?

cheers!
AnswerRe: Using escape sequence characters in project string resources Pin
Christian Graus29-May-07 16:00
protectorChristian Graus29-May-07 16:00 
GeneralRe: Using escape sequence characters in project string resources Pin
jozsurf29-May-07 16:04
jozsurf29-May-07 16:04 
GeneralRe: Using escape sequence characters in project string resources Pin
snorkie29-May-07 16:41
professionalsnorkie29-May-07 16:41 
GeneralRe: Using escape sequence characters in project string resources Pin
jozsurf29-May-07 16:57
jozsurf29-May-07 16:57 
GeneralRe: Using escape sequence characters in project string resources Pin
snorkie30-May-07 1:43
professionalsnorkie30-May-07 1:43 
GeneralRe: Using escape sequence characters in project string resources Pin
jozsurf30-May-07 14:54
jozsurf30-May-07 14:54 
GeneralRe: Using escape sequence characters in project string resources Pin
jozsurf12-Jun-07 16:42
jozsurf12-Jun-07 16:42 
QuestionDynamic Crystal Report Creation Pin
kkadir29-May-07 14:07
kkadir29-May-07 14:07 
QuestionclickOnce question Pin
RIPOUX29-May-07 13:25
RIPOUX29-May-07 13:25 
AnswerRe: clickOnce question Pin
Dave Kreskowiak29-May-07 14:27
mveDave Kreskowiak29-May-07 14:27 
GeneralRe: clickOnce question Pin
RIPOUX29-May-07 15:25
RIPOUX29-May-07 15:25 
GeneralRe: clickOnce question Pin
Christian Graus29-May-07 16:01
protectorChristian Graus29-May-07 16:01 
QuestionCatching the form close Pin
Gene Arnold29-May-07 9:02
Gene Arnold29-May-07 9:02 
AnswerRe: Catching the form close Pin
MatrixCoder29-May-07 9:11
MatrixCoder29-May-07 9:11 
AnswerRe: Catching the form close Pin
Giorgi Dalakishvili29-May-07 9:12
mentorGiorgi Dalakishvili29-May-07 9:12 
GeneralRe: Catching the form close Pin
Gene Arnold29-May-07 9:32
Gene Arnold29-May-07 9:32 
GeneralRe: Catching the form close Pin
Giorgi Dalakishvili29-May-07 9:42
mentorGiorgi Dalakishvili29-May-07 9:42 

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.