22-08-16, 10:15 AM
السلام عليكم ورحمة الله وبركاته
ارو مساعدتي في البرنامج المرفق عند الضظط على الزر Save لتحويل الصور الموجوده في Workarea تظهر الرسالة التالية
An unhandled exception of type 'System.IO.IOException' occurred in mscorlib.dll
Additional information: The process cannot access the file 'C:\Users\Eng Adnan Turki\Desktop\IDP Managment Eng Adnan Turki\Test\IDP Managment Eng Adnan Turki\bin\Debug\Workarea\6.jpg' because it is being used by another process.
السؤال الثاني
في حال تفعيل
//private TwainSession TwainSession;
//public TwainTransferMechanism _transferMode = TwainTransferMechanism.Memory;
تظهر الرسالة التالية
An unhandled exception of type 'System.IO.FileLoadException' occurred in mscorlib.dll
Additional information: Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.
ارو مساعدتي في البرنامج المرفق عند الضظط على الزر Save لتحويل الصور الموجوده في Workarea تظهر الرسالة التالية
An unhandled exception of type 'System.IO.IOException' occurred in mscorlib.dll
Additional information: The process cannot access the file 'C:\Users\Eng Adnan Turki\Desktop\IDP Managment Eng Adnan Turki\Test\IDP Managment Eng Adnan Turki\bin\Debug\Workarea\6.jpg' because it is being used by another process.
السؤال الثاني
في حال تفعيل
//private TwainSession TwainSession;
//public TwainTransferMechanism _transferMode = TwainTransferMechanism.Memory;
تظهر الرسالة التالية
An unhandled exception of type 'System.IO.FileLoadException' occurred in mscorlib.dll
Additional information: Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.