the best way to do this is to store the usernames and passwords into a database, then connect your vb6 app to the database. there are many threads on this already.