Loading...

GDViewer 4: can not display image error no 3

Support for GdViewer OCX and GdViewer Pro ActiveX/SDK.

GDViewer 4: can not display image error no 3

Postby maastens » Wed Feb 03, 2010 9:50 am

Hi,

I'm using GDViewer on a network, to load pdf's and images from a central store. Every now and then I get an error message "GDViewer 4: can not display image error no 3".

My customer also see's 'virtual memory minimum too low'

what can this be?

regards, maarten
Last edited by maastens on Wed Feb 03, 2010 1:32 pm, edited 1 time in total.
maastens
 
Posts: 2
Joined: Wed Feb 03, 2010 9:40 am

Re: GDViewer 4: can not display image error no 3

Postby Vxvx » Wed Feb 03, 2010 12:02 pm

Which method you are using for display image?
Vxvx
 
Posts: 8
Joined: Wed Feb 03, 2010 11:48 am

Re: GDViewer 4: can not display image error no 3

Postby maastens » Wed Feb 03, 2010 1:38 pm

This is what I am doing (showing a jpg or pdf, depending on user choice)

If FileExists(P) And Right(P, 1) <> "\" Then
If UCase(Right(P, 4)) = ".PDF" Then
frmMain.gdvInfo.SetZoomWidthControl
Else
frmMain.gdvInfo.SetZoomControl
End If

frmMain.gdvInfo.DisplayFromFile (P) 'P can be PDF or JPG
frmMain.gdvInfo.Visible = True
Else
frmMain.gdvInfo.Visible = False

regards,

Maarten
maastens
 
Posts: 2
Joined: Wed Feb 03, 2010 9:40 am

Re: GDViewer 4: can not display image error no 3

Postby Loïc » Wed Feb 03, 2010 1:51 pm

Hi,

You should release the previous displayed image before displaying a new one. Please use the CloseImage() method for that.

With best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4441
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdViewer [Pro] ActiveX

Who is online

Users browsing this forum: Bing [Bot] and 1 guest