Suppressing error message in msgBox



Hi,
I have an application in which I have handled error by using
On Error goto err
-------
------
err:
--------------------------
Now at some places I want to throw a runtime exception which I do by
Err.Raise method.

The problem is that the message box which appears contains the text
'Run-time error :118' or some other number.
This along with my customized mesg.
I want to remove the above message and only display my mesg.
How do I do it?
Thanks,
Indranil.

.



Relevant Pages

  • Re: Suppressing error message in msgBox
    ... > I have an application in which I have handled error by using ... > On Error goto err ... > This along with my customized mesg. ... This is the VB run-time error dialog. ...
    (microsoft.public.vb.general.discussion)
  • Re: Suppressing error message in msgBox
    ... >I have an application in which I have handled error by using ... >On Error goto err ... >This along with my customized mesg. ...
    (microsoft.public.vb.general.discussion)