>working on 19 projects at once and jumping from one to the next, I have to continually set the Form Template Class in the Options set dialog based on what project I am in.
>
>Would like to find a way that this could be done programmically. I would appreciate if anyone can steer me in the right direction!
>
>Thanks in advance
This information is stored in the Registry. You could modify it using the registry class that comes with VFP in the FFC folder.
The main hive to look in is:
HKEY_CURRENT_USER\Software\Microsoft\VisualFoxPro\
x.0\Options where
x is the version number. You'll need to change two entries in that hive: FormsClass (where you enter the class name of the form) and FormsLib (where you enter the fully qualified path to the class library).
George
Ubi caritas et amor, deus ibi est