|
-
Aug 20th, 2008, 06:33 PM
#1
Thread Starter
Frenzied Member
Vista: Drives me Nuts!
This is seriously doing my head in.
Im running XP alongside VISTA on a Virtualization with MS Virtual PC to test the app.
This is my code, very simple: Read Value Data from Registry. If the len >=1 or = vbNullstring then Skip
If Len(RGGetKeyValue(theRootKey, regKey & QueryKeys(X), getValues(0))) >= 1 Then GoTo SkipThisOne
If Not RGGetKeyValue(theRootKey, regKey & QueryKeys(X), getValues(0)) = vbNullstring Then GoTo SkipThisOne
MsgBox Len(RGGetKeyValue(theRootKey, regKey & QueryKeys(X), getValues(0)))
MsgBox RGGetKeyValue(theRootKey, regKey & QueryKeys(X), getValues(0))
'''More code
SkipThisOne:
Now guess what the MsgBoxes return: 0 & vbNullstring, but yet again it doesnt go to the SkipThisOne label
This works with XP.
'The Exe also has a manifest inserted with Resource Hacker, to allow admin elevation etc...
_____________________________________________________________________
----If this post has helped you. Please take time to Rate it.
----If you've solved your problem, then please mark it as RESOLVED from Thread Tools.

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|