Free Web Hosting Provider - Web Hosting - E-commerce - High Speed Internet - Free Web Page
Search the Web

MW-Menu

 

Free Visual BASIC Newsletter

Features

Tips

Sample Code

Newsletters

Products

ActiveX

Cool Links

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

How to Return The String Version Of An MCI Error

The MCI API functions return errors, but what do they actaully mean.

NB: The MW Code LIbrary contains function to access error strings for custom DLLs as well.

Public Function GetErrorInfo(lError As Long) As String
Dim sTemp As String
sTemp = String(100, 0)
Call mciGetErrorString(lError, sTemp, Len(sTemp))
GetErrorInfo = sTemp
End Function

Home

___________________________________________

Send Bugs, comments to the webmaster at webmaster@mwe.8m.com

Terms of Use

© 1999 MW Software, all rights reserved