Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
In the place of the image it prints the imagename.jpg
Message
De
06/02/2013 15:28:17
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
In the place of the image it prints the imagename.jpg
Divers
Thread ID:
01565329
Message ID:
01565329
Vues:
112
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?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform