Utilities Class
Entisoft Tools 2.0 Object Library
Version 2.1 Build 208
<-- Previous || Index || Main || Topics || Next -->Declarations Section, CommentFile Function, CommentFileSample Sub, CopyFile Function, CopyFileSample Sub, CopyFileAlgorithm Function, CopyFileAlgorithmSample Sub, CopyFileBlock Function, CopyFileBlockSample Sub, CopyFilesRenamingDuplicates Function, CopyFilesRenamingDuplicatesSample Sub, CopyFilesToSubDirectories Function, CopyFilesToSubDirectoriesSample Sub, DuplicateFileNames Function, EveryNthFileLine Function, EveryNthFileLineSample Sub, FileLinesLike Function, FileLinesLikeSample Sub, FileLinesLikeToString Function, FileLinesLikeToStringSample Sub, MaxLengthFileLines Function, MaxLengthFileLinesSample Sub, ReplaceStringInFiles Function, ReplaceStringInFilesSample Sub, SampleNFileLines Function, SampleNFileLinesSample Sub, SortFileLines Function, SortFileLinesSample Sub, UniqueFileLines Function, UniqueFileLinesSample Sub, WrapFileLines Function, WrapFileLinesSample Sub
- Declarations Section
- Comment File Function
- Add some string to the beginning and/or end of every line of a file. Note: This algorithm does not work well on files containing EOF (^Z) characters, because of known problems with the Open Input statement.
- Comment File Sample Sub
- Copy File Function
- Uses the Visual Basic 4.0 FileCopy statement to copy a file.
- Copy File Sample Sub
- Copy File Algorithm Function
- Copy a disk file using VB file I/O functions. Date and time of new file set to current date and time. Function returns True upon success and False upon failure.
- Copy File Algorithm Sample Sub
- Copy File Block Function
- Copy a disk file using VB file I/O functions. Date and time of new file set to current date and time. Function returns True upon success and False upon failure.
- Copy File Block Sample Sub
- Copy Files Renaming Duplicates Function
- Copy Files Renaming Duplicates Sample Sub
- Copy Files To Sub Directories Function
- Copy Files To Sub Directories Sample Sub
- Duplicate File Names Function
- Every Nth File Line Function
- Print every Nth line of a file, starting with line #1. Using 10 for vNthLine would cause this function to print lines #1, #11, #21, etc. Returns True upon success.
- Every Nth File Line Sample Sub
- File Lines Like Function
- Print the lines of a text file which match some pattern. Returns True upon success.
- File Lines Like Sample Sub
- File Lines Like To String Function
- Returns a string containing the lines of a text file which match some pattern. Returns empty upon failure.
- File Lines Like To String Sample Sub
- Max Length File Lines Function
- "Maximum Length Of File Lines"
- Max Length File Lines Sample Sub
- Replace String In Files Function
- Make string replacements in the files in a subdirectory hierarchy.
- Replace String In Files Sample Sub
- Sample N File Lines Function
- Print N line of from a file, IF NLines is 5 and the file contains 100 lines, something like lines numbered 10, 30, 50, 70, and 90 would be printed. Returns empty upon failure.
- Sample N File Lines Sample Sub
- Sort File Lines Function
- Sort File Lines Sample Sub
- Unique File Lines Function
- Remove adjacent duplicate file lines.
- Unique File Lines Sample Sub
- Wrap File Lines Function
- Remove adjacent duplicate line.
- Wrap File Lines Sample Sub
This Windows-based ActiveX DLL provides many useful routines through its function-bearing and data structure classes. Consult the Help file for more information, or call us at 1-310-472-3736. For the latest news and files, visit our home page on the World Wide Web: http://www.entisoft.com
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.