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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS Graph vs MS Chart

Status
Not open for further replies.

prustie

Programmer
Aug 6, 2001
34
GB
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top