Microsoft & .NETVisual BasicGet error messages directly from the system

Get error messages directly from the system

Developer.com content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.


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

Latest Posts

Related Stories