Re: [dev] Re: Openoffice bean throwing error while saving in old file format.

2007-02-07 Thread Mathias Bauer
priyanka schrieb:

 
 I have gone through all the sample code I could find, and I still get a
 com.sun.star.task.ErrorCodeIOException...
 i want to save this code just as an Openoffice document ..it still
 gives the same exception ...
 xStorable.storeAsURL(C:\\test.odt,storeProps);

You have to provide a URL, e.g. file:///C:/test.odt.

Ciao,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to [EMAIL PROTECTED].
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] Re: Openoffice bean throwing error while saving in old file format.

2007-02-06 Thread priyanka


I have gone through all the sample code I could find, and I still get a
com.sun.star.task.ErrorCodeIOException...
i want to save this code just as an Openoffice document ..it still
gives the same exception ...
xStorable.storeAsURL(C:\\test.odt,storeProps);
plz help



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Re: Openoffice bean throwing error while saving in old file format.

2007-02-06 Thread Juergen Schmidt

priyanka wrote:


I have gone through all the sample code I could find, and I still get a
com.sun.star.task.ErrorCodeIOException...
i want to save this code just as an Openoffice document ..it still
gives the same exception ...
xStorable.storeAsURL(C:\\test.odt,storeProps);

i would suggest that you use an Url instead of a system path ;-)

Juergen



plz help



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]