Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Convert

Convert

Scheduled Pinned Locked Moved C#
question
26 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jojoba2010
    wrote on last edited by
    #1

    How can I convert
    ResXResourceReader rsxr = new ResXResourceReader(@"C:\Resource1.resx");

    TO

    ComponentResourceManager res = new ComponentResourceManager(typeof(Properties.Resources));

    I mean How can i reference res with rsxr :

    res = rsxr;

    L 1 Reply Last reply
    0
    • J jojoba2010

      How can I convert
      ResXResourceReader rsxr = new ResXResourceReader(@"C:\Resource1.resx");

      TO

      ComponentResourceManager res = new ComponentResourceManager(typeof(Properties.Resources));

      I mean How can i reference res with rsxr :

      res = rsxr;

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Please don't repost the same question; I already responded here[^]. Try reading the link that I gave you.

      MVP 2010 - are they mad?

      J 1 Reply Last reply
      0
      • L Lost User

        Please don't repost the same question; I already responded here[^]. Try reading the link that I gave you.

        MVP 2010 - are they mad?

        J Offline
        J Offline
        jojoba2010
        wrote on last edited by
        #3

        it doesnt help me !!!!!!!!!! Please do something for me? >

        OriginalGriffO 1 Reply Last reply
        0
        • J jojoba2010

          it doesnt help me !!!!!!!!!! Please do something for me? >

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #4

          If it didn't help you, then I have to assume you didn't read it. It certainly gave me enough pointers to start working with dynamic resource files, if I actually wanted to - which I don't. What do you want - your hand held while we tell you "press the 'A' key, now the 'r', then 's'..."?

          If Barbie is so popular, why do you have to buy her friends? Eagles may soar, but weasels don't get sucked into jet engines. If at first you don't succeed, destroy all evidence that you tried.

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          L J 2 Replies Last reply
          0
          • OriginalGriffO OriginalGriff

            If it didn't help you, then I have to assume you didn't read it. It certainly gave me enough pointers to start working with dynamic resource files, if I actually wanted to - which I don't. What do you want - your hand held while we tell you "press the 'A' key, now the 'r', then 's'..."?

            If Barbie is so popular, why do you have to buy her friends? Eagles may soar, but weasels don't get sucked into jet engines. If at first you don't succeed, destroy all evidence that you tried.

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            :thumbsup:

            MVP 2010 - are they mad?

            1 Reply Last reply
            0
            • OriginalGriffO OriginalGriff

              If it didn't help you, then I have to assume you didn't read it. It certainly gave me enough pointers to start working with dynamic resource files, if I actually wanted to - which I don't. What do you want - your hand held while we tell you "press the 'A' key, now the 'r', then 's'..."?

              If Barbie is so popular, why do you have to buy her friends? Eagles may soar, but weasels don't get sucked into jet engines. If at first you don't succeed, destroy all evidence that you tried.

              J Offline
              J Offline
              jojoba2010
              wrote on last edited by
              #6

              no dear! I have written a multiple language And i have used resource for each form! Then i wanna to give my customer this choose to change the resource Values for exm.Label.Text so how can i do that? when i complied my project there wasnt any .resx file!

              OriginalGriffO 1 Reply Last reply
              0
              • J jojoba2010

                no dear! I have written a multiple language And i have used resource for each form! Then i wanna to give my customer this choose to change the resource Values for exm.Label.Text so how can i do that? when i complied my project there wasnt any .resx file!

                OriginalGriffO Offline
                OriginalGriffO Offline
                OriginalGriff
                wrote on last edited by
                #7

                Then RTFM! The links provided even link to a tutorial:

                MSDN wrote:

                The Microsoft .NET Framework SDK provides several samples that illustrate how to work with .resource files. See Resources and Localization Using the .NET Framework SDK Tutorial, the ASP.NET QuickStart Localization sample, and the Common Tasks QuickStart How To: Resources.

                How hard can it be? Given the quality and nature of your questions over the last month or so, I really feel sorry for your customer! He actually has to pay for something you clearly have no idea how to do! Do you realize that your enquirer and authority status are both actually negative? I have never seen that before...

                If Barbie is so popular, why do you have to buy her friends? Eagles may soar, but weasels don't get sucked into jet engines. If at first you don't succeed, destroy all evidence that you tried.

                "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                J 1 Reply Last reply
                0
                • OriginalGriffO OriginalGriff

                  Then RTFM! The links provided even link to a tutorial:

                  MSDN wrote:

                  The Microsoft .NET Framework SDK provides several samples that illustrate how to work with .resource files. See Resources and Localization Using the .NET Framework SDK Tutorial, the ASP.NET QuickStart Localization sample, and the Common Tasks QuickStart How To: Resources.

                  How hard can it be? Given the quality and nature of your questions over the last month or so, I really feel sorry for your customer! He actually has to pay for something you clearly have no idea how to do! Do you realize that your enquirer and authority status are both actually negative? I have never seen that before...

                  If Barbie is so popular, why do you have to buy her friends? Eagles may soar, but weasels don't get sucked into jet engines. If at first you don't succeed, destroy all evidence that you tried.

                  J Offline
                  J Offline
                  jojoba2010
                  wrote on last edited by
                  #8

                  I am confused now ! Can i change the resource file at run time or NOTTTTTTTTTTTTTTTTTTTTTTTT

                  OriginalGriffO 1 Reply Last reply
                  0
                  • J jojoba2010

                    I am confused now ! Can i change the resource file at run time or NOTTTTTTTTTTTTTTTTTTTTTTTT

                    OriginalGriffO Offline
                    OriginalGriffO Offline
                    OriginalGriff
                    wrote on last edited by
                    #9

                    RTFM

                    If Barbie is so popular, why do you have to buy her friends? Eagles may soar, but weasels don't get sucked into jet engines. If at first you don't succeed, destroy all evidence that you tried.

                    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                    J 1 Reply Last reply
                    0
                    • OriginalGriffO OriginalGriff

                      RTFM

                      If Barbie is so popular, why do you have to buy her friends? Eagles may soar, but weasels don't get sucked into jet engines. If at first you don't succeed, destroy all evidence that you tried.

                      J Offline
                      J Offline
                      jojoba2010
                      wrote on last edited by
                      #10

                      How you have done this?

                      OriginalGriffO 1 Reply Last reply
                      0
                      • J jojoba2010

                        How you have done this?

                        OriginalGriffO Offline
                        OriginalGriffO Offline
                        OriginalGriff
                        wrote on last edited by
                        #11

                        Well, I started by going to university in the early 80's to study computer science, then moved out into employement, initially in goverment computer research labs, then in the commercial sector. As I progressed thought my career from junior programmer to Technical Manager (with a side branch off into Managing Director) I made sure to keep learning, so went from FORTRAN to PASCAL to assembler to C to C++ then C#. As I went, I acquired a store of knowledge and experience which I used to interpret how things worked. With this behind me, I just used some small part of my experience, and found it pretty simple to shout at you in red letters. Have you read the documentation yet?

                        If Barbie is so popular, why do you have to buy her friends? Eagles may soar, but weasels don't get sucked into jet engines. If at first you don't succeed, destroy all evidence that you tried.

                        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                        J L 2 Replies Last reply
                        0
                        • OriginalGriffO OriginalGriff

                          Well, I started by going to university in the early 80's to study computer science, then moved out into employement, initially in goverment computer research labs, then in the commercial sector. As I progressed thought my career from junior programmer to Technical Manager (with a side branch off into Managing Director) I made sure to keep learning, so went from FORTRAN to PASCAL to assembler to C to C++ then C#. As I went, I acquired a store of knowledge and experience which I used to interpret how things worked. With this behind me, I just used some small part of my experience, and found it pretty simple to shout at you in red letters. Have you read the documentation yet?

                          If Barbie is so popular, why do you have to buy her friends? Eagles may soar, but weasels don't get sucked into jet engines. If at first you don't succeed, destroy all evidence that you tried.

                          J Offline
                          J Offline
                          jojoba2010
                          wrote on last edited by
                          #12

                          YES BUt nothing ..............................................

                          OriginalGriffO 1 Reply Last reply
                          0
                          • J jojoba2010

                            YES BUt nothing ..............................................

                            OriginalGriffO Offline
                            OriginalGriffO Offline
                            OriginalGriff
                            wrote on last edited by
                            #13

                            Then read it again, and this time look at the words, not just the pictures...

                            If Barbie is so popular, why do you have to buy her friends? Eagles may soar, but weasels don't get sucked into jet engines. If at first you don't succeed, destroy all evidence that you tried.

                            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                            "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                            J L L 3 Replies Last reply
                            0
                            • OriginalGriffO OriginalGriff

                              Then read it again, and this time look at the words, not just the pictures...

                              If Barbie is so popular, why do you have to buy her friends? Eagles may soar, but weasels don't get sucked into jet engines. If at first you don't succeed, destroy all evidence that you tried.

                              J Offline
                              J Offline
                              jojoba2010
                              wrote on last edited by
                              #14

                              how to have external resources ? http://www.codeproject.com/KB/cs/RERM.aspx

                              L 1 Reply Last reply
                              0
                              • OriginalGriffO OriginalGriff

                                Then read it again, and this time look at the words, not just the pictures...

                                If Barbie is so popular, why do you have to buy her friends? Eagles may soar, but weasels don't get sucked into jet engines. If at first you don't succeed, destroy all evidence that you tried.

                                L Offline
                                L Offline
                                Lost User
                                wrote on last edited by
                                #15

                                I don't think this is good for your blood pressure ;)

                                MVP 2010 - are they mad?

                                OriginalGriffO 1 Reply Last reply
                                0
                                • J jojoba2010

                                  how to have external resources ? http://www.codeproject.com/KB/cs/RERM.aspx

                                  L Offline
                                  L Offline
                                  Lost User
                                  wrote on last edited by
                                  #16

                                  Why do not read anything that is suggested to you? Look at this page[^] which describes the ResourceWriter Class, and even gives you some sample code to help you to implement it in your own program. If you really cannot do this on your own then I think it's time to find a different career.

                                  MVP 2010 - are they mad?

                                  1 Reply Last reply
                                  0
                                  • OriginalGriffO OriginalGriff

                                    Then read it again, and this time look at the words, not just the pictures...

                                    If Barbie is so popular, why do you have to buy her friends? Eagles may soar, but weasels don't get sucked into jet engines. If at first you don't succeed, destroy all evidence that you tried.

                                    L Offline
                                    L Offline
                                    Luc Pattyn
                                    wrote on last edited by
                                    #17

                                    :confused: You have documentation with pictures? :confused:

                                    Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


                                    I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.
                                    [The QA section does it automatically now, I hope we soon get it on regular forums as well]


                                    OriginalGriffO 1 Reply Last reply
                                    0
                                    • L Luc Pattyn

                                      :confused: You have documentation with pictures? :confused:

                                      Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


                                      I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.
                                      [The QA section does it automatically now, I hope we soon get it on regular forums as well]


                                      OriginalGriffO Offline
                                      OriginalGriffO Offline
                                      OriginalGriff
                                      wrote on last edited by
                                      #18

                                      I was assuming so - he certainly hasn't looked at the words! :laugh:

                                      If Barbie is so popular, why do you have to buy her friends? Eagles may soar, but weasels don't get sucked into jet engines. If at first you don't succeed, destroy all evidence that you tried.

                                      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                      L L 2 Replies Last reply
                                      0
                                      • L Lost User

                                        I don't think this is good for your blood pressure ;)

                                        MVP 2010 - are they mad?

                                        OriginalGriffO Offline
                                        OriginalGriffO Offline
                                        OriginalGriff
                                        wrote on last edited by
                                        #19

                                        Oh I don't know, I think the "throbbing veins" look is quite cool! :laugh:

                                        If Barbie is so popular, why do you have to buy her friends? Eagles may soar, but weasels don't get sucked into jet engines. If at first you don't succeed, destroy all evidence that you tried.

                                        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                        1 Reply Last reply
                                        0
                                        • OriginalGriffO OriginalGriff

                                          I was assuming so - he certainly hasn't looked at the words! :laugh:

                                          If Barbie is so popular, why do you have to buy her friends? Eagles may soar, but weasels don't get sucked into jet engines. If at first you don't succeed, destroy all evidence that you tried.

                                          L Offline
                                          L Offline
                                          Luc Pattyn
                                          wrote on last edited by
                                          #20

                                          Agreed. I stopped answering his posts some time ago. Too bad MSDN doesn't show images though. :)

                                          Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


                                          I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.
                                          [The QA section does it automatically now, I hope we soon get it on regular forums as well]


                                          L 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups