PDA

View Full Version : Password Dialog



NewsArchive
08-27-2012, 03:57 AM
I am using a password dialog with a static password entered. I want to
change that to a dynamic one. I think I want to set it to today (the
Clarion date i.e. 79126) but changing the numbers around. In other words the
password when the exe is run will be the date (suitably manipulated) when
created.

Can I set %_SB_PASSWORD% at the start of the script and pre load the dialog
box with that without entering a password? If so how do I set that variable
to todays integer date.

Hope that makes sense.

Thanks

John

NewsArchive
08-27-2012, 07:15 AM
John,

I assume you are using the "Auto-verify Password" option.

If the user enters a password, the runtime variable %_SB_PASSWORD% stores
that password. This variable does NOT hold the password required to
continue! For security reasons, the %_SB_PASSWORD% variable can't be
pre-set -- the user has to enter it.

But you can build your own password dialog (e.g. using the "Custom Wizard
Dialog") and then handle the password verification on your own, no problem.
Then you can pre-set it (e.g. using a compiler variable from your command
line compile).

Friedrich