11-05-2008 02:40 AM
Hi there,
how can i load a new deskfile via OLE. I tryed to set the deskfile variable with tocommand("deskfile:= ....
but that has no effect.
Thanks
diademi
Solved! Go to Solution.
11-05-2008 04:10 AM
Hello diademi!
You can't! You can change some of the settings made by the file value by value but not all. If you start DIAdem via OLE you can set a key in the registry to define the DDD file used by DIAdem. The reason might be historical because it was (or is?) only possible to do some things defined in the DDD on startup of the program.
Matthias
Matthias Alleweldt Project Engineer / Projektingenieur | Twigeater? |
11-05-2008 04:18 AM
Hi Matthias,
can you tell me whats the name of the registry key, i have to change? Is it not possible to call the "load ddd" function which is implemented in the settings menu?
diademi
11-05-2008 04:32 AM
Hello diademi!
Look for the 'HKEY_CLASSES_ROOT\CLSID\{285E4FB2-F633-11D1-85DC-008048D9A408}\StartParameter' path in the registry. There are the keys 'DesktopFile' and 'DesktopPath' you have to set.
Matthias
Matthias Alleweldt Project Engineer / Projektingenieur | Twigeater? |