Search found 102 matches

by Tom Moran
Thu Nov 17, 2011 7:31 pm
Forum: Document Viewing
Topic: redist msvbvm60.dll
Replies: 3
Views: 4064

Re: redist msvbvm60.dll

Oliver:

You do not need to include the standard VB6 runtimes in your set-up for XP, Vista and Win7 operating systems. Nor should you.

These runtimes ship with those operating systems.

Tom
by Tom Moran
Sun Jul 10, 2011 5:32 pm
Forum: Document Viewing
Topic: Fuzzy PDF display with GdViewer
Replies: 14
Views: 8083

Re: Fuzzy PDF display with GdViewer

Hi Bob;

DejaVu Sans Mono is a good alternative to Courier New for mono spaced fonts. Also Lucida Console.

Attached is an image comparing the three.

Tom
by Tom Moran
Sun Jun 19, 2011 7:04 pm
Forum: Image Processing & Document Imaging
Topic: Need Help with Image Perspective (Skewing?)
Replies: 1
Views: 2034

Need Help with Image Perspective (Skewing?)

Hi Loic: I need help in changing an images perspective. What I'd like to do is to take an image such as appears on the left of the attached image and change it to a slanted image display such as on the right of the attached image. I've tried using the the DrawImageSkewed method but for the life of m...
by Tom Moran
Tue Feb 08, 2011 4:22 pm
Forum: Image Processing & Document Imaging
Topic: Is it a must to scan multiple documents to a temporary file?
Replies: 8
Views: 4888

Re: Is it a must to scan multiple documents to a temporary f

...error at "DeleteFile function" "permission denied" and i think because i am trying to delete after reloading to gdviewer I believe you are correct, Mabdullah... you must first finish the document processing (saving with different file name, printing, etc.) before you can kill...
by Tom Moran
Mon Feb 07, 2011 10:55 pm
Forum: Image Processing & Document Imaging
Topic: Is it a must to scan multiple documents to a temporary file?
Replies: 8
Views: 4888

Re: Is it a must to scan multiple documents to a temporary f

I guess the question is what happens to the file after it's scanned? Does the user save it with a different file name?

In any event, you can delete the temp files after the user has completed their task. That will free up the disk space taken during the scan process.

Tom
by Tom Moran
Mon Feb 07, 2011 6:08 pm
Forum: Image Processing & Document Imaging
Topic: Is it a must to scan multiple documents to a temporary file?
Replies: 8
Views: 4888

Re: Is it a must to scan multiple documents to a temporary f

Hi Mabdullah: There are a couple of ways you can do that. You probably will want to use the GetTempFilename API. Go here for code snippet from Microsoft: http://support.microsoft.com/kb/195763 Here is another way: http://www.visualbasic.happycodings.com/Files_Directories_Drives/code15.html Tom
by Tom Moran
Wed Jan 19, 2011 6:31 pm
Forum: Image Processing & Document Imaging
Topic: Insert pages from file to an opened document in gdviewer
Replies: 6
Views: 3545

Re: Insert pages from file to an opened document in gdviewer

Mabdullah: You might consider looking at the GdPicture documentation: How to create multipage tif image from several existing image files: Dim nImageID As Long nImageID = object.CreateImageFromFile( "image1.jpg") object.TiffSaveAsNativeMultiPage ("multipage.tif") nImageID = objec...
by Tom Moran
Mon Dec 13, 2010 6:25 pm
Forum: Document Viewing
Topic: Error 1 GenericError on crop
Replies: 3
Views: 2896

Re: Error 1 GenericError on crop

Hi:

Sorry... I know nothing about VFP or what may be happening in that environment.

Perhaps Loic can better help you.

Tom
by Tom Moran
Sun Dec 12, 2010 5:52 pm
Forum: Document Viewing
Topic: Error 1 GenericError on crop
Replies: 3
Views: 2896

Re: Error 1 GenericError on crop

You must first set/draw the rectangle you wish to crop and then crop to those rectangle coordinates. Here is VB6 code that sets, gets a rectangle and then crops an image to that rectangle and then displays in the viewer: Dim nleft as Long, ntop as Long, nWidth as Long, nHeight as Long 'First set are...
by Tom Moran
Sat Dec 04, 2010 8:27 pm
Forum: Image Processing & Document Imaging
Topic: How to set the transparency
Replies: 9
Views: 5309

Re: How to set the transparency

Hi Louis: If I understand you correctly then you can do that. The following code loads an image in the Imaging object. It then draws a semi-transparent rectangle over the image. It then displays the image and transparent rectangle in the viewer. Start a new project and put in your license informatio...
by Tom Moran
Thu Dec 02, 2010 4:01 pm
Forum: Image Processing & Document Imaging
Topic: How to set the transparency
Replies: 9
Views: 5309

Re: How to set the transparency

Okay, Louis. I'm still not exactly sure what the purpose of your program/display is, however, there are a few ways you can go about achieving/displaying transparency of an image. In almost all cases it would be best if you first load the image in the Imaging object, to obtain a reference ImageID, an...
by Tom Moran
Wed Dec 01, 2010 6:00 pm
Forum: Image Processing & Document Imaging
Topic: How to set the transparency
Replies: 9
Views: 5309

Re: How to set the transparency

Hi Louis: Instead of using separate images, why not just draw a transparent black rectangle, sized to the image, on top of the image using whatever transparency level you desire. If you need to restore the original image, then make a clone of the image before drawing the transparent rectangle. That ...
by Tom Moran
Tue Nov 30, 2010 9:41 pm
Forum: Image Processing & Document Imaging
Topic: How to set the transparency
Replies: 9
Views: 5309

Re: How to set the transparency

Hi Louis: If it were me, I would load the image into the Imaging object, not the viewer. GDI_Tmp.CreateImageFromFile("c:\opacity.bmp") ' this file is a black rectangle GDI_Tmp.SetTransparencyColor(GDI_Tmp.argb(255, 0, 0, 0)) GDI_Tmp.SetTransparency(128) 'or whatever level desired GDV_File....
by Tom Moran
Tue Nov 23, 2010 8:42 pm
Forum: Image Processing & Document Imaging
Topic: Prevent Scrollbars from Flashing
Replies: 1
Views: 2070

Re: Prevent Scrollbars from Flashing

You didn't say what programming language you are using??? I'm not sure you'd want to use SetFocus to another control in any event as then you wouldn't be able to use the mouse scroll wheel or mouse wheel zoom without focus. If that doesn't matter to you then all you need to do is set the other contr...
by Tom Moran
Fri Oct 29, 2010 7:18 pm
Forum: Image Processing & Document Imaging
Topic: Capture User Control In Image
Replies: 2
Views: 2117

Re: Capture User Control In Image

Perfect. That's exactly what I was looking for.

Thanks, Loic!

Tom