2 Replies Latest reply on May 27, 2013 7:35 AM by Jeffrey Cookle

    Registry settings for win32

    Jeffrey Cookle

      Any chance that registry settings using generic.GetRegistrySetting will be supported for win32/XPE in the near future?     When I try to use generic.GetRegistrySettings with RhoSimulator I am getting "ReferenceError: Can't find variable: generic", I assume it isn't working because my OS is windows.  Is that a correct statement?

       

      Thanks for any insight on this.

        • Re: Registry settings for win32
          Kutir Mobility

          Hi Jeffrey,

          Have you tried running on actual device or Phone emulator and see what it says?

           

          Thanks

          Surendran S

          Kutir Mobility

            • Re: Registry settings for win32
              Jeffrey Cookle

              Hi,

              When I build for win32 and run it, I don't get any error in the log, it just skips over my alert statements.  It gives me my first alert and nothing else.  If I build for windows mobile and run it on a device, then it works fine.   To me, it appears that for XPE and Win32 devices, this isn't supported.    Just wondering how else to get information from the registry.

               

               

              <script>

               

              alert('test');

              var x = generic.GetRegistrySetting(1, "Volatile Environment", "USERNAME");

              alert(x);

              alert('test2');

               

              </script>

               

              Thank you!