VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Replace text in file

by Andy Pearson (2 Submissions)
Category: Complete Applications
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (5 Votes)

Reads a file, replaces all occurrance of a string with a new string and writes result to a new file.
This is a very simple program, but it works tons faster than Notepad's (and many other programs') replace for large files. Note: The "Entire File" option allows replacing text accross lines, but requires reading whole file at once, so it won't work well for large files. Possible enhancements would be multi-file support, file open dialogs, command line options, etc. I may add some of these features if requested or if I find use for them.

Rate Replace text in file

Download Replace text in file

Download Replace text in file (3 KB)

Replace text in file Comments

No comments have been posted about Replace text in file. Why not be the first to post a comment about Replace text in file.

Post your comment

Subject:
Message:
0/1000 characters