Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing a chart that is in the clipboard
Message
De
30/06/2003 16:49:55
 
 
À
30/06/2003 11:49:01
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00799638
Message ID:
00805472
Vues:
41
>>>>>>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 && Color depth - 4,8 or 24
>>oBmp = newOBJECT("BMPMaker","obj2bmp")
>>oBmp.cFileName = 'C:\mschartsave.bmp' && Save filename
>>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é
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform