Using version 1.7, when I try to use ADF with Duplex, I get a crash app .NET Framework.
Everything else work fine.
Tried to use older versions and get same result.
thank you for reporting your problem. What is the name of the error that you get? Can you paste it here? I'm afraid that it might be the type of error that I have never been able to solve with HP duplex scanners...
Best
Matteo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is the details of the error and a image of pop-up error.
Thanks
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
** Exception Text **
System.ArgumentException: Value does not fall within the expected range.
at WIA.ICommonDialog.ShowTransfer(Item Item, String FormatID, Boolean CancelError)
at iCopy.Scanner.ScanNormal(ScanSettings settings)
at iCopy.Scanner.Scan(ScanSettings options)
at iCopy.appControl.Copy(ScanSettings options, Boolean openAfterAcquisition)
at iCopy.mainFrm.btnCopy_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
** JIT Debugging **
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Dear Marc,
thank you for reporting your problem. What is the name of the error that you get? Can you paste it here? I'm afraid that it might be the type of error that I have never been able to solve with HP duplex scanners...
Best
Matteo
Hi Matteo,
This is the details of the error and a image of pop-up error.
Thanks
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
** Exception Text **
System.ArgumentException: Value does not fall within the expected range.
at WIA.ICommonDialog.ShowTransfer(Item Item, String FormatID, Boolean CancelError)
at iCopy.Scanner.ScanNormal(ScanSettings settings)
at iCopy.Scanner.Scan(ScanSettings options)
at iCopy.appControl.Copy(ScanSettings options, Boolean openAfterAcquisition)
at iCopy.mainFrm.btnCopy_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
** Loaded Assemblies **
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
iCopy
Assembly Version: 1.7.0.3
Win32 Version: 1.7.0.3
CodeBase: file:///C:/Users/mdube/Downloads/iCopy1.7.0/iCopy.exe
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
iCopy.resources
Assembly Version: 1.7.0.3
Win32 Version: 1.7.0.3
CodeBase: file:///C:/Users/mdube/Downloads/iCopy1.7.0/bg-BG/iCopy.resources.DLL
iCopy.resources
Assembly Version: 1.7.0.3
Win32 Version: 1.7.0.3
CodeBase: file:///C:/Users/mdube/Downloads/iCopy1.7.0/cs-CZ/iCopy.resources.DLL
iCopy.resources
Assembly Version: 1.7.0.3
Win32 Version: 1.7.0.3
CodeBase: file:///C:/Users/mdube/Downloads/iCopy1.7.0/de-DE/iCopy.resources.DLL
iCopy.resources
Assembly Version: 1.7.0.3
Win32 Version: 1.7.0.3
CodeBase: file:///C:/Users/mdube/Downloads/iCopy1.7.0/el-GR/iCopy.resources.DLL
iCopy.resources
Assembly Version: 1.7.0.3
Win32 Version: 1.7.0.3
CodeBase: file:///C:/Users/mdube/Downloads/iCopy1.7.0/es-ES/iCopy.resources.DLL
iCopy.resources
Assembly Version: 1.7.0.3
Win32 Version: 1.7.0.3
CodeBase: file:///C:/Users/mdube/Downloads/iCopy1.7.0/fi-FI/iCopy.resources.DLL
iCopy.resources
Assembly Version: 1.7.0.3
Win32 Version: 1.7.0.3
CodeBase: file:///C:/Users/mdube/Downloads/iCopy1.7.0/fr-FR/iCopy.resources.DLL
iCopy.resources
Assembly Version: 1.7.0.3
Win32 Version: 1.7.0.3
CodeBase: file:///C:/Users/mdube/Downloads/iCopy1.7.0/he-IL/iCopy.resources.DLL
iCopy.resources
Assembly Version: 1.7.0.3
Win32 Version: 1.7.0.3
CodeBase: file:///C:/Users/mdube/Downloads/iCopy1.7.0/hu-HU/iCopy.resources.DLL
iCopy.resources
Assembly Version: 1.7.0.3
Win32 Version: 1.7.0.3
CodeBase: file:///C:/Users/mdube/Downloads/iCopy1.7.0/it-IT/iCopy.resources.DLL
iCopy.resources
Assembly Version: 1.7.0.3
Win32 Version: 1.7.0.3
CodeBase: file:///C:/Users/mdube/Downloads/iCopy1.7.0/ja-JP/iCopy.resources.DLL
iCopy.resources
Assembly Version: 1.7.0.3
Win32 Version: 1.7.0.3
CodeBase: file:///C:/Users/mdube/Downloads/iCopy1.7.0/nl-NL/iCopy.resources.DLL
iCopy.resources
Assembly Version: 1.7.0.3
Win32 Version: 1.7.0.3
CodeBase: file:///C:/Users/mdube/Downloads/iCopy1.7.0/pl-PL/iCopy.resources.DLL
iCopy.resources
Assembly Version: 1.7.0.3
Win32 Version: 1.7.0.3
CodeBase: file:///C:/Users/mdube/Downloads/iCopy1.7.0/pt-BR/iCopy.resources.DLL
iCopy.resources
Assembly Version: 1.7.0.3
Win32 Version: 1.7.0.3
CodeBase: file:///C:/Users/mdube/Downloads/iCopy1.7.0/ro-RO/iCopy.resources.DLL
iCopy.resources
Assembly Version: 1.7.0.3
Win32 Version: 1.7.0.3
CodeBase: file:///C:/Users/mdube/Downloads/iCopy1.7.0/ru-RU/iCopy.resources.DLL
iCopy.resources
Assembly Version: 1.7.0.3
Win32 Version: 1.7.0.3
CodeBase: file:///C:/Users/mdube/Downloads/iCopy1.7.0/sk-SK/iCopy.resources.DLL
iCopy.resources
Assembly Version: 1.7.0.3
Win32 Version: 1.7.0.3
CodeBase: file:///C:/Users/mdube/Downloads/iCopy1.7.0/tr-TR/iCopy.resources.DLL
iCopy.resources
Assembly Version: 1.7.0.3
Win32 Version: 1.7.0.3
CodeBase: file:///C:/Users/mdube/Downloads/iCopy1.7.0/zh-CN/iCopy.resources.DLL
iCopy.resources
Assembly Version: 1.7.0.3
Win32 Version: 1.7.0.3
CodeBase: file:///C:/Users/mdube/Downloads/iCopy1.7.0/zh-TW/iCopy.resources.DLL
CustomMarshalers
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/CustomMarshalers/v4.0_4.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
PDFWriter
Assembly Version: 1.0.0.1582
Win32 Version: 1.0.0.1582
CodeBase: file:///C:/Users/mdube/Downloads/iCopy1.7.0/PDFWriter.DLL
** JIT Debugging **
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitdebugging="true">
</system.windows.forms></configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.