Topic: [Script] Login with username/password with different rights

Login with username/password with different rights


Download project:
http://myvisualdatabase.com/forum/misc. … download=1



Same project, but user can change own password (SQLite):
http://myvisualdatabase.com/forum/misc. … download=1


Same project, but user can change own password (MySQL):
http://myvisualdatabase.com/forum/misc. … download=1

Dmitry.

2 (edited by identity 2016-01-30 06:37:02)

Re: [Script] Login with username/password with different rights

Hi
is there a way that in the FrmLogin instead of the textbox for username, a combobox is used?
a Combobox with 2 usernames: Admin and User
and also can this script be used for the version 1.45?
thanks

Re: [Script] Login with username/password with different rights

identity wrote:

Hi
is there a way that in the FrmLogin instead of the textbox for username, a combobox is used?
a Combobox with 2 usernames: Admin and User
and also can this script be used for the version 1.45?
thanks


Hello,


An example for you:

Post's attachments

Attachment icon LoginEx - ComboBox.zip 38.55 kb, 1490 downloads since 2016-02-01 

Dmitry.

Re: [Script] Login with username/password with different rights

i copied the whole script, crated the right forms with the same names and replaced what had to be replaced.
Its not working for me and its not even hiding the password when i try it.... maybe it has something to do with the suser at the start?
Im almost noob btw. The text boxes and everything is named correctly. no errors when starting the exe

Re: [Script] Login with username/password with different rights

stelios91 wrote:

i copied the whole script, crated the right forms with the same names and replaced what had to be replaced.
Its not working for me and its not even hiding the password when i try it.... maybe it has something to do with the suser at the start?
Im almost noob btw. The text boxes and everything is named correctly. no errors when starting the exe

Ofter mistake is when you just copy events of procedures to your script, but you should create them, please check it out, how to create events for components:
http://myvisualdatabase.com/help_en/scr … rview.html

Dmitry.