|
VBnet Table of Contents
Updated Sunday April 08, 2001
Listing by topic of the code, FAQ and reference pages currently available
on VBnet. Under each category, each code page is identified with its primary VBnet code section. Pages may be listed more than
once when methods encompass more than one category. To provide for faster loading article descriptions and development platform info have
been omitted; for a summary of the code page, visit the section noted in brackets.
This page is over 92k... please be patient while it
loads. |
Category
|
Topic
|
Animation (AVI) |
Animation (AVI)
File Collection (animation)
Obtaining AVI File Information via API (animation) |
|
|
Bitmaps
Icons
Images |
Adding Radio
Buttons to Any Menu to Replace the Default Checkmarks (bitmap, menu)
Animation (AVI) File Collection (helpers)
Calling the Windows PrintScreen Function Using keybd_event (bitmap)
Creating a Transparent Bitmap (bitmap)
Filling Polygonal Regions Using ExtFloodFill (bitmap)
GIF Licensing Issues for Microsoft Development Products (FAQ)
Manipulating Image Brightness with SetPixelV (bitmap)
Mimicking a Command Button ForeColor Property (intrinsic)
Displaying Bitmaps as Icons in Explorer View ('neet')
Mimicking the PrintScreen Function Using OLE (bitmap)
Mimicking the PrintScreen Function Using BitBlt (bitmap)
Obtaining Bitmap File Info without API (bitmap)
Retrieving an Associated 16x16 Icon Using SHGetFileInfo (icon)
Retrieving Both 16x16 and 32x32 Associated Icons Using SHGetFileInfo (icon)
Tiling an Image Across a Form (bitmap)
Variations on Mimicking the PrintScreen Function Using BitBlt (bitmap)
Viewing and Retrieving Imbedded Icons with ExtractIcon (icon)
Viewing and Retrieving Imbedded Icons with ExtractIcon, Advanced (icon)
Using a 16x16 Associated Icon in a Status Panel with SHGetFileInfo (icon) |
|
|
Browser |
Obtaining
Internet Explorer's Version (system)
Obtaining the Path and Filename of the Default Browser (fileapi)
Retrieving the Internet Cache with FindFirst/NextUrlCacheEntry (fileapi)
Starting Specified URLs in Separate Instances of the Default Browser (fileapi) |
|
|
Callbacks |
Browse
for Folders Callback Overview (callbacks)
Changing the Display Resolution from Visual Basic (system)
Changing the System Long and Short Date Formats with SetLocaleInfo (system, callbacks)
Centering the Open & Save Common Dialogs Using Callbacks (comctl, callbacks)
Centering the Open & Save Common Dialogs Using Callbacks, Advanced (comctl,
callbacks)
Enumerating and Restoring Windows (callbacks)
Enumerating the Available Display Resolutions (system)
Enumerating the Installed and Supported System Locales (callbacks)
Enumerating the System Fonts by Type (callbacks)
Enumerating the System Fonts with Preview (callbacks)
Enumerating Windows Using Callbacks (callbacks)
EnumWindows and EnumChildWindows Callbacks (callbacks)
Hooking the Open & Save Common Dialogs To Manipulate Components (comctl,
callbacks)
How to Enumerate the System Fonts using VB5 (callbacks)
Modifying a Message Box with SetWindowsHookEx
(callbacks)
Pre-selecting a Folder using the Browse Callback (callbacks)
Populating a Font Menu and Splitting a Long Menu into Columns (menu)
Obtaining a User's Regional Locale Date Settings with EnumDateFormats (system, callbacks)
Obtaining a User's Regional Locale Time Settings with EnumTimeFormats (system, callbacks)
Obtaining a User's System Calendar Information (system, callbacks)
Retrieving a User's Regional Locale Date Settings (system)
Sorting ListView ListItems Using Callbacks (com ctrl, callbacks)
Using CopyFileEx and Callback as a File Backup Mechanism (fileapi) |
|
|
Combo API |
Combo
Box Dropping (list/combo api)
Changing the Combo Dropdown Width (list/combo api)
Changing the Combo Dropdown Width, Advanced (list/combo api)
Changing the Combo Dropdown Height (list/combo api)
Duplicating List contents to another List or Combo Using SendMessage (list/combo api)
Killing the Default
Combo Box Edit Context Menu (subclassing)
Obtaining the Combo Box
Edit and List Handles on Win98/NT5 (list/combo api)
Obtaining the Combo Box Edit Window Handle (list/combo api)
Simulating 'MaxLength' in a Combo's Edit Box (list/combo api)
Substituting a Tabbed List for a Combo's Dropdown List (subclassing)
Substituting a ListView for a Combo's Dropdown List (subclassing)
Using a Combo in a MSFlexGrid (subclassing) |
|
|
Common
Controls API
(also see
individual
controls
below)
|
Creating the
Common Control Initialization Module (comctrl)
Creating the Common Control Flood Panel via the API - An Overview (comctrl)
Creating the Common Control Flood Panel via the API (comctrl)
Creating a Common Control Status Bar via the API - An Overview (comctrl)
Creating a Common Control Status Bar via the API (comctrl)
Creating a Common Control Header via the API (comctrl) |
|
|
Common
Dialogs API
|
File Open /
File Save Member Overview (comctrl)
File Open Dialog (comctrl)
File Save Dialog (comctrl)
Centering the Open & Save Common Dialogs Using Callbacks (comctl, callbacks)
Centering the Open & Save Common Dialogs Using Callbacks, Advanced (comctl,
callbacks)
Hooking the Open & Save Common Dialogs To Manipulate Components (comctl,
callbacks) |
|
|
Date / Time / Locale APIs |
Changing the
System Long and Short Date Formats with SetLocaleInfo (system, callbacks)
Detecting and Notifying Changes to the System Date/Time (subclassing)
Determining Daylight Saving Time with GetTimeZoneInformation (system)
Determining Current, Standard and Daylight Bias (system)
Determining a Locale's Standard and Daylight Time Zone Names (system)
Obtaining the Dates for Daylight and Standard Time Changes (system)
Enumerating the Installed and Supported System Locales (callbacks)
Obtaining a User's Regional Locale Date Settings with EnumDateFormats (system, callbacks)
Obtaining a User's Regional Locale Time Settings with EnumTimeFormats (system, callbacks)
Obtaining a User's System Calendar Information (system, callbacks)
Retrieving a User's Regional Locale Country Settings (system)
Retrieving a User's Regional Locale Currency Settings (system)
Retrieving a User's Regional Locale Date Settings (system)
Retrieving a User's Regional Locale Numeric Settings (system) |
|
|
Directories Disk Files
Associations |
Adding and
Manipulating Internet Favourites (win32 shell)
Adding and Manipulating Internet Favourites, Advanced (win32 shell)
Advanced Browse For Folders Dialog Features (win32 shell)
An API 'DriveExists' Routine (file api)
An API FileExists() Routine (file api)
An API 'FolderExists' Routine (file api)
Browsing in Win32/NT4 - An Overview (win32 shell)
Browse for Folders Dialog (win32 shell)
Browse for Folders Callback Overview (callbacks)
Changing File and/or Folder Attributes Recursively (file api)
Combining an Image and Text into a Single File (file api)
Combining Multiple Elements into a Single File (file api)
Create the "Kidz Quiz" project (projects)
Creating a Visual Basic File Association (registry)
Creating Temporary Files Using GetTempFileName (file api)
Pre-selecting a Folder using the Browse Callback (callbacks)
Deleting the Internet Cache (file api)
Determining Free Disk Space In Win32 (win32 shell)
Determining Free Disk Space on a Fat32 Drive (win32 shell)
Determining if a Floppy Drive is Ready (file api)
Determining the Name of the Executable Associated with a Specific File (system)
Enumerating Folders using the FindFirstFile and FindNextFile API (win32 shell)
Enumerating Folders using the FindFirstFile and FindNextFile API, Advanced (win32 shell)
File Open Dialog (comctrl)
File Save Dialog (comctrl)
FTP: Connecting To and Retrieving FTP File Listings (network)
FTP: Downloading Files via FTP (network)
FTP: Downloading Files Using the FTP Download Dialog (network)
How to Copy Files En-mass to a New Folder Using the CopyFile API (file api)
How to Copy or Move an Entire Directory using the API (win32 shell)
How to Create Nested Directories (file api)
How to Determine the Disk Volume Label and Serial Number (win32 shell)
How to Determine if a Specific Drive Exists (win32 shell)
How to Display Windows' Find All Files Dialog (win32 shell)
How to Enumerate the Available System Drives (win32 shell)
How to Obtain a System's CD-ROM Drive Information (win32 shell)
How to Receive Shell Change Notifications (win32 shell)
How to Retrieve Drive Information Using GetDiskFreeSpace and GetDiskFreeSpaceEx (win32 shell)
How to Retrieve Multiple Filenames from the VB Common Dialog Control (FAQ: Files)
Loading a Text File into a Textbox (FAQ: Files)
Obtaining a Directory File Count Using FindFirstFile and FindNextFile (fileapi)
Obtaining the Debugging Information for an Image Using MapDebugInformation (system)
Obtaining and Changing a File's Created, Accessed and Modified Dates (fileapi)
Obtaining the Path and Filename of the Default Browser (fileapi)
Performance Comparison - FSO vs. API (fileapi)
Performing Recursive Searches Using FindFirst and SearchTreeForFile (fileapi)
Recycle Bin Management (win32 shell)
Retrieving an Associated 16x16 Icon Using SHGetFileInfo (icon)
Retrieving Both 16x16 and 32x32 Associated Icons Using SHGetFileInfo (icon)
Retrieving Internet Favourites Information (fileapi)
Retrieving the Internet Cache with FindFirst/NextUrlCacheEntry (fileapi)
Retrieving the List of
Registered File Associations (registry)
Saving a Recursive Search of All Drives to Disk (fileapi)
Saving a Recursive Search of All/Select Drives to Disk, Advanced (fileapi)
Saving a Text File from a Textbox (FAQ: Files)
Searching a Drive Using SearchTreeForFile (file api)
Searching and Obtaining File Property Information (file api)
Shell and Common Controls Versions, CSIDL Constants (win32 shell)
ShellExecute Madness (win32 shell)
Shell Path Routines: File/Folder/Drive Exists
(file api)
Shell Path Routines: IsDirectoryEmpty (file api)
Shell Path Routines: IsPathAFile (file api)
Shell Path Routines: IsPathAFolder (file api)
Shell Path Routines: IsPathARoot (file api)
Shell Path Routines: IsPathLFN (file api)
Shell Path Routines: IsPathLocalPath (file api)
Shell Path Routines: IsPathNetPath (file api)
Shell Path Routines: IsPathRelative (file api)
Shell Path Routines: IsUNCPathAShare (file api)
Shell Path Routines: IsUNCPathAServer (file api)
Shell Path Routines: IsUNCPathValid (file api)
Shell Path Routines: IsPathAURL (file api)
Starting Specified URLs in Separate Instances of the Default Browser (fileapi)
Viewing and Retrieving Embedded Icons with ExtractIcon (icon)
Viewing and Retrieving Embedded Icons with ExtractIcon, Advanced (icon)
Using a 16x16 Associated Icon in a Status Panel with SHGetFileInfo (icon)
Using CopyFile as a File Backup Mechanism (fileapi)
Using CopyFileEx and Callback as a File Backup Mechanism (fileapi)
Using DeviceIOControl to Obtain Physical Drive Information (system)
Using GetDiskFreeSpaceEx for Disk Information on 32-bit Windows (win32 shell)
Using INI Files to Save Application Data - The Basics (file api)
Using INI Files to Save Application Data - Saving Entire Sections (file api)
Using SHGetFolderPath to Find Popular Shell Folders (win32 shell)
Using the Browse For Folders Dialog to Obtain Network Machines or Shares (win32 shell)
Utilizing Windows Recycle Bin (win32 shell)
Utilizing Windows SHFileOperation API, Advanced (win32 shell) |
|
|
Enums |
Enumerating
Folders using the FindFirstFile and FindNextFile API (win32 shell)
Enumerating Folders using the FindFirstFile and FindNextFile API, Advanced (win32 shell)
Enumerating Local and Network Printers (system)
Enumerating and Restoring Windows (callbacks) - Link Corrected!
Enumerating the Available Display Resolutions (system)
Enumerating the System Fonts by Type (callbacks)
Enumerating the System Fonts with Preview (callbacks)
Enumerating the User List and Obtaining User Info (network)
Enumerating Windows Using Callbacks (callbacks)
EnumWindows and EnumChildWindows Callbacks (callbacks)
Enumerating Windows' Available Ports (system)
How to Enumerate the Available System Drives (win32 shell)
How to Enumerate the System Fonts using VB5 (callbacks)
Obtaining a User's Regional Locale Date Settings with EnumDateFormats (system, callbacks)
Obtaining a User's Regional Locale Time Settings with EnumTimeFormats (system, callbacks)
Obtaining a User's System Calendar Information (system, callbacks)
Retrieving a User's Regional Locale Date Settings (system) |
|
|
Fonts |
How to Enumerate
the System Fonts using VB5 (callbacks)
Enumerating the System Fonts by Type (callbacks)
Enumerating the System Fonts with Preview (callbacks)
Obtain the Friendly Name From a TrueType Font File ('neet')
Populating a Font Menu and Splitting a Long Menu into Columns (menu) |
|
|
Forms |
Adding A
Vertical Splitter Bar ('neet')
Adding Title Text to the Fake TitleBar ('neet')
Centering Forms/Dialogs in relation to the Parent Form (FAQ: Text Box)
Centering Forms/Dialogs on the Screen (FAQ: Text Box)
Creating a Floating Window (FAQ: Text Box)
Creating a Gradient Form Background ('neet')
Creating a Topmost Window (FAQ: Text Box)
How to Activate a Window Without Focus (FAQ: Text Box)
How to Create a 'Splash Screen' in Visual Basic (helpers)
How to Restore and Activate a Window via its hWnd (helpers)
Killing the Form Close Menu and 'X' Button (system)
Killing Any Form's Close Menu and 'X' Button - SDI, MDIParent or MDIChild (system)
Modifying a Message Box with SetWindowsHookEx
(callbacks)
Moving a Form Without a Title Bar ('neet')
Tiling an Image Across a Form (bitmap)
Changing and Responding to a Modified System Menu (subclassing) |
|
|
FTP |
FTP: Connecting
To and Retrieving FTP File Listings (network)
FTP: Downloading Files via FTP (network)
FTP: Downloading Files Using the FTP Download Dialog (network) |
|
|
Helper Routines |
Centering a
Label Within a Container (helpers)
Determining if a Year is a Leap Year (helpers)
Generating a Random Array of Unique Numbers (helpers)
Implementing a Number-To-Text Conversion Function (helpers)
Handy Functions for Working with Numbers (helpers)
Handy Routines for Identifying the Windows Version (helpers)
How to Create a 'Splash Screen' in Visual Basic (helpers)
How to Determine if an Array has been Dimensioned (helpers)
How to Determine the Number of Digits in a Number (helpers)
How to Determine the Number of Dimensions in an Array (helpers)
How to Restore and Activate a Window via its hWnd (helpers)
Obtaining Windows' Version Information (system)
QuickSort Variations (helpers)
Safe HTML Colours - Hues - White Background (helpers)
Safe HTML Colours - Hues - Black Background (helpers)
Safe HTML Colours - Values - White Background (helpers)
Understanding and Applying the QuickSort Routine in VB (helpers)
Using ClipCursor to Restrict the Rodent to a Form's Client Area (helpers) |
|
|
INI Files |
Create the
"Kidz Quiz" project (projects)
Using INI Files to Save Application Data - The Basics (file api)
Using INI Files to Save Application Data - Saving Entire Sections (file api) |
|
|
Internet |
A Basic TCP/IP
Winsock Chat Program (network)
Deleting the Internet Cache (file api)
Determining a Network Controller MAC Address Using Visual Basic (network)
Determining a Network Host Name and IP Address Using Visual Basic (network)
Determining an Active Internet Dialup Connection (registry)
Determining Network Connections with InternetGetConnectedState (network)
FTP: Connecting To and Retrieving FTP File Listings (network)
FTP: Downloading Files via FTP (network)
How to Obtain the Host Name from an IP Address (network)
How to Ping an IP Address Using Visual Basic (network)
How to Ping an IP Address By Host Name (network)
How to Resolve a Hostname Into an IP Address (network)
Obtaining a Machines TCP Statistics
(network)
Obtaining the Network Interface Table
(network)
Obtaining the IP Address Table
(network)
Obtaining the TCP Connection Table
(network)
Retrieving the Internet Cache with FindFirst/NextUrlCacheEntry
(fileapi) |
|
|
Intrinsic Controls |
Adding
AutoComplete to a VB Text Box (textapi)
Adding Hyperlink Functionality Using the Label Control (intrinsic)
Mimicking a Command Button ForeColor Property (intrinsic)
Visually Pressing a Command Button Through Code (intrinsic)
Subclassing to Create a Flat Combo Box (subclassing)
Substituting a Tabbed List for a Combo's Dropdown List (subclassing)
Substituting a ListView for a Combo's Dropdown List (subclassing) |
|
|
Keyboard |
Activating
CapsLock and NumLock on Win9x (system)
Activating CapsLock, NumLock, ScrollLock and PrintScreen on NT/2000 (system)
How to Manipulate the Desktop Using keybd_event (system)
Obtaining the Keyboard Locale Identifier (system) |
|
|
List Box &
List Box API |
Clearing
Multiple Selections in a Listbox Using SendMessage (list/combo api)
Determining a List Item with a Right-Mouse Click (list/combo api)
Determining a List Item with a Right-Mouse Click, Take Two (list/combo api)
Determining a List Item with a Right-Mouse Click, Take Three (list/combo api)
Displaying the Horizontal Scroll Bar in a ListBox (list/combo api)
Displaying the Horizontal Scroll Bar in a ListBox, Advanced (list/combo api)
Disabling the Combo Edit Box (list/combo api)
Duplicating List contents to another List or Combo Using SendMessage (list/combo api)
Finding Listbox Items Using SendMessage (list/combo api)
How to Fill a Combo Box with Files, Directories and Drives using SendMessage
(list/combo api)
How to Fill a Listbox with Files, Directories and Drives using SendMessage (list/combo api)
How to Set Tabstops in a Listbox (list/combo api)
Retrieving Multiple List Selections Using SendMessage (list/combo api)
Substituting a Tabbed List for a Combo's Dropdown List (subclassing)
Using INI Files to Save Application Data - Saving Entire Sections (file api) |
|
|
ListView &
ListView API |
ListView Demo 1 -
Obtaining the File Path (comctrl)
ListView Demo 2 - Populating the ListView (comctrl)
ListView Demo 3 - Adding Sorting Functionality (comctrl)
ListView Demo 4 - Adding the Associated Icons (comctrl)
Autosizing ListView Columns via API (comctrl)
Customizing the ListView's Appearance API (comctrl)
Detecting ListView SubItem Clicks in Normal And FullRowSelect Mode (comctrl)
Determining a ListView's Visible Item Count (comctrl)
How to Add Checkboxes to a ListView (comctrl)
How to Add Images to a ListView Header (comctrl)
How to Automatically Select a ListView Item (comctrl)
How to Change the ListView Header Style (comctrl)
How to Determine Re-Ordered Column Positions in a ListView (comctrl)
How to Display Grid Lines in a ListView (comctrl)
How to Programmatically Select and Deselect All ListItems (comctrl)
How to Reposition Columns in a ListView (comctrl)
How to Reorder ListView Columns Programmatically (comctrl)
How to Select the Entire Row in a ListView (comctrl)
How to Set a Flat ListView Header Style (comctrl)
How to Set Item Indentation in a ListView (comctrl)
How to Show SubItem Icons in the ListView (comctrl)
How to Track Cursor Movement in a ListView (comctrl)
How to Toggle a Checkbox in a ListView (comctrl)
Sorting ListView ListItems Using Callbacks (com ctrl, callbacks)
Subclassing Listview Scrollbar Messages (subclassing)
Subclassing and Responding to Notifications from the ListView Header (subclassing)
Substituting a ListView for a Combo's Dropdown List (subclassing)
Using the Tag Property to Tie a TreeView and ListView Together (comctrl)
Using the ListView Checkbox (comctrl) |
|
|
Menus |
Adding Radio
Buttons to Any Menu to Replace the Default Checkmarks (bitmap, menu)
Changing and Responding to a Modified System Menu (subclassing)
How to Mimic WordPerfect-Style Popup Button Menus (menu)
How to Split a Long Menu into Columns (menu)
Killing the Form Close Menu and 'X' Button (system)
Killing Any Form's Close Menu and 'X' Button - SDI, MDIParent or MDIChild (system)
Populating a Font Menu and Splitting a Long Menu into Columns (menu) |
|
|
MessageBox |
Creating a VB-Timed Message
Box with SetWindowsHookEx (callbacks)
Creating an API-Timed Message Box with SetWindowsHookEx
(callbacks)
Modifying a Message Box with SetWindowsHookEx (callbacks)
Using Win32's MessageBoxEx API (win32 shell) |
|
|
Miscellaneous |
Creating a
Custom PhotoShop-Style Flood Panel ('neet')
Creating a Custom PhotoShop-Style MDI App Flood Panel ('neet')
Handy Functions for Working with Numbers (helpers)
How to Create a Popup Colour Selector ('neet')
Implementing File Drag & Drop in a Visual Basic Project ('neet')
Mimicking a Command Button ForeColor Property (intrinsic) |
|
|
Network |
A Basic TCP/IP
Winsock Chat Program (network)
Determining an Active Internet Dialup Connection (registry)
Determining a Network Controller MAC Address Using Visual Basic (network)
Determining a Network Host Name and IP Address Using Visual Basic (network)
Determining Network Connections with InternetGetConnectedState (network)
Enumerating the User List and Obtaining User Info (network)
How to Obtain the Host Name from an IP Address (network)
How to Ping an IP Address Using Visual Basic (network)
How to Ping an IP Address By Host Name (network)
How to Resolve a Hostname Into an IP Address (network)
Obtaining a Machines TCP Statistics
(network)
Obtaining a Network User's Full Name and Comments (network)
Obtaining the Network Interface Table
(network)
Obtaining the IP Address Table
(network)
Obtaining the TCP Connection Table
(network)
Performing a Visual Basic Tracert (Trace Route) (network)
Resolving the Hostname with Tracert (Trace Route) (network)
Sending System Messages using NetMessageBufferSend (system) |
|
|
Printers & Ports |
Adding and
Deleting Application-Defined Ports (system)
Changing the Default Printer on Windows NT/2000 (system)
Enumerating Local and Network Printers (system)
Enumerating Windows' Available Ports (system) |
|
|
Program Execution (Shelling) |
How
to Determine if a Specific Application is Already Running (FAQ: Shell)
Obtaining the hWnd of an Application Started with Shell() (system)
Using GetModuleUsage to Determine when a Shelled Program has Finished (FAQ: Shell)
Using GetExitCodeProcess to Determine when a Shelled Program has Finished (FAQ:
Shell)
Using WaitForSingleObject to Determine when a Shelled Program has Finished (FAQ:
Shell) |
|
|
Projects |
Create the
"Kidz Quiz" project (projects) |
|
|
Property
Sheets |
Implementing
the API File Property Page (win32 shell)
Drive, Folder & File Property Page Demo (win32 shell) |
|
|
Recycle Bin |
How to
Receive Shell Change Notifications (win32 shell)
Recycle Bin Management (system)
Utilizing Windows Recycle Bin (win32 shell)
Utilizing Windows SHFileOperation API, Advanced (win32 shell) |
|
|
Registry |
Creating a Visual
Basic File Association (registry)
Determining an Active Internet Dialup Connection (registry)
Forcing a Refresh of the Screen Icons (registry)
Retrieving the List of
Registered File Associations (registry) |
|
|
Screen |
Calling the
Windows PrintScreen Function Using keybd_event (bitmap)
Changing the Display Resolution from Visual Basic (system)
Enumerating the Available Display Resolutions (system)
Forcing a Refresh of the Screen Icons (registry)
How to Detect the Current System Screen Font (system)
How to Determine the Available Screen 'Real Estate' (system)
How to Determine TaskBar Positions Using SHAppBarMessage (system)
Mimicking the PrintScreen Function Using OLE (bitmap)
Mimicking the PrintScreen Function Using BitBlt (bitmap)
Retrieving Non-Client Area Font Info using SystemParametersInfo (system)
Obtaining the Current Display Settings (system)
System-Wide Keyboard Trapping with RegisterHotKey (subclass)
Variations on Mimicking the PrintScreen Function Using BitBlt (bitmap) |
|
|
Shell |
Adding
Hyperlink Functionality Using the Label Control (intrinsic)
Adding and Manipulating Internet Favourites (win32 shell)
Adding and Manipulating Internet Favourites, Advanced (win32 shell)
Adding to the Documents Menu from Visual Basic (win32 shell)
Advanced Browse For Folders Dialog Features (win32 shell)
An API 'DriveExists' Routine (file api)
An API FileExists() Routine (file api)
An API 'FolderExists' Routine (file api)
Browsing in Win32/NT4 - An Overview (win32 shell)
Browse for Folders Dialog (win32 shell)
Creating a Desktop Application Shortcut (win32 shell)
Creating a Visual Basic File Association (registry)
Creating a VB-Timed Message Box with SetWindowsHookEx
(callbacks)
Creating an API-Timed Message Box with SetWindowsHookEx
(callbacks)
Deleting the Internet Cache (file api)
Determining Free Disk Space In Win32 (win32 shell)
Determining Free Disk Space on a Fat32 Drive (win32 shell)
Drive, Folder & File Property Page Demo (win32 shell)
Enumerating Folders using the FindFirstFile and FindNextFile API (win32 shell)
Enumerating Folders using the FindFirstFile and FindNextFile API, Advanced (win32 shell)
How to Copy or Move an Entire Directory using the API (win32 shell)
How to Create an Application's LNK (Shortcut) Files - Workaround (win32 shell)
How to Create an Internet Explorer Shortcut (win32 shell)
How to Determine the Disk Volume Label and Serial Number (win32 shell)
How to Determine if a Specific Drive Exists (win32 shell)
How to Display Windows' Find All Files Dialog (win32 shell)
How to Enumerate the Available System Drives (win32 shell)
How to Obtain a System's CD-ROM Drive Information (win32 shell)
How to Retrieve Drive Information Using GetDiskFreeSpace and GetDiskFreeSpaceEx (win32 shell)
How to Receive Shell Change Notifications (win32 shell)
Manipulating System Tray Icons using Shell_NotifyIcon (subclassing, win32 shell)
Manipulating System Tray Icons using Shell_NotifyIcon, Advanced (subclassing, win32 shell)
Manipulating System Tray Icons using Shell_NotifyIcon for MDI, Advanced (subclassing,
win32 shell)
Modifying a Message Box with SetWindowsHookEx (callbacks)
Implementing the API File Property Page (win32 shell)
Recycle Bin Management (win32 shell)
Retrieving Internet Favourites Information (fileapi)
Retrieving the List of
Registered File Associations (registry)
Shell and Common Controls Versions, CSIDL Constants (win32 shell)
ShellExecute Madness (win32 shell)
Using the Browse For Folders Dialog to Obtain Network Machines or Shares (win32 shell)
Using GetDiskFreeSpaceEx for Disk Information on 32-bit Windows (win32 shell)
Using SHGetFolderPath to Find Popular Shell Folders (win32 shell)
Using Win32's MessageBoxEx API (win32 shell)
Utilizing Windows Recycle Bin (win32 shell)
Utilizing Windows SHFileOperation API, Advanced (win32 shell)
Windows by the Numbers, Overview (win32 shell)
Windows by the Numbers, Part 1 (win32 shell)
Windows by the Numbers, Part 2 (win32 shell)
Windows by the Numbers, Part 3 (win32 shell)
Windows by the Numbers, Part 4 (win32 shell) |
|
|
Shortcuts
(.lnk, .url Files) |
Adding and
Manipulating Internet Favourites (win32 shell)
Adding and Manipulating Internet Favourites, Advanced (win32 shell)
Adding to the Documents Menu from Visual Basic (win32 shell)
Creating a Desktop Application Shortcut (win32 shell)
How to Create an Application's LNK (Shortcut) Files - Workaround (win32 shell)
How to Create an Internet Explorer Shortcut (win32 shell) |
|
|
Sorting |
Comparison of
the Quick, Shell, Bubble and Selection Sort Methods (FAQ: Sorting)
QuickSort Variations (helpers)
Understanding and Applying the QuickSort Routine in VB (helpers) |
|
|
Sound |
How to Test
for Wave Compatibility on the Target Machine (FAQ: Sound) |
|
|
Subclassing |
Changing and
Responding to a Modified System Menu (subclassing)
Detecting and Notifying Changes to the System Date/Time (subclassing)
How to Receive Shell Change Notifications (subclassing, win32 shell)
Manipulating System Tray Icons using Shell_NotifyIcon (subclassing, win32 shell)
Manipulating System Tray Icons using Shell_NotifyIcon, Advanced (subclassing, win32 shell)
Manipulating System Tray Icons using Shell_NotifyIcon for MDI, Advanced (subclassing,
win32 shell)
Setting a Command Button's ForeColor (subclassing)
Killing the Default Combo Box Edit Context Menu (subclassing)
Killing the Default Textbox Context Menu (subclassing)
Using a Combo in a MSFlexGrid (subclassing)
Detecting the Application Activation State (subclassing)
Moving a Form (subclassing)
Restricting Form Resizing (subclassing)
Subclassing Listview Scrollbar Messages (subclassing)
Subclassing and Responding to Notifications from the ListView Header (subclassing)
Subclassing to Create a Flat Combo Box (subclassing)
Substituting a Tabbed List for a Combo's Dropdown List (subclassing)
Substituting a ListView for a Combo's Dropdown List (subclassing)
System-Wide Keyboard Trapping with RegisterHotKey (subclass)
Using a Combo in a MSFlexGrid (subclassing) |
|
|
System |
Adding and
Deleting Application-Defined Ports (system)
Adding Even More Control Panel Functions to a VB Application (system)
Activating CapsLock and NumLock on Win9x (system)
Activating CapsLock, NumLock, ScrollLock and PrintScreen on NT/2000 (system)
Changing the Default Printer on Windows NT/2000 (system)
Changing the Display Resolution from Visual Basic (system)
Checking for Media Availability Using DeviceIoControl (system)
Deleting the Internet Cache (file api)
Detecting and Notifying Changes to the System Date/Time (subclassing)
Determining the Cipher Strength of Internet Explorer (system)
Determining Daylight Saving Time with GetTimeZoneInformation (system)
Determining Current, Standard and Daylight Bias (system)
Determining a Locale's Standard and Daylight Time Zone Names (system)
Obtaining the Dates for Daylight and Standard Time Changes (system)
Determining the Name of the Executable Associated with a Specific File (system)
Determining if a Floppy Drive is Ready (file api)
Displaying Memory Information Under Win32 (system)
Ejecting Media from a CDROM (System, FAQ: Misc)
Enumerating the Installed and Supported System Locales (callbacks)
Enumerating Local and Network Printers (system)
Enumerating Windows' Available Ports (system)
Enumerating the Available Display Resolutions (system)
Forcing a Refresh of the Screen Icons (registry)
Handy Routines for Identifying the Windows Version (helpers)
How to Determine Windows Startup Mode (system)
How to Manipulate the Desktop Using keybd_event (system)
Loading and Ejecting Removable Media Using DeviceIoControl (system)
Locking Removable Media Devices Using DeviceIoControl (system)
Killing the Form Close Menu and 'X' Button (system)
Killing Any Form's Close Menu and 'X' Button - SDI, MDIParent or MDIChild (system)
Modifying a Message Box with SetWindowsHookEx
(callbacks)
Obtaining a User's Regional Locale Date Settings with EnumDateFormats (system, callbacks)
Obtaining a User's Regional Locale Time Settings with EnumTimeFormats (system, callbacks)
Obtaining Internet Explorer's Version (system)
Obtaining the Debugging Information for an Image Using MapDebugInformation (system)
Obtaining the hWnd of an Application Started with Shell() (system)
Obtaining the Keyboard Locale Identifier (system)
Obtaining the System Processor Information (system)
Obtaining Windows System Directories (system)
Obtaining Windows' Version Information (system)
Retrieving a User's Regional Locale Country Settings (system)
Retrieving a User's Regional Locale Currency Settings (system)
Retrieving a User's Regional Locale Date Settings (system)
Retrieving a User's Regional Locale Numeric Settings (system)
Retrieving MS ODBC Driver Information (system)
Retrieving Non-Client Area Font Info using SystemParametersInfo (system)
Retrieving System Messages with FormatMessage (system)
Sending System Messages using NetMessageBufferSend (system)
Using DeviceIOControl to Obtain Physical Drive Information (system)
Using INI Files to Save Application Data - The Basics (file api)
Using INI Files to Save Application Data - Saving Entire Sections (file api)
The Win32 Rundll and Rundll32 Interface (system) |
|
|
String,
Text Box,
Text Box API |
Disabling
the Combo Edit Box (list/combo api)
Displaying Long Strings with Ellipses (text api)
How to Create a Sizeable Textbox (text api)
How to Determine the Number of Lines in a Textbox (text api)
How to Determine the Current Line in a Textbox (text api)
How to Determine the Size of a Document in a Textbox Using API (text api)
How to Highlight Textbox Text on Gaining Focus (FAQ: Textbox)
How to Scroll a Textbox Vertically Using SendMessage (text api)
How to Select Text Using API (text api)
How to Select a Text Range Using the API (text api)
How to Set Tabstops in a Textbox (text api)
Implementing a Number-To-Text Conversion Function (helpers)
Manipulating Special Textbox Styles & Messages (text api) |
|
|
Timer |
How to
use a Timer Control as an Alarm (FAQ: Timer) |
|
|
Toolbar |
Changing a
VB Toolbar to a Rebar-Style Toolbar (comctrl)
Fixing the IE5/MSComCtl 5 Toolbar Problem (comctrl) |
|
|
TreeView |
Applying Special
Effects to a TreeView via API (comctrl)
Duplicating the Contents of a TreeView (comctrl)
Toggling Checkbox Visibility in a TreeView (comctrl)
Using the Tag Property to Tie a TreeView and ListView Together (comctrl) |
|
|
Undoc'd Shell32 API |
How to
Receive Shell Change Notifications (win32 shell)
Windows by the Numbers, Overview (win32 shell)
Windows by the Numbers, Part 1 (win32 shell)
Windows by the Numbers, Part 2 (win32 shell)
Windows by the Numbers, Part 3 (win32 shell)
Windows by the Numbers, Part 4 (win32 shell) |
|
|
Users |
Enumerating
the User List and Obtaining User Info (network)
Obtaining a Network User's Full Name and Comments (network) |
|
|
Windows & Window Processes |
How
to Find Applications Matching a Specific Class or Window Title (system)
How to Restore and Activate a Window via its hWnd (helpers)
Obtaining a List of Running Processes (system)
Win32 Window Title and Class Name Demo (system) |
|
|