user login

aegis3ro
01-27-2004, 07:39 AM
is there anybody who can help me with a login module in vb.net?
i really need one
tkx.,,,,,

Optikal
01-27-2004, 07:52 AM
what do you need help with? what have you tried and what problems are you having?

aegis3ro
01-27-2004, 07:55 AM
u know, in 6.0 i was using .txt encripted files to do this(i never was forced to use a .mdb)

now i allready have a big data base(general db) and let's say one separately for users

how do i acces the users.mdb to create, edit, login, logout users?

Optikal
01-27-2004, 07:59 AM
There is no reason you can't do things the same way you did in VB6. To access an MDB you would use ADO.Net, there is a large section in MSDN explaining how to use ADO.Net.

aegis3ro
01-27-2004, 08:17 AM
what i was saying is that i am forced to use mdb now in this module
and i duuno how to add or search for records(users, passwords)

Optikal
01-27-2004, 08:23 AM
why are you forced to use an mdb?

aegis3ro
01-27-2004, 08:33 AM
why are you forced to use an mdb?
cause users and passwords must be protected by db's password(this is what my teacher wants )

lebb
01-27-2004, 09:45 AM
Since this is a homework assignment, we're going to need to see a lot more effort on your own part first before helping you with code. What have you tried already? And as Optikal pointed out, MSDN covers ADO.NET in quite a lot of detail, so you should have plenty of examples to start from.

aegis3ro
01-28-2004, 05:40 AM
i decided to use a text file to store passwords and user names
those will be set by administartor(he will be able to add users and to remove them)

now it is a problem........again
i cant store more than 1 user in that txt file(everytime i try to record a new user, this one replaces the old one)

Iceplug
01-28-2004, 06:37 AM
Open the file in Append mode, so that the data is added to the end of the file. :)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum