[C# 4.0 - WPF] : Disable Twain Msg on HP 7000 s2
[C# 4.0 - WPF] : Disable Twain Msg on HP 7000 s2
Hi at all,
(at first.. sorry for my bad english), I'm developing a 'remote scanner acquisition' app, as a demo prj.
On the server side I have a .Net "service" that manage the acquisition of our rolling scanner (HP scanjet Enterprise 7000s2).
On the client side I have a client app, with which, the final user will manage the acquired images and check the twain messages too (eg. roll errors, no paper etc etc.).
HP Twain messages are obviously displayed on the server side (that call twain functions)...
This information messages lock my process (acquire-->send to client) until I manually close them on the server.
I need to acquire many documents, the multipage acquisition is the best solution (TwainSetAutoScan(true)). I've not problems with single doc acquisition.
I've tried to call TwainSetErrorMessage (false), supposing to stop these messages (...but, they're not error messages...).
Is there a method to hide these messages?
Thank you.
Andrea.
(at first.. sorry for my bad english), I'm developing a 'remote scanner acquisition' app, as a demo prj.
On the server side I have a .Net "service" that manage the acquisition of our rolling scanner (HP scanjet Enterprise 7000s2).
On the client side I have a client app, with which, the final user will manage the acquired images and check the twain messages too (eg. roll errors, no paper etc etc.).
HP Twain messages are obviously displayed on the server side (that call twain functions)...
This information messages lock my process (acquire-->send to client) until I manually close them on the server.
I need to acquire many documents, the multipage acquisition is the best solution (TwainSetAutoScan(true)). I've not problems with single doc acquisition.
I've tried to call TwainSetErrorMessage (false), supposing to stop these messages (...but, they're not error messages...).
Is there a method to hide these messages?
Thank you.
Andrea.
Re: [C# 4.0 - WPF] : Disable Twain Msg on HP 7000 s2
Hello,
Could you provide a screenshot with the message box displayed?
Kind regards,
Loïc
Could you provide a screenshot with the message box displayed?
Kind regards,
Loïc
Re: [C# 4.0 - WPF] : Disable Twain Msg on HP 7000 s2
Good morning Loïc,
thanks.
Here an example of no paper messages sequence (note the Msg Label -HP Twain- ):
I used a workaround, via win API (close all MsgBox during the docs acquire).
But I would find something more manageable...
Thanks.
Andrea.
thanks.
Here an example of no paper messages sequence (note the Msg Label -HP Twain- ):
I used a workaround, via win API (close all MsgBox during the docs acquire).
But I would find something more manageable...
Thanks.
Andrea.
Re: [C# 4.0 - WPF] : Disable Twain Msg on HP 7000 s2
Hello Andrea,
These boxes come from your TWAIN driver. And unfortunately there is no way to ask him to don't display them. The workaround sometime used in the industry is what you already do: using winAPI to intercept the messagebox in order to release it.
Kind regards,
Loïc
These boxes come from your TWAIN driver. And unfortunately there is no way to ask him to don't display them. The workaround sometime used in the industry is what you already do: using winAPI to intercept the messagebox in order to release it.
Kind regards,
Loïc
Re: [C# 4.0 - WPF] : Disable Twain Msg on HP 7000 s2
Hi Loïc,
thank you .
All the best.
Andrea.
thank you .
All the best.
Andrea.
Who is online
Users browsing this forum: No registered users and 1 guest