Hi,
If you have a main login/password form designed, you can call that form when a user presses the delete button. Then authenticate accordingly.
Good luck
i dont know any thing about vb6 but in vb.net you can use settings
A much simpler way of doing it would be to use an input box.
When the user clicks on the button a input box appears....if the password equals the input then it deletes the selected items.
Just suggestion ...also depends on the size and use of the program
but how do you plan to save the username and password ?
There is a post on reading passwords and username from a txt document (that can be encrypted) in the Howtos VB section.
I believe with some alterations to the code you find there, you could store the passwords and usernames. It probably requires some editing but it's nothing too difficult.
Comment