VB6 CallByName
-
Hi All, VB6 CallByName only seems to return a generic Error if one is thrown (ERR.DESCRIPTION : Invalid procedure call or argument). Is there someway of getting my specific custom error messages? Thanks, Davy
My Personal Blog - Homepage.
Scottish News - Angus Blog, Perth Blog and Dundee Blog -
Hi All, VB6 CallByName only seems to return a generic Error if one is thrown (ERR.DESCRIPTION : Invalid procedure call or argument). Is there someway of getting my specific custom error messages? Thanks, Davy
My Personal Blog - Homepage.
Scottish News - Angus Blog, Perth Blog and Dundee BlogHow are you generating your custom errors? It's been a long time since I did VB6 so I may be wrong on this. But to generate a custom error, I think(!), you had to something like this:
Err.Raise vbObjectError+(your error number), (Source as String - optional), (Description as String - optional)
RageInTheMachine9532