Resource Strings

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?amJkYXZpcw==?=

    #1

    Resource Strings

    What is the most common method of naming the Strings in the Resource Editor.
    By default they are named Stringx where x is a incremental number. Is it
    recomended that these be changed or should they be kept? How does this name
    relate to the ID in the RC String table?


  • Daniel Bass

    #2
    Re: Resource Strings

    Don't know what is deemed best practice, but I generally describe what the
    string contains in an abbrevated format...
    For example, "Please type in the answer to your secret question:" would be
    called "SecretAnsw er".

    Something I also tend to do is prefix errors with "Err", simply so they are
    grouped together in the string table so i can find them easier...

    String43 doesn't mean anything, so definately move away from this naming
    convention.



    "jbdavis" <jbdavis@discus sions.microsoft .comwrote in message
    news:7A0DE81E-56D6-4A48-8A2F-EC4DD049B107@mi crosoft.com...
    What is the most common method of naming the Strings in the Resource
    Editor.
    By default they are named Stringx where x is a incremental number. Is it
    recomended that these be changed or should they be kept? How does this
    name
    relate to the ID in the RC String table?
    >
    >

    Comment

    • Herfried K. Wagner [MVP]

      #3
      Re: Resource Strings

      "Daniel Bass" <danREMOVEbass@ blueCAPSbottle. comFIRSTschrieb :
      Don't know what is deemed best practice, but I generally describe what the
      string contains in an abbrevated format...
      For example, "Please type in the answer to your secret question:" would be
      called "SecretAnsw er".
      I use descriptive names too.

      --
      M S Herfried K. Wagner
      M V P <URL:http://dotnet.mvps.org/>
      V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

      Comment

      Working...