thanks for the share man this will be very useful, i am trying to make it so that the password's are generated to a list using file append text and a while(true) loop. problem is the while loop is just keep goign dn wont stop iv tryed break; with button click's ect, problem is i can click a button of the program says not responding. i know that the program is still running because my text file witch i am writing the passwords to keeps going up in size. i have been told to try using threads ect nt to sure how but im fairly new to c#.