Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
In the place of the image it prints the imagename.jpg
Message
From
06/02/2013 15:28:17
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
In the place of the image it prints the imagename.jpg
Miscellaneous
Thread ID:
01565329
Message ID:
01565329
Views:
111
CREATE CURSOR tmpPic (myoleb G, myoleb2 G)
APPEND BLANK
mypic="c:\mypath\image.bmp"
mypic2="c:\mypath\image2.jpg"

IF FILE(mypic)
APPEND GENERAL tmpPic.myoleb FROM (mypic) LINK
ENDIF

IF FILE(mypic2)
APPEND GENERAL tmpPic.myoleb2 FROM (mypic2) LINK
ENDIF

Into the report I have two "Picture/OLE bound objects", with: ControlSourceType=General Field Name.
The 1st with ControlSource=tmpPic.myole and the 2nd with ControlSource=tmpPic.myole2.

I build my project.

Running the exe from my "vfp development PC" I see the two pictures (bmp and jpg) on the print preview OK.

Running the exe from ANY other PC, I see the first picture (bmp type) OK, BUT in the center of the place where the second image (jpg type) must exists, it prints the name of the picture, i.e.: "image2.jpg", not the picture inself !!!!

I test it on 4 deferent PCs of my customers, running WinXP, Vista 32bit, Win7 64bit.

It seams like in all the other PCs (exept in my vfp development PC) the vfp report cannot find the way how to report the jpg type pictures...

Is this a common problem of VFP or something I did wrong?

What can I do?
Next
Reply
Map
View

Click here to load this message in the networking platform