Hi.
I know how to use these terms but honestly have little depth in understanding the meaning of them. Could someone please give an overview on the meanings.
Err.Raise
Err.Number
Err.Source
Err.Description
Err.HelpFile
Err.HelpContext
Thanks. And, I really dont want some one just giving a link. It may help but its in "professional" terms that an everyday person would not use.
Error Terms
Page 1 of 18 Replies - 495 Views - Last Post: 19 May 2009 - 10:23 PM
Replies To: Error Terms
#2
Re: Error Terms
Posted 19 May 2009 - 02:19 AM
Well, not knowing how much you know, I can say that helpfile is the property that determines the system path to the objects help file. Help files are particular kinds of files that I know can be made in Enterprise edition, but I'm not sure about the other VB editions.
If you were looking for something a lot more in-depth, I'm happy to help. Just message me.
If you were looking for something a lot more in-depth, I'm happy to help. Just message me.
#3
Re: Error Terms
Posted 19 May 2009 - 02:21 AM
Yes please. I'll show you the code that I have used it for, even.
ErrorHandler:
If Err.Number = 6 Then
Err.Clear
Else
Err.Raise Err.Number, Err.Source, Err.Description, Err.HelpFile, Err.HelpContext
End If
End Sub
#4
Re: Error Terms
Posted 19 May 2009 - 02:36 AM
Hehe. This is what I live for.
Hey, why does it say you are banned????
In the words of the VB 6.0 programmer's guide:
You can set the HelpFile programmaticaly. The following code would specify a HTML help file:
The ErrObject object also has a helpfile property, allowing you to specify a different help file for error messages.
Need any more?
Hey, why does it say you are banned????
In the words of the VB 6.0 programmer's guide:
You can set the HelpFile programmaticaly. The following code would specify a HTML help file:
Private Sub Form_Load() App.Helpfile = App.Path & "\foo.chm" End Sub
The ErrObject object also has a helpfile property, allowing you to specify a different help file for error messages.
Need any more?
This post has been edited by paperclipmuffin: 19 May 2009 - 02:36 AM
#5
Re: Error Terms
Posted 19 May 2009 - 02:38 AM
Quote
The ErrObject object also has a helpfile property, allowing you to specify a different help file for error messages.
That line just sums it all up. I see what you are getting at. Thanks.
#6
Re: Error Terms
Posted 19 May 2009 - 02:41 AM
paperclipmuffin, on 19 May, 2009 - 03:36 AM, said:
Hey, why does it say you are banned????
He's not banned, he put that there himself. You can set them after 500 posts.
My guess would be he's trying to draw attention to himself as a bad boy.
To do my best to keep this post on topic, in C/C++ there is an error header file that defines all of the errors for that compiler, so you can use predefined error messages such as why a file open would have failed, why a file write would have failed, & so on. Is there anything like that for VB?
#7
Re: Error Terms
Posted 19 May 2009 - 02:52 AM
#9
Re: Error Terms
Posted 19 May 2009 - 10:23 PM
And You are too!
Thanks for the link, even though it was not recommended!
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote





|