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

Graphs Not Updating In FPW26 Application !!!URGENT HELP NEEDED

Status
Not open for further replies.

DJSSystems

Programmer
Jan 30, 2001
12
GB
I have an application written in FPW2.6 which analises data and then displays the results as graphs. The problem i am having is as follows :

The graphs update and display correctly on all the clients machines which are running MS Office 2000(The same version as I am running), however the machines which are running MS Office 97 display a graph but it is always the same one and is never updated.

Is there a way to put the graph program in my application directory and get foxpro to use that and ignore the version
in MS Office.




David J Sides - DJS Systems UK
 
David,

You could try copying graph8.exe from your Office 2000 directory to your FPW directory. You may also want to look at the _genGraph variable to see what, if anything , that is pointing to.

Chris
 
My gengraph statement is as follows :-

_GENGRAPH=rtrim((setup.path))+"\gengraph.app"

Setup.path points to the directory the application sits in.
I have tried copying the graph.exe to the FPW26 but nothing changed it still worked on Office 2000 clients machines but not on Office 97 clients machines. David J Sides - DJS Systems UK
 
Well, it seems I'm getting rather late to this thread.

I'm having the same problem as yours, and I've found some things about.

In first place, "gengraph.app" in FPW2.6 is directly conected to "C:\WINDOWS\MSAPPS\MSGRAPH\GRAPH.EXE" (MS GRAPH 3.0) through a variable in the Windows Registry (HKEY_CLASSES_ROOT\MSGraph\protocol\StdFileEditing\server).

I've read somewhere you can make a declaration in the embeding section of the WIN.INI file, but I haven't tried yet.

I think the easiest (and maybe the only) way is to make a short "dummy" instalation through SETUP.APP for it to install GRAPH.EXE in every local machine.

I you found the solution, I would appreciate it very much.

David.
 
I did not find a way of doing it so i used a third party
graph program (abrichart)and sent my data to that. It is
not as pretty as MS Graph but it works. David J Sides - DJS Systems UK
 
Based on Rick Strahl's idea from his application GGRAPH (of having a template of the graph type in a table and using the built-in UPDGRAPH procedure in GENGRAPH.APP), I could write a very nice and well presented end-user product.

As I thought, I just had to have the precaution of letting the SETUP wizard to install MSGRAPH.

David.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top