Visual Basic Codes
ActiveX
Miscellaneous
Applications
Code Snippets
Common Dialogs
Special Effects
Database Stuff
Date Time
Files Drives
Forms
Graphics Games
Internet Stuff
Multimedia
Other
Strings
Windows
Visual Basic > Files Directories Drives sample source codes
Adding A Number To A Filename
Associate a file with a file extension
Changing a files created, modified and accessed times.
Check if file already exists
Compact a file path to fit a control
Compare two file version numbers
Comparing the contents of two files
Compress-uncompress an file or directory
Converting File Path names to paths or files
Copy files using the File Copy Shell
Copy, move, delete and browse for folder
Copying, renaming and deleting files
Create a directory structure
Create a name for a temporary file
Creating a unique file name
Delete all files in given directory
Delete files in a directory which match a criteria
Delete Multiple Files
Determine if a File is open
Determine if file is a Windows or DOS executable
Displaying HTML help files
Encrypt a file-folder (Windows 2000)
Example with File Open-Save as
Execute files like shortcut .lnk files
Extracting the icon from a file
Find a File on a Drive-Directory
Find a file on a drive-path
Find the path of the executable associated with a file
Finding Free Disk Space
Get File Version Information Details (OCX, EXE, DLL etc)
Get icons from exe-dll files
Get only the filename
Get or Put a File in 1 Line of code
Get the (sub)directorys
Get the Short Path Name
Get the shortfilename (8.3)
Getting and Setting File Attributes
Getting disk serial and freespace
Getting the Long Filename
Getting the Short Filename
How to create a file directory and subdirectories at runtime.
How to fill a listbox with files, directories and drives.
How to parse the path, file name and extension from a string.
How to shorten a long directory name.
Join the contents of two files together
List and delete files in the internet cache (inc. cookies)
Loading and saving ADO recordsets to XML files
Locking and unlocking files
Make a associated filetype
Obtain the files stored in a directory
Read and write to an INI file.
Reading and writing binary data from files
Reading document properties from a closed file or document
Reading text files (into arrays or string variables)
Recursively search all files in directory structure
Removing A FileName From A Path
Removing Paths and Extensions
Retrieve the old dos filenames from the Win95 or Win98 Long filenames
Send files or folders-directories to the Recycle bin
Splitting and joining files (used in installation)
Use the RecycleBin to delete files
Using a helpfile
Using INI-files with your application
Working with textfiles (Open etc)
Privacy Policy
|
Link to Us
|
Links