KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

keyexist not working

 
Post new topic   Reply to topic    KiXforms Forum Index -> Starters Code Clinic
View previous topic :: View next topic  
Author Message
jeff_eisenberg
KiXforms Novice
KiXforms Novice


Joined: 22 Jan 2009
Posts: 1

PostPosted: Thu Aug 23, 2012 6:12 am    Post subject: keyexist not working Reply with quote

I have a script that uses "keyexist" in many parts and it works fine.
However, whenever I use it for a key in "HKEY_CLASSES_ROOT" it does not work. It always returns a "0" even when the key actually exists.

I'm trying to run this on an XP 64 bit computer if that makes any difference.

The specific command I'm trying to use is as follows. But in testing, I have found that it doesn't work for any key in "HKEY_CLASSES_ROOT"

$KB=KeyExist("HKEY_CLASSES_ROOT\Installer\Patches\79EB7C9295ED2A736A78A2DD351249A8")

I've also tried it on the "mirrored" section under "HKEY_LOCAL_MACHINE" with the same results... or lack of results.

Any help is appreciated.
Back to top
View user's profile Send private message
enahsyemotp
KiXforms Regular
KiXforms Regular


Joined: 22 Sep 2010
Posts: 40
Location: Tulsa, OK

PostPosted: Thu Aug 23, 2012 3:27 pm    Post subject: Reply with quote

As this is not a KiXforms issue, but rather a KiXtart issue, please go over to www.kixtart.org and post your issue there for further assistance.

But just so you know I ran the following code...On a 64 bit Win 7 machine...and it displayed a 1 as expected.

Code:
? KeyExist("HKEY_CLASSES_ROOT\Installer\Patches\79EB7C9295ED2A736A78A2DD351249A8")

get $
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Starters Code Clinic All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group