VBnet Sponsor - Compuware Corporation

 

New Code Additions for April 2001
Updated Sunday April 08, 2001
   
Category
Topic
Callback
vb6
vb5
Creating a VB-Timed Message Box with SetWindowsHookEx
Corrected - original February post contained code from the above method.
Create a custom messagebox that counts down and self-closes. Mar 24.2001

Creating an API-Timed Message Box with SetWindowsHookEx
Create a custom messagebox that counts down and self-closes without using a VB Timer control. Mar 24.2001



ComboAPI
vb6
vb5
Substituting a Tabbed List for a Combo's Dropdown List
Trapping a combo's dropdown and substituting a standard List control supporting tabstops. Mar 16.2001

Substituting a ListView for a Combo's Dropdown List
Trapping a combo's dropdown and substituting a standard ListView control. Mar 16.2001



File API
vb6
vb5
vb4-32
Changing File and/or Folder Attributes Recursively
Recursive file searching providing the ability to reset file or folder attributes.  March 25.2001

Shell Path Routines: File/Folder/Drive Exists
Tests the validity of the file and path on the local file system or on a remote drive that has been mounted to a drive letter. Apr 08.2001

Shell Path Routines: IsDirectoryEmpty
Determines whether or not a specified path is an empty directory. Apr 08.2001

Shell Path Routines: IsPathAFile
Determines whether or not a specified path contains path delimiting characters. Apr 08.2001

Shell Path Routines: IsPathAFolder
Verifies that a path is a valid directory. Apr 08.2001

Shell Path Routines: IsPathARoot
Parses a path to determine if it is a directory root. Apr 08.2001

Shell Path Routines: IsPathLFN
Determines whether or not a file name is in long format. Apr 08.2001

Shell Path Routines: IsPathLocalPath
Determines whether a path string represents a local resource. Apr 08.2001

Shell Path Routines: IsPathNetPath
Determines whether a path string represents a network resource. Apr 08.2001

Shell Path Routines: IsPathRelative
Searches a path and determines if it is relative. Apr 08.2001

Shell Path Routines: IsUNCPathAShare
Determines if a string is a valid universal naming convention (UNC) share path, \\server\share. Apr 08.2001

Shell Path Routines: IsUNCPathAServer
Determines if a string is a valid UNC (universal naming convention) for a server path only. Apr 08.2001

Shell Path Routines: IsUNCPathValid
Determines if the string is a valid UNC (universal naming convention) for a server and share path. Apr 08.2001

Shell Path Routines: IsPathAURL
Determines if a string string conforms to a valid URL format. Apr 08.2001



Intrinsic Controls
vb6
vb5
Substituting a Tabbed List for a Combo's Dropdown List
Trapping a combo's dropdown and substituting a standard List control supporting tabstops. Mar 16.2001

Substituting a ListView for a Combo's Dropdown List
Trapping a combo's dropdown and substituting a standard ListView control. Mar 16.2001



Network
vb6
vb5
vb4-32
Determining if a Network Destination is Reachable
One call to determine if a network can reach a destination, and the connection type. Mar 13.2001

 



Registry
vb6
vb5
vb4-32
Retrieving the List of Registered File Associations
Use RegEnumKeyEx and SHGetFileInfo to list all the registered file extensions on the system. March 18, 2001

 



Subclassing
vb6
vb5
Substituting a Tabbed List for a Combo's Dropdown List
Trapping a combo's dropdown and substituting a standard List control supporting tabstops. Mar 16.2001

Substituting a ListView for a Combo's Dropdown List
Trapping a combo's dropdown and substituting a standard ListView control. Mar 16.2001



System
vb6
vb5
vb4-32
Determining Daylight Saving Time with GetTimeZoneInformation
Two wrapper functions returning the current time zone info. April 08, 2001

Determining Current, Standard and Daylight Bias
Five functions dealing with the bias (offset from GMT) for the system. April 08, 2001

Determining a Locale's Standard and Daylight Time Zone Names
Two functions to return the names for the local daylight and standard zones. April 08, 2001

Obtaining the Dates for Daylight and Standard Time Changes
Four functions returning various date and time information concerning the transition from Standard to Daylight Savings Time. April 08, 2001



VBnet Sponsor - Compuware Corporation

Copyright ©1996-2001 ebirch ltd/VBnet and Randy Birch. All Rights Reserved.  Terms of Use