|
-
May 28th, 2000, 02:45 AM
#1
how would i go about searching a txt file for a certain string of characters. I want to move all txt files with a certain string out of 1 folder into another.
-
May 28th, 2000, 04:45 AM
#2
Open the Text file in a hidden TextBox, then use the InStr function to find the string. If the string is found, then use the MoveFile API to move the file to it's new directory.
-
May 28th, 2000, 06:32 AM
#3
Fanatic Member
Why use a text box? why not just a string?
Apart from limiting the size of the text you can load it would slow things down.
Paul Dwyer 
Network Engineer
Aussie In Tokyo
Using Powerbasic 6 & VB6 SP4 (Please also add your VB Version to your signature!)
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
|