Thursday, April 5, 2012

Files And Directory




Free download File and directory Visual Basic 6

  1. All Purpose File-Directory-Drive Exists Module: This is a .bas modules that contains all the code you need to check if a file, directory, or drive exists. Author: Kenneth Ives.....download
  2. 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. Author: Roman Bobik.....download
  3. 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. Author: Remus Bodean.....download
  4. Building Randomly Generated Test Files: This program builds randomly generated test files. Author: Kenneth Ives.....download
  5. CSV File Reading Class: This class simplifys the extraction of information from comma seperated value (CSV) files. Author: Anonymous.....download
  6. Change a file extension: Change a file extension. Author: Martin Wildam.....download
  7. 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. Author: Tinus Joubert.....download
  8. Changing a file extension: Change the file extension of a file. Author: Sam Huggill.....download
  9. Contact Manager Using Random Access Files: This is a simple address book that uses Random Access Files instead of a database to store information. Author: Maged Said.....download
  10. 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?. Author: VBPJ TechTips 9.....download
  11. Copy multiple files using ListBoxes: This application provides a user interface for copying multiple file from one subdirectory to another. Author: Ali Ezzahir.....download
  12. 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. Author: Ramon Antonio Gimenez.....download
  13. Count Lines of Code and Search for a String in a VB Project: This tool has two bits of functionality. Author: John Conwell.....download
  14. Create File Association with default icon: Links file types with a application and set the file type's default icon. Author: Damien McGivern.....download
  15. 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. Author: Byce Jacob.....download
  16. Delete a file: Simple file deletion. Author: Sam Huggill.....download
  17. Detect if a file exists: Use Dir$ to see if a file exists. Author: Sam Huggill.....download
  18. 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. Author: Waty.....download
  19. 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. Author: Anonymous.....download
  20. 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.... Author: Patrick Herbst.....download
  21. Display the Browse for Folder Dialog: Use this code to display the browse for folder dialog box. Author: Alex Kai.....download
  22. Encryption and Decryption for Strings and Files: This is a little utility that allows you to encrypt files, using a common encryption algorithm that has been modified slightly by the author. Author: Peder Larsen.....download
  23. Enigma-File Encryption Application: This application allows you to encrypt files. It also is a good demonstration of Tip of the Day functionality. Author: Alexander Levakov.....download
  24. Execute a file with its default program: Use the API to launch a program from a file. Author: Sam Huggill.....download
  25. Explorer File Capabilities: Move, copy, delete, rename and many more operations. Author: Sam Huggill.....download
  26. Export a grid to a file: This piece of code allows you to export the contents of an MSGrid or MSFlexiGrid to an ASCII file. Author: Sam Huggill.....download
  27. Fast Routine to Check File Existance: To check if a file exists, many people use the Dir function but that function can be slow and fails if you are going to check drives that aren't ready. Author: Rizwan Tahir.....download
  28. File Handling Module: Functions to get a file's attributes, get Created/Last modified times, to read/write files as a single string chunk, get a directory structure as a collection, check if a file exists, and collect the ShortPath. Author: Anne-Lise Pasch.....download
  29. File Replicator 1-2-3 v2.0: Replicator 1-2-3 is similar to a robocopy, but has GUI and replicates files of folders to multiple hosts at once. Author: Gurgen Alaverdian.....download
  30. File System Browser: This application lets you browse and manipulate files from a drive without using a drive list box, directory list box, or file list box. It only uses text boxes. Author: Ali Ezzahir.....download
  31. File System Class: This is a small class written entirely in VB to create and read files like in C. I am primarily a developer using Clipper, C and assembler so I find this to be the most natural way to access files. Author: Girish Chandra.....download
  32. File System Object: The File System Object can copy files, moves files, copy folders, move folders, check for file/folder exsists and more in a very simple way. Author: Jason Kohonen.....download
  33. File System Object Module: This module encapsulates much of the functionality of the File System Object. Author: Kenneth Ives.....download
  34. Fill a list box with dirs and drives: Fill a list box with dirs and drives. Author: Sam Huggill.....download
  35. Find File: Find a file using the API. Author: Sam Huggill.....download
  36. Find and Replace Strings in Binary or Text Files: String Finder 1.0 can be used for finding and replacing requested strings (name, path, character etc.) in a binary (or text) file. Author: Erdogan Tan.....download
  37. FixCode Version 1.3-Make multi-line Changes within Files: This program is designed to make changes to VB forms, modules, or any other text file. The upgrade to Version 1.3 was published here on 07/17/2000. Author: Donn Edwards.....download
  38. Folder Browsing and Manipulation Application: This application lets you browse folder and files on your system, view folder properties, and create or delete folders. Author: Maged Said.....download
  39. Format drive dialog: If you look through MS documentation on the SH API calls you will see that there are many interesting and useful functions. This tip manipulates one of these calls, the SHFormatDrive. Author: Sam Huggill.....download
  40. Generic File Handling Functions: This is a .bas module that includes the following functions:... Author: Anne-Lise Pasch.....download
  41. Get a Relative Path: Pass two path strings to this function an it will return the th first path relative to the second. Author: johannes kutsam.....download
  42. Get a drives drive and volume info: Get the volume name, volume number, filesystem, drivetype and more!. Author: Sam Huggill.....download
  43. Get a list of registered file types: Retrieve a list of all the registered file type found in HKEY_CLASSES_ROOT. Author: Sam Huggill.....download
  44. Get the system directory: Get the path to the Windows\System directory. Author: Sam Huggill.....download
  45. GetFile - ActiveX Control: Control consisting of a text box and a button. User clicks the button, dialog shown (using CDlgEx class, included), resulting file put into text box. See readme.txt for more info. Author: Andrew Davey.....download
  46. INI File Manipulation Class Module: clsIniFile.cls is by far the EZiest method available for INI File manipulation. Author: Dave Keighan.....download
  47. INI file Manager DLL: An activex dll that includes basic functions for working with .ini files. A simple sample client is included. Author: Ran Ben Oved.....download
  48. Import Multiple Files into a TreePad file: TreePad is a freeware personal information manager (http://www.treepad.com). Although it has an option to import multiple files, the files must be in the same directory. Author: redbird77.....download
  49. Join any Number of Files into One File: Using 'Private Sub Command1_Click() 'ConCatFiles "c:\temp.txt", "c:\autoexec.bat", "c:\config.sys", _ '"c:\msdos.sys" 'End Sub 'Result - output file "c:\temp.txt" is a sum of all three source files. Author: Arkadiy Olovyannikov.....download
  50. List Available Drives and Drive Information: his application help you to get the available disk drives in your computer (C:, D:, E:, F:, etc.). Author: Abdulaziz.....download
  51. List Recently Used Files in Your File Menu: This is a module that makes it easy to add recently used files to your file menu, such as the four most recent documents opened that appear at the bottom of the MS Word File menu. Author: Colin caprani.....download
  52. List all Directories: Pass in the starting directory to get an array of all directories below starting point. Can be modified to return files etc. Author: Craig Duffy.....download
  53. Make a file association: When you double click on a file, it opens its registered program. Setup a file association with your program to do just that. Author: Sam Huggill.....download
  54. Open a File with its Associated Application: The following code will open a file with its associated application. This code uses a function in the module at http://www.freevbcode.com/ShowCode.Asp?ID=314 in order to access the registry. Author: Guillaume Serre.....download
  55. Open a file: A very simple file open routine. Author: Sam Huggill.....download
  56. Path Manipulation Routines-GetRelativePath and GetCompact Path: Routines for path manipulation using the shlwapi.dll type library that comes with Internet Explorer. Author: Phil Fresle.....download
  57. Print a file: Simple printing. Author: Sam Huggill.....download
  58. Realtime Log Watcher: With this application, you can monitor log files in realtime. Author: guha.....download
  59. Recurse through a Directory structure: Requires you have 'scrrun.dll' VBScript dll installed on your PC, which come with VB6, but can be used with VB5. Author: Scott.....download
  60. Recursive File Search: This function uses the API to search directories and (optionally) all its subdirectories for files, and adds the files to a list view control. Author: Stefan.....download
  61. Retrieve ONLY the requested part of a File Name: Function to return the Name, Extension , Name and Extension or Path from a fully qualified path. Author: Brian Gillham.....download
  62. Retrieve Path Info for-Description of Shortcut Targets: This a VB project and a small C++ DLL (20kb) to extract the full path to the target of a shortcut. Author: Anonymous.....download
  63. Retrieving the short path name: If you are working with older opertaing systems or FTP, then you may need to convert a long path (c:\mylongfoldername\mylongfile.txt) to a short path version. Author: Sam Huggill.....download
  64. Reusable AppPath Routine: App.path can give you errors, so use this routine. Author: Sam Huggill.....download
  65. SHGetFileInfo API Function Demo: The SHGetFileInfo API can retrieve the handle and location of icon displayed for a file type, the type of a file, file attributes and others. Author: ali.....download
  66. Save a file: A very simple file save routine. Author: Sam Huggill.....download
  67. Scan For-Delete Empty Folders: This application allows you to scan theselected drive for empty folder (including recursive empty folders), as well as for folders with zero-length files and delete them. Author: Arkadiy Olovyannikov.....download
  68. Search Directories or Hard Drive for Picture Files: PicFinder is a utility program that search the selected directory or drive for picture files (i.e., files with the extension .gif, .jpg, .bmp, .ico, or .wmf.). Author: Maged Said.....download
  69. Search For, Preview, and Open Files: Nice utility to search for files, preview those found and open them in an associated application. Author: Maged Said.....download
  70. Search Hard Drive for MP3 Files: This application searches the selected hard drive for MP3 files, displays found files along with their information in a listview control, and plays the file when it is double-clicked. Author: Manjuke Fernando.....download
  71. Search Text Files: Quick and easy to use search function. Find a string in any number of text files. Author: Amitai Laufer.....download
  72. Search and Copy Files-Register .DLLS and OCXs as they are Copied: Files recursive search, copy, delete and register *.dll,*.ocx. Author: Alex.....download
  73. Sequential File Writing Function: Easy to call function for writing sequential files. Designed specifically for error logs or other kinds of loggin activities. Author: Brent.....download
  74. Set the volume label: Set the volume label of a hard disk. Author: Sam Huggill.....download
  75. Show File Properties Dialog for a Specified File: The function returns true upon success and false if it fails. It will display the file properties dialog for the file that it is passed. Author: ali.....download
  76. Split-Join Files: This is very simple and easy to use. Helpful fo spanning large files across media such as floppies. Author: Bejju Devender.....download
  77. Three Different Methods of Enumerating Files in a Folder: This module (a sample app is included) contains three different ways (API, the Dir method, and the file system object) of recursively enumerating the names of files in a folder. Author: Arkadiy Olovyannikov.....download
  78. Update Date-Time Stamp on Zip Files Version 1.4: Have you ever downloaded a ZIP file only to have display in explorer with the download date? Then when you open it, all the files are dated other than the external date. Of course you have and it is frustrating, especially when you think you are downloading an updated ZIP file. That is why I wrote this program. Author: Kenneth Ives.....download
  79. Use INI Files: You may still need to use INI files in your applications - this tip shows you how. Author: Sam Huggill.....download
  80. VB Windows Explorer: This is a VB application that allows you to view files and directories on the system. Author: Ali Ezzahir.....download
  81. Variation of Common Dialog Using File System Object: This Demo show how to use the FileSystemObject in creating your own file open/save/find/sort files dialog box. Author: Ethan.....download
  82. XCopy in VB: This module contains a function that allows you to perform a DOS-style xcopy of files from a directory to another. Author: Ormond Stock.....download

wait for the next source code.....

1 comment: