Pictures not showing up in OCX

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Pictures not showing up in OCX

Postby bemsofpe » Wed Aug 22, 2007 10:44 am

Hi,

I have a very strange problem: we create a vpe file containing an image and save that to disk: the path to the image files are changed to relative paths. When we open this file later with the OCX, we get crossed rectangles where the images should be.

chVPE:PageOrientation = 2
chVPE:DocFileReadOnly = true.
chVPE:OpenDoc().
chVPE:ReadDoc(pFileName).

However if we open the exact smae file with VPE Viewer, the pictures are shown correctly... Am I doing anything wrong?
bemsofpe
 
Posts: 35
Joined: Wed Dec 08, 2004 6:14 pm

Postby IDEAL Software Support » Thu Aug 23, 2007 9:35 am

This must be something with the relative paths and the working directory of your application.

For additional information, please search this forum with the keyword "picture".

Regards
Thorsten Radde
IDEAL Software GmbH
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 15 guests

cron