Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: using the Err object


Message #1 by "Arbon Reimer" <arbon_reimer@h...> on Mon, 08 Oct 2001 15:54:27 -0600
I was very fond of using the Err object to raise errors when something blew 

up.



I want to put the Err object in a .vb component and compile it, but I'm 

running into a snag with the references bit.  I use it within a Try/Catch 

block.



Can someone please enlighten me as to what .dll files I need to reference 

when I run the vbc?  Or is this not good practice anymore?



Currently I'm using System.dll, System.Data.dll ... and I had guessed that 

the Err object was somewhere in the Microsoft.VisualBasic namespace.  

Apparently wrongly...



Thanks to all in advance.

Arbon Reimer

Message #2 by "Rick Delorme" <rick@p...> on Wed, 10 Oct 2001 12:57:15 -0400
I believe the Err object is dead. Read about throwing your own exceptions

from your component.



"Arbon Reimer" <arbon_reimer@h...> wrote in message

news:108423@a...

>

> I was very fond of using the Err object to raise errors when something

blew

> up.

>

> I want to put the Err object in a .vb component and compile it, but I'm

> running into a snag with the references bit.  I use it within a Try/Catch

> block.

>

> Can someone please enlighten me as to what .dll files I need to reference

> when I run the vbc?  Or is this not good practice anymore?

>

> Currently I'm using System.dll, System.Data.dll ... and I had guessed that

> the Err object was somewhere in the Microsoft.VisualBasic namespace.

> Apparently wrongly...

>

> Thanks to all in advance.

> Arbon Reimer

>

>






  Return to Index