Search found 16 matches

by sebascomeau
Mon May 16, 2016 5:27 pm
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Capability value can be set only when device is open.
Replies: 4
Views: 2593

Re: Capability value can be set only when device is open.

We found that the problem should be cause by calling the Scan method again before the previous call is finished. However, we are using the synchronous way to acquires the images and the scan method can be call again before the previous call has finished. Explain me more in details each device states...
by sebascomeau
Thu May 12, 2016 5:18 pm
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Capability value can be set only when device is open.
Replies: 4
Views: 2593

Re: Capability value can be set only when device is open.

We also received this error. Check the following stack: Dijito.FrontEnd.DeviceException: Device is not open: Unknown error 1. ---> Vintasoft.WpfTwain.TwainDeviceException: Device is not open: Unknown error 1. à Vintasoft.WpfTwain.TwainEnvironment.?(DebugLevel A_0, String A_1, ? A_2) à Vintasoft.WpfT...
by sebascomeau
Thu May 12, 2016 5:06 pm
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Capability value can be set only when device is open.
Replies: 4
Views: 2593

Capability value can be set only when device is open.

Hi, We are receiving the error "Capability value can be set only when device is open." randomly when scanning during the day. This error is thrown not when we are manually setting the capabilities but during the image transfer process based on the log file. Here's our ScanHelper class. http://cdn.cc...
by sebascomeau
Thu Oct 15, 2015 9:07 pm
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: Images appears blurry in image viewer when Windows scaling mode is set to 150%
Replies: 1
Views: 1259

Images appears blurry in image viewer when Windows scaling mode is set to 150%

Hi, Some of our users set their windows scaling mode to Larger - 150%. Images in the WpfImageViewer appears blurry if I compare to scale Smaller - 100% (default). We had complains on this and we tried to change the SizeMode property but the problem is still there. Take a look to the following print ...
by sebascomeau
Thu Oct 15, 2015 8:53 pm
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: WPF - System.NullReferenceException
Replies: 7
Views: 2944

Re: WPF - System.NullReferenceException

We will try to clear and dispose images from the image viewer to clear the memory.

Is the fix has been released in version 8.2.10.1?

Thanks,
Sébastien Comeau
by sebascomeau
Wed Sep 30, 2015 5:54 pm
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: WPF - System.NullReferenceException
Replies: 7
Views: 2944

Re: WPF - System.NullReferenceException

We comment all the lines in the DocumentTabItem_Unloaded event that dispose objects when a TabItem is closing. This was there to free memory and mostly for the Win32 image and thumbnail viewer that was loaded programmatically. I guess we don`t need this anymore with the WPF sdk. No error was logged ...
by sebascomeau
Tue Sep 29, 2015 9:38 pm
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: WPF - System.NullReferenceException
Replies: 7
Views: 2944

Re: WPF - System.NullReferenceException

I updated VintaSoft Imaging .NET SDK to the latest version 8.2.8.1 and I received this error stack... System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet. à ..SetScrollBarsPosition(Boolean needInvalidate) à Vintasoft.Imaging.UI.ImageViewer.4(Boolean ) à .....
by sebascomeau
Tue Sep 29, 2015 5:20 pm
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: WPF - System.NullReferenceException
Replies: 7
Views: 2944

Re: WPF - System.NullReferenceException

I tried to reproduced this error but no success. I contacted a user that received this error and let her know to send me more information when she will reveives an error. Maybe I will have all the details to reproduce it.
by sebascomeau
Tue Sep 29, 2015 4:46 pm
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: WPF - System.NullReferenceException
Replies: 7
Views: 2944

WPF - System.NullReferenceException

Hi, We recently switch from Win32 to WPF for the UI of our application and we get a System.NullReferenceException in our error log. Check the stack trace of the exception. System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet. à ..SetScrollBarsPosition(Boole...
by sebascomeau
Wed Sep 16, 2015 6:13 pm
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: How to get the generated Thumbnail from WpfThumbnailViewer as BitmapImage
Replies: 2
Views: 1187

Re: How to get the generated Thumbnail from WpfThumbnailViewer as BitmapImage

I change my code and the with and height of my bitmap is now good. BitmapSource imageSource = System.Windows.Interop.Imaging.CreateBitmapSourceFromHBitmap(thumbnailImageItem.Source.Thumbnail.GetThumbnailImage(64, 64).GetAsBitmap().GetHbitmap(), IntPtr.Zero, System.Windows.Int32Rect.Empty, BitmapSize...