I am trying to add the ability to display and print graphs to an application developed in VFP 6.0.
I have been looking on various sites and find info about using MS Graph and MS Chart.
Have downloaded an example of MS Graph using a cursor containing a General field and a OLEBOUNDCONTROL. This works fine but I cannot seem to access the MS Graph properties although I have the same coding as in SOLUTIONS (e.g. THISFORM.OLEBOUND1.HASLEGEND=.F. gets an unknown property error).
I am also somewhat concerned about problems with different versions of MS Graph and whether I will have trouble distributing the updated application. Will I be able to update existing sites or will I need to reinstall?
I have tried using MS Chart as that means I only need to include MSCHRT20.OCX. Because I need to print I have gone down the General Field/OLEBOUNDCONTROL route rather than using an OLECONTROL. I cannot get this to go at all if I use APPE GENERAL CLASS MSChart20lib.msCHART.2 I get an error, if I use APPE GENERAL FROM MSCHRT20.OCX I get 'MSCHRT20.OCX' displayed in the OLEBOUNDCONTROL.
Any help would be greatly appreciated.
Malcolm
I have been looking on various sites and find info about using MS Graph and MS Chart.
Have downloaded an example of MS Graph using a cursor containing a General field and a OLEBOUNDCONTROL. This works fine but I cannot seem to access the MS Graph properties although I have the same coding as in SOLUTIONS (e.g. THISFORM.OLEBOUND1.HASLEGEND=.F. gets an unknown property error).
I am also somewhat concerned about problems with different versions of MS Graph and whether I will have trouble distributing the updated application. Will I be able to update existing sites or will I need to reinstall?
I have tried using MS Chart as that means I only need to include MSCHRT20.OCX. Because I need to print I have gone down the General Field/OLEBOUNDCONTROL route rather than using an OLECONTROL. I cannot get this to go at all if I use APPE GENERAL CLASS MSChart20lib.msCHART.2 I get an error, if I use APPE GENERAL FROM MSCHRT20.OCX I get 'MSCHRT20.OCX' displayed in the OLEBOUNDCONTROL.
Any help would be greatly appreciated.
Malcolm