English Deutsch Français Italiano Particle Software Buy Now


Particle Software
 
Get/Check Registry
   ..::   About  •  Purchasing  •  Search  •  Contact  • Home   ::..
 
Screenshots
• Sample
Downloads
Resources
• FAQ
• Macros

 
   Below shows how IntraLaunch can be used to check if a given registry key value exists, and if so obtain its value. GetRegKey() returns false if not found. You should escape each backslash with a backslash so your key path might look like HKEY_USERS\\.DEFAULT\\Control Panel\\International\\sCountry. IntraLaunch 4.7 or higher required.


 
 
<HTML>

<SCRIPT LANGUAGE="JavaScript">
  function CheckKey()
  {
    var sKey;
    sKey = IntraLaunch.GetRegKey("HKEY_USERS\\...\\FontSize");

    if (sKey == false)
    {
      alert('Key Not Found');
    }
    else
    {
      alert('Key Value: ' + sKey);
    }
  }
</SCRIPT>

<BODY>

<a href="Javascript:CheckKey();">Check Key</a>

</BODY>

<OBJECT ID="IntraLaunch" STYLE="display : none" WIDTH=1 HEIGHT=1    CODEBASE="http://intranet.net/menu/IntraLaunch.CAB#version=5,0,0,0"
   CLASSID="CLSID:0AE533FE-B805-4FD6-8AE1-A619FBEE7A23">
   <PARAM NAME="ImageLoc" VALUE="Null">
   <PARAM NAME="ImageSrc" VALUE="Null">
   <PARAM NAME="Run" VALUE="Null">
   <PARAM NAME="RunParms" VALUE="">
</OBJECT>

</HTML>
 
 
       



Copyright © 1997-2008 Particle Software - All Rights Reserved
Web services provided by Extreme Hosting