Microsoft & .NETVisual BasicGet error messages directly from the system

Get error messages directly from the system


Here is a routine used to get error messages directly from the system instead of hard-coding them :

Sample :


Call APIError

' *** Or
Debug.Print ReturnAPIError(53)
' *** Return : The network path

Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends & analysis
This email address is invalid.
Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends & analysis
This email address is invalid.

Latest Posts

Related Stories