Le Lundi 9 Octobre 2006 15:41, James Courtier-Dutton a écrit : > Thank you, I have a problem with it though: > Pop-up-box: BASIC runtime error. > An exception occured > Type: com.sun.star.lang.IllegalArgumentException > Message: URL seems to be an unsupported one. > > document = bureau.loadComponentFromURL(url, "_blank", 0, args1()) > > Conversion was called with: > rep=, src=test1.doc, dest=test1.odt > > Am I doing something wrong?
No, you did correctly. My version of the program is used to convert from Open Document to Word in the context of an enterprise where some people did not migrate yet, to help them exchange documents with their colleagues. If you want to convert in the opposite direction, just change the arguments in the Basic macro (conversion.bas). Or use Laurent's version at oooconv.org, it supports many input and output formats (but has to be adapted a bit since it considers that ooo's format is .sxw, not .odt). -- Les bonnes choses de la vie sont illégales, amorales ou font grossir. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]