Loading...

GDViewer OCX

Support for GdViewer OCX and GdViewer Pro ActiveX/SDK.

GDViewer OCX

Postby wrdelcb » Mon May 12, 2008 8:48 pm

Hi everybody,

I'm new in this forum and recently my company bought GDViewer OCX (Gdviewer4). when i run my application with a user with administrator permission GDviewer work really good, but when i run my application with a simple user i cannot see the images, someone can help me. i followed all the instruction to install this OCX and i tried to find the specific permission that my users need, but i still have this problem.

If some can help, I'll appreciate it.

I'm using Ms Access 2002 and windows 2003 and windows xp.

Regards
wrdelcb
 
Posts: 6
Joined: Mon May 12, 2008 8:34 pm

Re: GDViewer OCX

Postby Loïc » Tue May 13, 2008 11:28 am

Hi,

The GdViewer don't need special permissions to work.

Maybe your problem come from the database permissions ?

In all case I need more informations than "i cannot see the images" to help you...

Best regards,

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

Re: GDViewer OCX

Postby wrdelcb » Tue May 13, 2008 8:08 pm

Hi,

i don't think this is a database permission, because a get the image from some local folder that all the user has total permission

i using this property

me!dgviewer7.displayfromfile (sFilename)

sFilename = c:\apps\imgs\fx_img78859.tif

with the same user I go to this path and open the image i can see the image, but with the application I cannot. i debug my app and I do not see any errors.

Regards
wrdelcb
 
Posts: 6
Joined: Mon May 12, 2008 8:34 pm

Re: GDViewer OCX

Postby Loïc » Wed May 14, 2008 10:23 am

Hi,

if the code you are running is this one:

Code: Select all
me!dgviewer7.displayfromfile (sFilename)

sFilename = c:\apps\imgs\fx_img78859.tif


It is normal, that the GdViewer dosn't display anything.

You should use this one instead:

Code: Select all
sFilename = c:\apps\imgs\fx_img78859.tif
me!dgviewer7.displayfromfile (sFilename)


If it is always displaying anything, check the returned value of the DisplayFromFile() method.


Best regards,

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

Re: GDViewer OCX

Postby wrdelcb » Wed May 14, 2008 4:49 pm

I tried to give you the code

1. - i Get value to my variable
sFilename = c:\apps\imgs\fx_img78859.tif

2. - call the method with this variable

me!dgviewer7.displayfromfile (sFilename)

Thanks
wrdelcb
 
Posts: 6
Joined: Mon May 12, 2008 8:34 pm

Re: GDViewer OCX

Postby wrdelcb » Wed May 14, 2008 5:08 pm

Hi,

me!dgviewer7.displayfromfile (sFilename)

the returned value of the DisplayFromFile() method

= 0

Thanks
wrdelcb
 
Posts: 6
Joined: Mon May 12, 2008 8:34 pm

Re: GDViewer OCX

Postby wrdelcb » Wed May 14, 2008 5:11 pm

GdPictureStatus

0 = OK

Thanks
wrdelcb
 
Posts: 6
Joined: Mon May 12, 2008 8:34 pm

Re: GDViewer OCX

Postby Loïc » Wed May 14, 2008 5:20 pm

HI,

You can try to uninstall the current version of GdViewer you have. Then install the last edition from this link: http://www.gdpicture.com/download.php

If the problem persists with the last release, please try to reproduce your problem in a tiny application and send it to esupport (at) gdpicture (dot) com with the image you are trying to open.

Best regards,

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


Return to GdViewer [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest