>>>>>>VFP6
>>>>>>
>>>>>>1. There is a chart in the clipboard
>>>>>>2. I want to print that chart
>>>>>>3. Is there a way to get that chart in a report and print it?
>>>>>
>>>>>Denis,
>>>>>Who created that chart. There might be an easier way than printing from clipboard.
>>>>>Cetin
>>>>
>>>>I created it in my app. with msChart
>>>
>>>Good I asked :)
>>>Check Thread #
585060 and Message #
585070>>>Cetin
>>
>>Problem in compilation
>>
>>
>>lnBPP = 24
>>oBmp = newOBJECT("BMPMaker","obj2bmp")
>>oBmp.cFileName = 'C:\mschartsave.bmp'
>>with ThisForm.OleControl1
>> oBmp.MakeBitmap(_WhToHwnd(_WOnTop()), lnBPP, ;
>> .top+sysmetric(9)+sysmetric(4), .left+sysmetric(3), .height, .width)
>>endwith
>>
>>
>>set library to home()+'foxtools.fll' additive has been done in my prg at the beginning
>>
>>
>>
>>Unable to find unknown _WOnTop
>>Unable to find unknown _WhToHwnd
>>
>>
>>
>>Have any idea what could be wrong at this level?
>
>set library to foxtools.fll additive
>and place the fll in app folder.
>
>Add fll to project.
>Cetin
I assumed the fll was at home(). It was'nt. Everything works as expected now. Thanks for all the help Cetin.
*******************************************************
Save a tree, eat a beaver.
Denis Chassé