Hi Ilja, I tried out your proposal. Now the preview-window opens, but shortly after it is closed again. I think it's a problem of the XP picture preview tool. Any other document (.doc, .xls, .pdf) works fine. thanks and regards holger ________________________________
Von: Pavkovic, Ilja [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 29. November 2006 10:07 An: [email protected]; Zywietz, Holger Betreff: RE: [ULC-developer] Problem with ClientContext.showDocument(path) Dear Holger, this is no valid URL nor URI. perhaps you can try something like new File(path).toURI().toURL().toString() Best Regards, Ilja Pavkovic -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Zywietz, Holger Sent: Tuesday, November 28, 2006 1:14 PM To: [email protected] Subject: [ULC-developer] Problem with ClientContext.showDocument(path) Hi all! I have a problem when I use: String path = "C:\\test 2blanks\\Winter.jpg"; ClientContext.showDocument(path); If the param contains two sequenced blanks I get the following error message: As you see, there is only one blank left. Is this a known problem? Maybe it's a windows bug. Thanks, Holger I am using: ULC Version: 6.0.4 Java Version 1.4.2_11 Windows XP Würth Phoenix GmbH Holger Zywietz ITConsultant Business Integration Drillberg 6 / Geb. 2 97980 Bad Mergentheim Direct: +49 07931 91 6278 E-Mail: [EMAIL PROTECTED] Website: www.wuerth-phoenix.com <http://www.wuerth-phoenix.com/>
<<attachment: Outlook.jpg>>
