Problem for error

Closed
Lio - Mar 15, 2009 at 04:33 AM
lady.red81
Posts
1
Registration date
Sunday March 15, 2009
Status
Member
Last seen
March 16, 2009
- Mar 16, 2009 at 06:03 AM
Hello,
I have problem. when I double click on any drive, it show system.vbs error. So please help me. How can I solve this problem.

1 reply

lady.red81
Posts
1
Registration date
Sunday March 15, 2009
Status
Member
Last seen
March 16, 2009

Mar 16, 2009 at 06:03 AM
hi,
Use the On error Resume Next feature to locate the error by checking the err.number property.

Sub TrySomething
On error Resume Next
--- some code executing

If err.number <> 0 Then
sendmail(err.description)
Exit Sub
End If

--- some other code executing

If err.number <> 0 Then
sendmail(err.description)
Exit Sub
End If

End Sub
0