>Set loCOM = New MyCOM.MyClass
>
>Is there another way than using On Error in this case?
>
No; there's an excellent article in Component Advisor from February on integrating COM in VB. Same publisher as FPA, but YAG is running things, and he's putting out a real quality 'zine. Well worth subscribing to!
>My guess is that it's how he's handling errors in VB; ordinarily I'd trap the failed instantiation by wrapping the SET in an in-line error handler, but I'm far from a VB expert.