8ball Posted September 16, 2009 Posted September 16, 2009 I want to take a text file with data stored on each line, then have my VB program take each line and assign it a variable. If anyone can help me on this I would deeply appreciate it. Thanks. Quote
Administrators PlausiblyDamp Posted September 16, 2009 Administrators Posted September 16, 2009 Do you have any code written so far? The easiest way would be to use a StreamReader class to read the file by calling it's ReadLine method in a loop and assign it's return to the variable in question. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
8ball Posted September 19, 2009 Author Posted September 19, 2009 Ok, thanks I'll give it a shot. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.