David's Projects
Updated October 8, 2002
Here are a few things I've put together or collected in the time
I've been programming. Maybe you'll find something useful here ...
FaveList (190k) - Listing and manipulating Internet Explorer Favorites in VB5/6 was quite a code-intensive task. Just getting the Favorites listing itself could be daunting, particularly for a beginner. Automatically updating a displayed list of Favorites was literally impossible without MsgHook or something from Dan Appleman. Things are different regarding listing and manipulating Favorites with VB.NET. Finding the Favorites path itself is greatly simplified, with no declarations required. Listing them
in a ListView becomes a simple task requiring little code that's easy to follow. And the automatic updates are a piece of cake. This has all been bundled into a single sample.
DocRun (176k) [changed
to 8.3 format to be compatible with ISO 9660] - Ever
wanted to autorun an HTML, PDF, CHM, or other file type from a CD?
This little package will let you do it. Just change the file name in
the included docrun.ini file to the name of your file, make sure the
included autorun.inf, docrun.exe, and modified docrun.ini files are
included on the CD with your file, and it'll work just fine. The
docrun.ini file also gives the capability to open the resulting
window in a normal or maximized view. A sample HTML file is included
to illustrate how this works, and complete instructions are in
comment form in the docrun.ini file. Works on all versions of
Windows from 95 onward
with AutoPlay enabled.
ShellLink Library (172k) -
Currently in beta, this ActiveX control will allow you to place an
icon either on the desktop or on the Start menu. The zip file
currently contains the DLL and a readme file describing the usage.
Disk Duplication Utility (230k)
GetLongPath_Legacy
(originally published on a Microsoft eZine) - Developed out of necessity,
this function takes a short file name and correctly converts it to a
long file name as long as the long file name exists on the system.
On newer systems, the GetLongPathName API call in kernel32 is used
instead.
Unsupported
Extras On The VB5 CD (published on VBExplorer) - There are lots
of hidden treasures on the VB CD that are easy to overlook since
they don't get installed automatically. Follow along as I talk a
little about these extras and create a project that uses the
unsupported calendar control. What you learn will help you if you
decide to explore some of the other nuggets on the CD. Have Fun!
(The code for this paper is available here.)
MsgHook (151k) - Courtesy Zane
Thomas and the fine folks at Mabry,
this freeware control takes the "oops!" out of subclassing
for VB developers.
|