Search found 29 matches

by mreynolds
Tue Jul 29, 2008 2:39 am
Forum: Image Processing & Document Imaging
Topic: Insufficient memory. (Code: DS41001)
Replies: 1
Views: 4400

Insufficient memory. (Code: DS41001)

I get the error code when hitting the cancel button. AxImaging1.CreateImageFromTwain is executing in a background thread at the time, and a dialog with this error message pops up before AxImaging1.CreateImageFromTwain can even return.
by mreynolds
Thu Jul 24, 2008 5:16 am
Forum: Image Processing & Document Imaging
Topic: "Cant' create AutoRedraw image"
Replies: 4
Views: 2628

Re: "Cant' create AutoRedraw image"

I finally figured it out!!! I'm calling the AxGdViewer1 and AxImaging1 OCXs in a "BackgroundWorker" thread that is attached to the VB form via the Designer so that it is part of the form. Even though the AxImaging object is executing in an MTA BackgroundWorker thread it still locks up the ...
by mreynolds
Fri Jun 20, 2008 2:57 am
Forum: Image Processing & Document Imaging
Topic: DSM library can not be loaded: TWAIN_32.DLL
Replies: 1
Views: 1976

DSM library can not be loaded: TWAIN_32.DLL

I've loaded GdPicturePro onto our Windows 2003 server because the database side of the program runs about 10 times slower across the network when I run it direct vs. running it over terminal services on the server. However, when I run my program on the server and try to open the window that has a Gd...
by mreynolds
Thu Jun 12, 2008 3:05 am
Forum: Image Processing & Document Imaging
Topic: "Cant' create AutoRedraw image"
Replies: 4
Views: 2628

Re: "Cant' create AutoRedraw image"

So what is the solution? I can't set the autoredraw property off inside your code. Setting the autoredraw property off was the only solution I saw mentioned in your link, but I don't have any controls with the autoredraw property in my code.
by mreynolds
Thu Jun 05, 2008 8:16 pm
Forum: Image Processing & Document Imaging
Topic: "Cant' create AutoRedraw image"
Replies: 4
Views: 2628

"Cant' create AutoRedraw image"

I'm getting this problem very sporadically from the most intensive tester, so I am not able to debug it and do not have any meaningful notion of how to reproduce it except by running my app over and over. However, I don't use any PictureBoxes, and AutoRedraw appears to be primarily associated with P...
by mreynolds
Thu May 08, 2008 2:26 am
Forum: Image Processing & Document Imaging
Topic: Read from PDF then append from scanner: page size problem
Replies: 7
Views: 3321

Re: Read from PDF then append from scanner: page size problem

Works like a charm! I knew it was some kind of scaling issue, but I didn't know where to set the scaling factor. Thank you very much.

Mike
by mreynolds
Wed May 07, 2008 2:10 am
Forum: Image Processing & Document Imaging
Topic: Read from PDF then append from scanner: page size problem
Replies: 7
Views: 3321

Re: Read from PDF then append from scanner: page size problem

I started over from scratch with a simple example and I'm still getting the same results. In the Load event this example scans some images in and saves them to a PDF as soon as the pages are all scanned, then it reads that PDF back in and appends some more scanned images to the viewer. When the load...
by mreynolds
Mon May 05, 2008 8:40 pm
Forum: Image Processing & Document Imaging
Topic: Hang in CreateImageFromTwain on Vista
Replies: 3
Views: 2041

Re: Hang in CreateImageFromTwain on Vista

The problem is fixed with the latest version. Thank you very much for such quick response!
by mreynolds
Sat May 03, 2008 3:09 am
Forum: Image Processing & Document Imaging
Topic: Hang in CreateImageFromTwain on Vista
Replies: 3
Views: 2041

Re: Hang in CreateImageFromTwain on Vista

I saw that you fixed the same problem for someone else but the latest download doesn't fix the problem for me (nor did I have McAffe installed). When I put TwainLogStart and TwainLogStop statements into the program it crashes at that the LogStart on Vista.
by mreynolds
Sat May 03, 2008 2:20 am
Forum: Document Viewing
Topic: Deploy Using ClickOnce
Replies: 2
Views: 2395

Re: Deploy Using ClickOnce

1. Open your project and select File>Add>New Project... and select a Setup And Deployment project. 2. In the solution explorer right click on the setup project and select View>File System. 3. In the File System window right click on the Application Folder selection under File System on Target Machin...
by mreynolds
Fri May 02, 2008 3:41 am
Forum: Image Processing & Document Imaging
Topic: Hang in CreateImageFromTwain on Vista
Replies: 3
Views: 2041

Hang in CreateImageFromTwain on Vista

On the second call to CreateImageFromTwain the progress bar never makes it past 5% and the app hangs. Here is my code: If AxImaging1.TwainGetState < GdPicturePro5S.TwainStatus.TWAIN_SM_OPEN Then Return If Not AxImaging1.TwainIsFeederLoaded Then GoTo retry While AxImaging1.CreateImageFromTwain <> 0 n...
by mreynolds
Tue Apr 29, 2008 11:37 pm
Forum: Image Processing & Document Imaging
Topic: Read from PDF then append from scanner: page size problem
Replies: 7
Views: 3321

Re: Read from PDF then append from scanner: page size problem

Well, GetWidthMM() & GetheightMM() are returning wrong values for images scanned in with Picture Light, slightly more than twice what it should be. It isn't happening anymore since I switched from Picture Light to Picture Pro, but apparently I have a lot of oversized scans from the previous vers...
by mreynolds
Tue Apr 29, 2008 12:33 am
Forum: Image Processing & Document Imaging
Topic: Read from PDF then append from scanner: page size problem
Replies: 7
Views: 3321

Read from PDF then append from scanner: page size problem

When I read in a PDF and then append to the page list with newly scanned in pages, the appended pages are much smaller than the pages read in from the PDF file. How do I control the relative proportioning of the size of the images so as to correct this problem? Here is my code that manifests the pro...
by mreynolds
Fri Apr 25, 2008 4:40 am
Forum: Example requests & Code samples
Topic: Scanning multiple pages into the Viewer object?
Replies: 3
Views: 4552

Scanning multiple pages into the Viewer object?

I can DisplayFromPdfFile and end up with multiple pages in the Viewer, but if I use AxGdViwer1.DisplayFromGdPictureImage(AxImaging1.GetNativeImage) each time I do it the previous picture gets overwritten and I never end up with more than one image in the Viewer. How do I scan from the scanner and tr...
by mreynolds
Sat Apr 19, 2008 3:26 am
Forum: Image Processing & Document Imaging
Topic: How to set blank page removal?
Replies: 5
Views: 5166

Re: How to set blank page removal?

With AxImaging1 Dim bRet As Boolean = .TwainSetCapCurrentNumeric( _ ICAP_AUTODISCARDBLANKPAGE, .TwainGetCapItemType( _ ICAP_AUTODISCARDBLANKPAGE), -1) MsgBox(bRet.ToString) End With This code displays "True", but blank page removal is still not set. I have to set it manually.