Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Picture cannot be shown on the report?

Status
Not open for further replies.

FranklinYeung

Programmer
Apr 20, 2001
31
0
0
HK
Dear all,

I write an program (by VFP 6.0 SP4) like this :
************************************************************
lcFile = getfile('bmp')
if empty(lcFile)
quit
endif

create cursor xPrintout(print_date t, print_by c(50), bmpFile g)

insert into xPrintout(print_date, print_by) values (datetime(), sys(0))
append general bmpfile from &lcFile

report form report\printout.frx preview noconsole
report form report\printout.frx to printer prompt
************************************************************

I would like to print out the bitmap picture that user selected. However, I found that in some PC, the picture cannot be shown or print properly. Only a block of black image can be viewed and printed. What's wrong with my code?
I tried to reinstall the whole VFP program on that PC but it remains the same.
Is there any windows setting that was corrupted? or any VFP setting can be configured? Or Should I reinstall the whole windows to solve this problem?

Anyone have such experience, please share

Many Thanks.

Franklin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top