Search found 50 matches

by PQSIK
Fri Nov 18, 2011 6:26 pm
Forum: TWAIN & WIA Acquisition
Topic: System.StackOverflowException
Replies: 9
Views: 8870

Re: System.StackOverflowException

Thanks for the quick reply, I tried you code and it ran fine. I'm using .net 4.0 and when I change the project you project to use .net 4.0 I get the error Can you test your project in .net 4.0 and and code, I'm sure you will get the same error. Dim oGdPictureImaging As New GdPicture.GdPictureImaging...
by PQSIK
Fri Nov 18, 2011 4:01 am
Forum: TWAIN & WIA Acquisition
Topic: System.StackOverflowException
Replies: 9
Views: 8870

System.StackOverflowException

Hi, I was testing gdpictures in a WPF project to list the scanners and could not get past the form load. I keep getting the error below "An unhandled exception of type 'System.StackOverflowException' occurred in PresentationFramework.dll" Private Sub Main_Loaded(sender As Object, e As Syst...
by PQSIK
Sun May 15, 2011 11:17 pm
Forum: Document Viewing
Topic: LoadFromDirectory
Replies: 3
Views: 2511

Re: LoadFromDirectory

I found the problem,

Once I commented this code i show the images

Code: Select all

Dim t As New Themed
If t.IsVisualStylesEnabled Then
     Application.EnableVisualStyles()
     Application.DoEvents()
End
Thanks

pqsik
by PQSIK
Sat May 14, 2011 4:41 pm
Forum: Document Viewing
Topic: LoadFromDirectory
Replies: 3
Views: 2511

Re: LoadFromDirectory

Thanks for your reply Loic, I downloaded 7.4.0.8 today and I tried the PauseThumbsLoading true and false. I still don't see the thumbnails, If you look at the attached image you can see there is a file that's not a image. All I want to do is load images from a directory into the thumbnail viewer. No...
by PQSIK
Sat May 14, 2011 2:54 am
Forum: Document Viewing
Topic: LoadFromDirectory
Replies: 3
Views: 2511

LoadFromDirectory

Hi there,

When I use thumbnail1.LoadFromDirectory(Path Here)

I only see the paths to the files not the thumbnails.

Is there some property I'm missing to show the thumbnail images?

Thanks

pqsik
by PQSIK
Wed May 04, 2011 7:04 pm
Forum: General discussions
Topic: ImageID
Replies: 9
Views: 9746

Re: ImageID

Hi sorry if I'm not explaining this right, You looked at the test code attachment and says the image created by CreateClonedGdPictureImage() is never released in your code. Then I asked Question. Say I have a tiff file with 3 pages and I use CreateClonedGdPictureImageI do I get a new image with 3 pa...
by PQSIK
Wed May 04, 2011 1:10 am
Forum: General discussions
Topic: ImageID
Replies: 9
Views: 9746

Re: ImageID

Thanks again for your reply, I removed most of the code and used an array list for testing and get the same results. Can you tell me them why it's not remove a CreateClonedGdPictureImage() id from the gdp object, is it a bug in CreateClonedGdPictureImage() I did notice that the integer added to the ...
by PQSIK
Tue May 03, 2011 2:33 am
Forum: General discussions
Topic: ImageID
Replies: 9
Views: 9746

Re: ImageID

I'm added gdp.ClearGdPicture() and now the ImageID starts at 0. That's what I'm looking for. Not sure if that's the way I should be doing it. Question. If I use the code below. Say I have a tiff file with 3 pages and I use CreateClonedGdPictureImageI do I get a new image with 3 pages or 1 page that'...
by PQSIK
Mon May 02, 2011 8:08 pm
Forum: General discussions
Topic: ImageID
Replies: 9
Views: 9746

Re: ImageID

Thanks again for your reply Loic, the image created by CreateClonedGdPictureImage() is never released in your code. In the FormClosing I loop though the list and call ReleaseGdPictureImage I thought the code would release the image from the gdp object Private Sub frmImage_FormClosing(ByVal sender As...
by PQSIK
Sun May 01, 2011 11:09 pm
Forum: General discussions
Topic: ImageID
Replies: 9
Views: 9746

Re: ImageID

Thanks for the reply Loic,

I must be doing something wrong then.

I made a small program with the code I'm using, if you can have a look at please.

It crashes when the imageid gets above 6250

Thanks

pqsik
by PQSIK
Wed Apr 27, 2011 4:07 pm
Forum: General discussions
Topic: ImageID
Replies: 9
Views: 9746

ImageID

Hi there, Does GdPictureImaging ImageID always increment by 1 even when you close a form and open it again. I have a list of ids, but if I reopen the form the new ids continues from the last id? Like load 10 images the id would be 1 to 10, close form, open form ids from 11 to 20. This would continue...
by PQSIK
Wed Apr 27, 2011 4:12 am
Forum: Document Viewing
Topic: Load multiple files
Replies: 5
Views: 3706

Re: Load multiple files

I have it working now, need to make sure there is no memory leaks. gdp.SetLicenseNumber(SharedObject.L) Dim ThisPath As String = DataLoader.LoadSettings().CertificateLocation Dim intImage As Integer = 0 Dim Pos As Integer = 0 For Each item As SMProGageCertificate In DataLoader.LoadGageCertificate(Th...
by PQSIK
Tue Apr 26, 2011 9:09 pm
Forum: Document Viewing
Topic: Load multiple files
Replies: 5
Views: 3706

Re: Load multiple files

Thank for the reply Loic, I tried that, but if the tiff file has multiple pages I don't see them in the thumbnail viewer Just one label, no image. I can use the viewers pages/frames goto next to see them. Do I have to get each tiff page and add to another GdPictureImaging and loop into the thumbnail...
by PQSIK
Tue Apr 26, 2011 1:22 am
Forum: Document Viewing
Topic: Load multiple files
Replies: 5
Views: 3706

Re: Load multiple files

I'm still looking for help with this.

Has anyone loaded multiple tiff files into a GdPictureImaging and showing them in a GdPicture thumbnail viewer and GdPicture viewer.

Can it be done?

Thanks

pqsik
by PQSIK
Mon Apr 25, 2011 1:57 am
Forum: Document Viewing
Topic: Load multiple files
Replies: 5
Views: 3706

Re: Load multiple files

Hi there, I'm trying this but I'm not getting any images in the thumbnailEx1 dim LstImage as new List(of Integer) For each file in FileCollection LstImage.add(gdp.CreateGdPictureImageFromFile(file.name)) Next For Each Item As Integer In LstImage ThumbnailEx1.LoadFromGdPictureImage(Item) Next Now I h...