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

Graphs work on one computer - not another.

Status
Not open for further replies.

jbailey268

Programmer
May 25, 2005
51
US
The graphical stuff works on my developmnet machine but not on a another workstation.
Code is someting like this. I borrowed much of it from the "exporting to graphs" which shows sales per quarter etc.

USE tmpgrph3

INSERT INTO <table>VALUES(curSales0.cDescript,tmpgrph3.GRAPH,m.cDetails) && similar to the sample
APPEND GENERAL prodsales.Sales DATA m.cData && again similar to the sample
THISFORM.oleGraph.VISIBLE = .T.
THISFORM.oleGraph.REFRESH()
This, I know is very general but it works great on one computer. Why not another. The one where it fails just shows the old stagnent graphical image in the general field every time - it does not seem to get updated. Again on my development computer it works. Perhaps the install shield didn't load everything the application executable needs on the remote computers. It that possible? Does it need a 3rd party graphical tool I'm unaware of?

 

Yes, you need to include the graph ocx with your installation program.

Read up on how to insure ActiveX controls get installed on target machines via install-sheild.

Darrell
 
Darrell:

you need to include the graph ocx

You are mistaken. The code posted is used to update a graph created using MSGraph, not MsChart.ocx.

jBailey286:

The one where it fails just shows the old stagnent graphical image in the general field every time - it does not seem to get updated

Is MS Office installed on the computer where the graph DOES get updated?




Marcia G. Akins
 
Thank you much for the tip. Busy day. I haven't tried it yet. But will let you know what I get.

Thanks for the timely response.
 
Marcia:

You are correct. I used the term graph ocx generically and
assumed that some graphic activex was missing.

Darrell
 
I did notice that MSgraph9.exe is on the computer where the graphing works. And on the one where it fails MSGraph9.exe is not there. Excel and Word are on there? Gee, why wouldn't the installer put the whole suite including MDGraph on the computer.

Can I just copy MSGraph9.exe on the computer or are there other things (supporting libraries dll's etc) that have to be installed?
 
Can I just copy MSGraph9.exe on the computer or are there other things (supporting libraries dll's etc) that have to be installed?

What you should do is re-install Microsoft Office on the computer that is missing MsGraph. Make sure that Microsoft Graph (under Office Tools in the setup wizard) is selected for installation.



Marcia G. Akins
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top