Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > NewLine Characters in string table
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 17th January 00:53
gordon
External User
 
Posts: 1
Default NewLine Characters in string table



I am removing all strings from my code and adding to a
resource table, however I am unsure how to handle newline
constants. Currently my strings are
"blah blah \r\nMake your selection"

however when I add this string to the resource file and
get it using rm.GetSting(...) it just display the literal
text with no new line.

Help much appreciated?
  Reply With Quote


  sponsored links


2 17th January 00:53
nicole calinoiu
External User
 
Posts: 1
Default NewLine Characters in string table



Gordon,

The VStudio resx editor has poor support for editing strings that contain
line breaks. To work around this problem, simply insert the desired line
breaks (press "enter" on the keyboard, don't type "\r\n") while editing the
resx file in XML view.

HTH,
Nicole
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666