Posted by WAllison on December 20, 2001 at 00:26:52:
In Reply to: LOGIN posted by deadlock on October 04, 2001 at 14:37:49:
The easiest way to do it would be to create a form with 2 mask edits(Username/Password) plus 2 buttons(use bitbtns and set results to mrOK and mrCancel). Then call it with:
if FormName.ShowModal = mrOK(this is returned when the bitbtn is pressed - mrCancel for cancel(obvious) then try and validate the username/password - these will need to be stored somewhere - possibly in a file - you may need to encrypt the passwords.