Get a Description of Errors in API functions
Author:Intelligent Solutions Inc.
When an error occurs in an API function, you can get the error code by reading Err.LastDllError. However, this numeric code doesn't tell you anything about why the error occurred. To get a human readable description of the error, you can use the function here.
Instructions: Copy the declarations and code below and paste directly into your VB project.