FranklinYeung
Programmer
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
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