Results 1 to 2 of 2

Thread: Viewing Windows Registry

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 1999
    Location
    Chandler AZ
    Posts
    5
    Hi all:

    In a program I have written, for the demo version I count the program runs using the SaveSetting and GetSetting. My users are not computer brains, but I was wondering if there is a way to view and change the settings manually (i.e. opening the file where these settings are stored and changing the counter, w/o going through VB). Anyone know or can explain where these settings are found. Just curious to see how difficult it would be to change. I've been giving windows lessons to my users lately so I don't think its a big danger. Thanks -- Dean

  2. #2
    Hyperactive Member
    Join Date
    Mar 2000
    Posts
    461
    Its incredibly easy.

    Go to the START/Run and type "regedit"

    Now navigate through the following tree

    HKEY_CURRENT_USER\Software\VB and VBA Program Settings

    Under here you should find a subdirectory with the name of the application you gave in your SaveSetting/GetSetting

    In here are the keys where you stored the count and someone can just change it directly.

    Note also... that if your computer allows for "multiple" people to use it each with their own login then these settings will be different for EACH user, thus allowing your program to be run X times for each different user.

    If you want to try and protect this I would suggest attempting to encrypt the number so that people don't know what number it is up to. Then only people really determined to change it will know how to decrypt it and work out the number.

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