Well I don't know what you want to do but here issome information:
'Get the next availiable file number next_free_file_number = FreeFile 'open the text file in input mode. Open "file.txt" For Input As next_free_file_number 'while your not at the end of the file loop While Not EOF(next_free_file_number) 'Do proccessing in this loop 'read in a value from the text file 'this syntax is mainly for a text file written with the write command 'because it reads in from " " Input #next_free_file_number, some_variable 'This syntax will read in a whole line from the file until it hits a 'new line character i think. Line Input #next_free_file_number, some_variable 'You can also use this syntax to read a certain number of character 'at a time into a variable some_variable = Input(Number_of_character_to_read, #next_free_file_number) Wend 'close the file when you are done. Close (next_free_file_number)
Here are some common function to look into, they are for handling strings.
Compare two strings. StrCompConvert strings. StrConvConvert to lowercase or uppercase. Format, LCase, UCaseCreate string of repeating character. Space, StringFind length of a string. LenFormat a string. FormatJustify a string. LSet, RSetManipulate strings. InStr, Left, LTrim, Mid, Right, RTrim, TrimSet string comparison rules. Option CompareWork with ASCII and ANSI values. Asc, Chr
I hope this isn't to basic for you. If there is something more specific that you are tryingto do feel free to e-mail me.
Good Luck,Paul Sprague
It looks like you're new here. If you want to get involved, click one of these buttons!