starcraft Posted August 8, 2003 Posted August 8, 2003 I have so many usernames and passwords i cant keep trake of them all. So i made a password program that takes the title\username\password and wights a file. Well then i made a viewer so i could look at the passwords but i wont to create a way to remove an entry. ok heres how i hope it will work: They click button1 and it shows textbox1-3 they type the EXACT information and if it matchs an entry it removes all three items Quote
Leaders quwiltw Posted August 8, 2003 Leaders Posted August 8, 2003 Depending on what you mean by "so many", I think I'd create a simple little Password class that has the three properties you want (marked Serializable) then store them in an arraylist and any time you add or remove an item just serialize the arraylist. The confirming on removal should be trivial at that point because you could just get the password object and test it's values against what the user typed in. Now by "so many", if you mean more than you'd want to sit in memory as a whole, then I'd say you should be using a different technology (LDAP, Database, etc.) to be doing this. Quote --tim
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.