Re: LoginPrompt - dialog box

From: Marlin (softdev_at_hcjb.org)
Date: 01/20/04


Date: Tue, 20 Jan 2004 15:23:13 -0700

Thanks Brian,

If I set loginprompt to false where do I call my dialog box from in the
code?

If I leave a connection to true at design time, at runtime it tries to
connect without my asking and I'm not sure where to put the call for my
dialog box.

Thanks,
Marlin

Brian Bushay TeamB wrote:
>>I was wondering a clean way to keep the LoginPrompt dialog box open
>>until the user either closes it by clicking cancel or types a valid user
>>name and password combination. If it is an invalid username/password
>>combination I would like to notify the user but keep the dialog box open.
>>
>>Any ideas?
>
> Set loginprompt to false and create your own password dialogbox. That way you
> have complete control. When the user presses OK you can take the username and
> password and attempt a login. If the login fails notify the user.
> --
> Brian Bushay (TeamB)
> Bbushay@NMPLS.com