| Hi,  I read another post in here which is basically my same question. Why does the GetLastError
 function always return a blank value.
 The response from you was:  >>>>Make sure it is the first statement executed after an error.  So, I went and wrote a simple script (modeled after the help example) and I still can't get an
 error message string.
 Here is my sample script:  Dim errMessage, string, "" OnErrorGoTo DISP_ERROR
 FileDelete( "c:\\zzzzzzz.txt" ) <<--- this file does not exist.
 DISP_ERROR: GETLASTERROR errMessage
 MessageBox(errMessage)
 Why can't I trap this message?   
 |