Some of you might also have encountered the nasty issue of CorelDraw (CorelDrw.exe) to open a new instance of CorelDraw for every CDR file being double-clicked for opening. After twiddling around and searching the web, I finally found out that CorelDraw.exe is case-sensitive for DDE commands. As such, using the DDE argument 'Open("%1")' won't do anything.The solution for CorelDraw X4 (CorelDrw.exe) is:
Application used:"C:\Tools\Office\Corel\PROGRAMS\CORELDRW.EXE" -DDE "%1"
DDE Message:[O("%1")]Application:CORELDRW_MOSDDE Application not Running:<empty>Topic:System
Corresponding registry file:-----------------------------------------Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\CorelDRAW.Graphic.14\shell\Open][HKEY_CLASSES_ROOT\CorelDRAW.Graphic.14\shell\Open\command]@="\"C:\\Tools\\Office\\Corel\\PROGRAMS\\CORELDRW.EXE\" -DDE \"%1\""[HKEY_CLASSES_ROOT\CorelDRAW.Graphic.14\shell\Open\ddeexec]@="[O(\"%1\")]"[HKEY_CLASSES_ROOT\CorelDRAW.Graphic.14\shell\Open\ddeexec\Application]@="CORELDRW_MOS"[HKEY_CLASSES_ROOT\CorelDRAW.Graphic.14\shell\Open\ddeexec\Topic]@="System"
Hello longimanus; I use X4 and don't have that problem. My program will just open a new window in the CorelDraw I have running.
George