Jump to content
Sign in to follow this  
bordomavi

Reg delete if reg empty

Recommended Posts

Do you know a value that would exist within the App99 key? If so, you could do something like this:

$val = RegRead("HKCU\Software\App99", "TestValue")
    If @error Then
        MsgBox(0, "", "Key not found")
    Else
        MsgBox(0, "", "Value of TestValue is: " & $val)
    EndIf

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...