Page 1 of 1

No Target Device error

Posted: Wed Jan 27, 2010 5:58 am
by tfierens
Hi,

Is there a way to hide the "No Target Device" when opening the datasource using vsTwain.OpenDataSource();?

I'm currently building my application and handling errors accordingly and my scanner is not connected and throw up this error but I'd like to display my own error rather than the "No Target Device - ID: 3056" as it is not very user friendly!

Thanks.

Thierry

Re: No Target Device error

Posted: Thu Jan 28, 2010 9:25 am
by Alex
Hi Thierry,

It's a message from TWAIN driver and it cannot be suppressed.

Best regards, Alexander

Re: No Target Device error

Posted: Sun May 09, 2010 4:22 am
by tfierens
Thanks Alex.

Never got notified that you replied. Sorry about the delay getting back to you & really appreciate all your help!.

T.