Reading from text files...

b3jsd73jfx

Active member
Joined
Mar 6, 2006
Messages
28
Programming Experience
1-3
Alright, I've made this program that goes to a blog site and checks if any of the specified users have updated their site. The specified usernames are stored in a normal text file, one username per line. When the program loads up, it opens the text file, reads each username into an array, closes the files and then puts that array in a list box. Now normally this program works fine.
Lately though, i've been trying to give it a "Run on windows startup" option. The user checks a checkbox and then it adds the program into the startup registry for current user (HKCU > Software > Microsoft > Windows > CurrentVersion > Run) and it adds in the program. This part works fine (as does unchecking the checkbox to get rid of the registry value).
When I restart my computer though, the program loads up, but doesn't load any of the users. I have no idea why. Any clues?
 
Back
Top