Invoking Outlook through VB
I am invoking Outlook application throgh VB code and sending mails.
It is working absolutely fine,however there is a small problem mentioned below which I am facing:
Once the Outlook app is invoked,it asks for a password.
If correct password is provided and user clicks OK,it works fine,however if by mistake wrong password is provided by user,then on pressing of OK button,code fails with a run time error.
If there a way with Outlook object to trap that error so that an user defined error can be thrown to user.