|
-
Nov 16th, 2000, 10:23 AM
#1
Thread Starter
New Member
Please someone tell me ther is a list explaning what every #$%#%&* error code means, I know it sound relly boring, however this woud be very useful, for error traping,testing and application development.
If there is no such list lets make one!
-
Nov 16th, 2000, 10:32 AM
#2
Member
yes. there are lists of what the error codes mean on any MSDN CD.
-
Nov 16th, 2000, 10:35 AM
#3
Hyperactive Member
Look Here
Hi,
I agree with the post above.
Specifically you can look at:
VB documentation
- Reference
- Trappable Errors
Hope that helps.
JazzBass
JazzBass
In the .NET era
Trying to remember VB6
Progress: 
XP Professional @ Home
and @ the Office
-
Nov 16th, 2000, 10:37 AM
#4
Fanatic Member
-
Nov 16th, 2000, 10:43 AM
#5
Fanatic Member
You could also create an Error object, set the error level in a loop and examine the associated text for each value.
No I can't remember how to do it - how about it Matthew Gates, kedaman, Yonatan, HeSaidJoe etc....
Cheers,
Paul.
Not nearly so tired now...
Haven't been around much so be gentle...
-
Nov 16th, 2000, 10:48 AM
#6
_______
<?>
this will only trap vb errors so it the error is
produced by something outside you will get nothing
Code:
'get error source and description
Private Sub Command1_Click()
Dim Msg$
' If an error occurs, construct an error message
'hardcode the error number for test purpose
Err.Number = 20520
If Err.Number <> 0 Then
Msg$ = "Error # " & Err.Number & " was generated by " _
& Err.Source & Chr(13) & Err.Description
MsgBox Msg$
End If
End Sub
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Nov 16th, 2000, 11:52 AM
#7
Fanatic Member
I thought that was what was wanted<sigh>
P.
Not nearly so tired now...
Haven't been around much so be gentle...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|