I've been trying to find out the error returned from MkDir
to no avail. Err.Number
is 0 and I can't find any other error mechanisms available.
On Error GoTo mkError
MkDir txtDir(Index).Text
On Error GoTo 0
Exit Sub
mkError:
On Error GoTo 0
Text1.Text = Str(Err.LastDllError) + " "
Text1.Text = Text1.Text + Str(Err.Number) + " "
I need to know if I get a 75 (path exists) or 76 (path not created) error. Where is this error returned?