Results 1 to 3 of 3

Thread: [RESOLVED] Registry Key Exists

Hybrid View

  1. #1

    Re: Registry Key Exists

    Delete the key on your PC [or at least change the name] and run the code and step through to see what actually happens. See if r4 actually is Nothing.

  2. #2

    Thread Starter
    Wait... what? weirddemon's Avatar
    Join Date
    Jan 2009
    Location
    USA
    Posts
    3,826

    Re: Registry Key Exists

    Quote Originally Posted by formlesstree4 View Post
    Delete the key on your PC [or at least change the name] and run the code and step through to see what actually happens. See if r4 actually is Nothing.
    Thanks for the advice, formless.

    It turns out I'm an idiot

    There's two methods I created and I forgot about the other. They have the same names except the suffix for each is different. One method returns a string, the other returns a boolean.

    When I read the error log, I only read the first part and assumed it was this method. After changing the key name and seeing that the code never got to my break point, I realized it was the other method. The other method didn't have a check to determine if the key was nothing.

    Everything's good now.

    Thanks again.
    CodeBank contributions: Process Manager, Temp File Cleaner

    Quote Originally Posted by SJWhiteley
    "game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width