|
-
May 20th, 2005, 09:33 AM
#10
Re: bad filename error :( (vb6)
No, I guess it isn't working.
'Set the string you want to find in the file.
strValueToFind = tmp
'strValueToFind will be replaced with a line from the file, so it looses it's original value.
Line Input #intFileNumber, strValueToFind
' this line doesn't make any sense, you check if the line you just read from the file can be found in the filenumber (probably just 1)
If InStr(intFileNumber, strValueToFind) > 0 Then
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|