473,395 Members | 2,467 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

password

lee123
556 512MB
How do you put a password on a delete button if you don't want anyone deleting any records on a form - is this possible?

lee123
Dec 30 '07 #1
12 1372
creative1
274 100+
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
Dec 30 '07 #2
Killer42
8,435 Expert 8TB
How do you put a password on a delete button if you don't want anyone deleting any records on a form - is this possible?
In what version of VB?
Dec 31 '07 #3
lee123
556 512MB
in version vb6

lee123
Dec 31 '07 #4
debasisdas
8,127 Expert 4TB
At login create 2 kinds of login:

1. Admin users
2. Normal users

and make the delete button available only for admin users, not for others.
Dec 31 '07 #5
lee123
556 512MB
Well I figured out how to do this but I still have a problem. How would I make a way for the user to create his/her own password? Is that possible?

lee123
Dec 31 '07 #6
lotus18
866 512MB
Well I figured out how to do this but I still have a problem. How would I make a way for the user to create his/her own password? is that possible?

lee123
Yes it is possible but be sure the admin should monitor all the password of the user. : )

Rey Sean
Jan 1 '08 #7
werks
220 100+
Well I figured out how to do this but I still have a problem. How would I make a way for the user to create his/her own password? Is that possible?

lee123

Hi,

just like "debasisdas" said just set the "cmdDelete.Enabled = False" when login as Normal User, and enabled it when login as Admin..


Better than Yesterday
Jan 1 '08 #8
debasisdas
8,127 Expert 4TB
Well I figured out how to do this but I still have a problem. How would I make a way for the user to create his/her own password? Is that possible?

lee123
but how do you plan to save the username and password ?
Jan 2 '08 #9
jamesd0142
469 256MB
I've solved this problem by using an access database, and some home made encryption on the password field.
Jan 2 '08 #10
raids51
59
i dont know any thing about vb6 but in vb.net you can use settings
Jan 3 '08 #11
daniel aristidou
491 256MB
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
Jan 3 '08 #12
daniel aristidou
491 256MB
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.

Daniel(~_~)
Jan 3 '08 #13

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: John Victor | last post by:
In my mysql database, I've stored all the passwords using the PASSWORD() function. Now I'm running a test and need to compare the password in my php document to that saved in the database. I used...
3
by: arktikturtle | last post by:
Hi! I'm looking for a way to validate a password within PL/SQL. I want to write CREATE PROCEDURE change_password(old_password IN VARCHAR2) IS BEGIN -- check if old_password is correct... but...
2
by: Jill Elaine | last post by:
I am building an Access 2002 frontend with linked tables to an encrypted Paradox 7 database. When I first create these linked tables, I'm asked for the password to the encrypted Paradox database,...
10
by: Fabrizio | last post by:
(Sorry for the crosspost, but I really don't know which is the right newsgroup!) Hi all, I try to change the password to a user that as to change the password at first logon: try {
6
by: Andre Ranieri | last post by:
I'm trying to create a login page for customers to log into our corporate website, our presidents naturally wants the user and password fields to populate from a cookie so the customer doesn't have...
5
by: scorpion53061 | last post by:
is it possible to set the database password that you can set in access for a database from a vb.net application?
26
by: David Garamond | last post by:
I read that the password hash in pg_shadow is salted with username. Is this still the case? If so, since probably 99% of all PostgreSQL has "postgres" as the superuser name, wouldn't it be better...
8
by: Katash | last post by:
Hello, I am new to PHP and am working on a login system for my site, currently supplied passwords are passed to MySQL and stored as md5 hashes, my question is :- seeing as md5 is 1 way only what...
3
by: julianmoors | last post by:
Hey, Currently I'm writing a VB.NET/1.1 app and I need to mask the input for the password field. Does anyone know how to do this in VB? I've seen a C# example, but wouldn't know how to convert...
2
by: DarthPeePee | last post by:
Hello everyone. I am working on a Password Strength Meter and I am running into 1 problem that I would like to fix. When pressing the "Clear Password & Try Again" button, the password clears...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.