Automatic Registration and Configuration (Advanced)
Previous  Top  Next

FX Graph has a number of built-in systems that make automatic registration and configuration easy.
Simple Configuration File  
FXG300.ini is a normal .ini file that can be copied into anyone's profile or placed into the default user profile.  
 
Default Configuration & Registration System  
At any stage, you can write a default configuration file. Set up a registered copy of FX Graph and choose Write Default Configuration File from the Tools menu. This file, FXG3_Default.ini, will be written to FX Graph's application directory. This file can greatly simplify your installation.  
 
When FX Graph first starts, it checks to see if there is a Default Configuration file in its directory. If there is, it loads all the options from the file, saves these options into the user's profile, and then attempts to delete the default configuration file. No error is generated if FX Graph cannot delete the file. This behaviour means that you can use the default configuration file in one of two ways:  
 
·Ensure that there is a copy of FXG3_Default.ini in FX Graph's directory and let it customise FX Graph for you. Once it is automatically deleted, the user is free to customise their copy of FX Graph.  
·You can make FXG3_Default.ini read only (or make it part of the standard operating environment) so that FX Graph is ALWAYS reset back to your standard configuration when it is run.  
 
 
Integrate with Word  
Configuring Word involves copying FXGraph3.dot into a startup directory that is accessible to the user. Word, by default, loads all templates that are located in a startup directory. There are three startup directories that can be used.  
 
·The application has its own startup directory. This will often be C:\Program Files\Microsoft Office\Office\Startup but this obviously depends on your setup. The FX Graph setup program will automatically copy the FXGraph3.dot into this directory.  
 
·The All Users profile has a Word startup directory. This will often be C:\Documents and Settings\All Users\Application Data\Microsoft\Word\STARTUP.  
 
·Each user has a Word startup directory. This will often be C:\Documents and Settings\%username%\Application Data\Microsoft\Word\STARTUP  
 
You should only have the FXGraph3.dot file in ONE of these locations.  
 
 
Locking Preferences  
You can prevent users from accessing the Tools/Preferences menu, writing Default Configuration files and resetting all options.  
 
·Open your standard FXG300.ini in an editor (eg Notepad)  

·Find AllowPreferenceChanges=1 and change it to AllowPreferenceChanges=0  

·Save FXG300.ini