DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Load a new Deskfile via Ole

Solved!
Go to solution

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

0 Kudos
Message 1 of 4
(4,361 Views)

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?  
0 Kudos
Message 2 of 4
(4,360 Views)

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

0 Kudos
Message 3 of 4
(4,355 Views)
Solution
Accepted by topic author diademi

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?  
Message 4 of 4
(4,352 Views)