DirDrill 1.0
Downloads:
Publisher: Karl E. Peterson
File size: 6KB
OS: Windows XP, 2000, 98, Me, NT
Date added: 2009-10-27
Homepage: http://vb.mvps.org/
Category: Development
DirDrill 1.0 Description
"Demonstrates recursive use of VB's Dir function."
Editor: if you call a function recursively from within a Dir loop you are asking for serious trouble. The reason for this is that Dir uses a single hFindFile handle with a series of FindFirstFile / FindNextFile / FindClose API calls. The design is simple and elegant, and you're stuck with its limitations.
So what can you do to drill down recursively through a folder hierarchy, looking for all (or specific) files under a given location? Your choices come down to writing your own version of Dir, with each recursive call starting a new call to FindFirstFile, and storing a unique hFileFile handle. Or, using Dir smartly.
To use Dir recursively, The Secret is to run two loops within each level. The first Dir loop scans for all matching files and folders. Folders are stored in one array, files in another. When that initial loop is completed, run another loop passing each element of the Folders array to this same function. Simple concept, horribly botched time and time again you can free download DirDrill 1.0 now.
DirDrill 1.0 Keywords
DirDrill 1.0 Related Software
- CustomBlt
Provides TransBlt and TileBlt routines for transparent and tiled bitblts. - LongScroll
Provides support for Long (32-bit) values with standard scrollbars; - BcHelp
Can be used to quickly open the right help page in your browser - VBBubble
Add multiline and text alignment support to your VB tooltips - MovedMsg
Position a MsgBox anywhere on screen, or directly over specified window. - RegSettings
Replacement for VB's native registry functions. - ShellLink
Read and write shortcut files from managed code. - Mainboard DMI Information Viewer
Report make and model of the motherboard as well as a wealth of information - COMRunDll
A simple wrapper that enables COM serversto be called from Rundll32.exe - HookMe
Native subclassing technique for VB5/6. Extremely clean. - DirDrill
Demonstrates recursive use of VB's Dir function. - ListSearch
- Dynamic PInvoke method calls
Gives you the ability to build and execute code at runtime. - Shell Namespaces
Create a namespace extension. - ThemeMe
A utility for embedding a manifest resource in an executable file - EnumMsgs
Enumerates the list of strings Windows maintains for things like - EnumRes
Enumerates resources embedded within any file, and displays many standard types. - Assembly Cache Viewer
A tool window add-in for Visual Studio .NET - Command output
Capture the output of a console application into a VB String - OpSys
Determine what operating system your application is running under. - ObjArrays
Create an array of objects that provide WithEvents functionality.
DirDrill 1.0 Publisher's Software
Popular Searches
Hot Downloads Software
New Release Software