Ask for serial only once work around

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • dallasfreak
    Forum Member
    • May 2001
    • 81

    Ask for serial only once work around

    after trying out serial for first time, realized you have to type in serial number each time. Here is a workaround that will ask for it only once:

    *****all of these are located under project open tab*****
    sampleapp is the name of your menu.
    password is the serial number u wish to use

    READ FROM REGISTRY
    Name %serial%
    default
    Main Key HKEY_LOCAL_MACHINE
    Sub Key software\sampleapp
    Value name serial
    True if exists
    Boolean

    READ FROM REGISTRY
    Name %serialinregistry%
    default
    Main Key HKEY_LOCAL_MACHINE
    Sub Key software\sampleapp
    Value name serial
    True if exists
    Boolean

    GET INFO
    Name %serial%
    Default
    Caption Enter Data
    Message Waht is the serial?
    Browse Type None
    Boolean %serialinregistry% <> "Not Equal" password

    SHOW MESSSAGE
    Caption Message
    Message password wrong
    Boolean %serialinregistry% <> "Not Equal" password; %serial% <> "Not Equal" password

    CLOSE/EXIT
    Boolean %serialinregistry% <> "Not Equal" password; %serial% <> "Not Equal" password

    MODIFY REGISTRY
    Action Set Value
    Main Key HKEY_LOCAL_MACHINE
    Sub Key software\sampleapp
    Name serial
    Type REG_SZ
    Data %serial%
    Action Overwrite
    Seperator
    Boolean %serialinregistry% <> "Not Equal" password

    Hope this helps some ppl. If u need an am3 file to look at describing this, then email me
    LATERZ
  • dallasfreak
    Forum Member
    • May 2001
    • 81

    #2
    Re: Ask for serial only once work around

    And of course if u want to use this, u would hide the serial location deep in the registry, os that other ppl can not hack this out.

    Comment

    Working...
    X