VB.NET, error checking when Lotus Notes is down

I have a VB.NET application that utilizes Dominos COM to send emails.

The problem I encounter is when our Lotus Notes system is down (which unfortunately occurs pretty often).

When my code hits the session.initialize(“password”) step, it pops up with a dialog:

Error

The system cannot find the file specified.

[OK]

I have tried to enclose the initialize command within a Try/Catch block, but it doesn’t catch that particular error (must not be a System error).

Any idea how I can get VB.NET to gracefully handle this problem?

Thanks!

Subject: Any ideas?

Anyone have any ideas? (Or does anyone have a suggestion of somewhere ELSE I can go to get some ideas?)