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

Using graphs and MS Graph.exe

FoxPro Enviroment

Using graphs and MS Graph.exe

by  ChrisMc  Posted    (Edited  )
FPW26 expects to find the location of GRAPH.EXE in WIN.INI
Assuming it's installed in C:\WINDOWS\MSAPPS\MSGRAPH the entry would be

[MSAPPS]
msapps=c:\windows\msapps

It's well documented that GRAPH version 3 works better than 5 and that both versions on the same machine will cause problems - the solution is to remove 5

You may also need entries in the Registry - if so, they are

HKEY_CLASSES_ROOT

MSGRAPH
Protocol
StdExecute
Server "C:\WINDOWS\MSAPPS\MSGRAPH\GRAPH.EXE"
StdFileEditing
RequestDataFormats "Native,CF_METAFILEPICT"
Server "C:\WINDOWS\MSAPPS\MSGRAPH\GRAPH.EXE"
SetDataFormats "Native,CF_TEXT"

The part enclosed in quotes is the key value - don't included the quotes.

Repeat the same entries in HKEY_LOCAL_MACHINE
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top