Hi i posted earlier with a login system and now i've improved it but there is still some errors. I wrote this code in my friend's laptop with visual studio 2010. it works but when i register a new user the program needs to be restarted before the program recognizes the new user and password, but when it comes to old user and passwords stored in the txt file it'll work just fine. My other problem is that when i transferred the code to my laptop with devc++ it won't accept even the old user and passwords. I can't download visual studio from dreamspark because the secure download manager won't let me(it says something about active scripting even tho i have it on). Help will be appreciated.