All-
Forget my last posting... I was being an idiot. I got the command line
correctly and then didn't sent it to wxExecute (I sent the filename).
What a knucklehead!!
Thanks
KJO
···
-----Original Message-----
From: Owens, Kieran
Sent: Wednesday, May 21, 2003 1:26 PM
To: 'wxPython-users@lists.wxwindows.org'
All-
I use wxMimeTypesManager to retrieve the command to open a particular
file. However, passing the file to wxExecute then fails.
The string returned by GetOpenCommand is
WX_DDE#"C:\Program Files\Microsoft Office\Office10\WINWORD.EXE" /n
/dde#WinWord#System#[REM
_DDE_Direct][FileOpen("http://server/DT/Uploads/Docs/rel/{6ECA28C4-C531-
11D4-982C-0008C7862827}/user_{B40CC937-C996-44E5-8AA0-1847DA3CBA9D}_4522
10477_37522.7630555556_M Pharma.doc")]
And the error (which mysteriously ends up in the wxLog) is
Error: Execution of command
'http://server/DT/Uploads/Docs/rel/{6ECA28C4-C531-11D4-982C-0008C7862827
}/user_{B40CC937-C996-44E5-8AA0-1847DA3CBA9D}_452210477_37522.7630555556
_M Pharma.doc' failed (error 2: the system cannot find the file
specified.)
Is wxExecute trying to execute the wrong thing? What's this DDE
business? I'm a bit confused, can anyone help about this?
Thanks
KJO