All Purpose File-Directory-rive Exists Module: This is a .bas modules that contains all the code you need to check if a file, directory, or drive exists.
Binary Put-Get for Strings (with Unicode): These functions allow you to write and read (put/get) strings to/from a file opened in binary-mode. A unicode-version is also included.
Build Reports About Files on Drives: Builds simple report files (.txt); shows extension of files, size, number of files, grouped by extension type in each directory of a drive.
Building Randomly Generated Test Files: This program builds randomly generated test files.
CSV File Reading Class: This class simplifys the extraction of information from comma seperated value (CSV) files.
Changing a file extension: Change a file extension.
Change the Archive and Read-Only Attributes of a File: If you use a network to store copies of files, you could use a function to switch the archive attribute off.
Changing a file extension: Change the file extension of a file.
Contact Manager Using Random Access Files: This is a simple address book that uses Random Access Files instead of a database to store information.
Convert file size into proper strings: This tip helps you convert file sizes in bytes into proper strings such as “1.41 KB” or “1.32 MB.” Cool eh?.
Copy multiple files using ListBoxes: This application provides a user interface for copying multiple file from one subdirectory to another.
Count Files and Folders Using the FileSystem Object: This application lets you know how many files, folders and bytes there are given a certain folder as starting point.
Count Lines of Code and Search for a String in a VB Project:This tool has two bits of functionality.
Create File Association with default icon: Links file types with a application and set the file type’s default icon.
Create Shortcuts Anywhere Using Setup Toolkit functions: This utility allows you to quickly create a shortcut to any file on the desktop or anywhere else in your system.
Delete a file: Simple file deletion.
Detect if a file exists: Use Dir$ to see if a file exists.
Determine if a File Exists Using the Windows API:Using the DIR function may not be the best way to determine if a file exists, especially if you are using VB to compare two directories, and take action when the files do not match.
Display Explorer’s Right-Click Menu For a Given File: If you’ve ever wanted to display the Explorer right-click context menu in your VB app, then this is the code for you.
Display Windows Explorer-Type File and Directory Listings: I’ve often looked for Windows Explorer-type controls that would list the directories on a computer….