Piet,
first i alayw provide some information when storing not a empty array a you did
Thiscomponent.storeToURL( ConvertToURL(sfile), Array( MakePropertyValue("FilterName", "writer8", "ReadOnly", "False" ))
and i allways do convertToURL(myURL) to been sure it's a correct URL (your URL seems corrrect)
Did you played around with
"storeAsURL" and "storeAToURL"
I do the folowing check
if fileexists(ConvertToURL(sfile)) then
Thiscomponent.storeToURL( ConvertToURL(sfile), Array( MakePropertyValue("FilterName", "writer8", "ReadOnly", "False"))
' bIsNewDoc = False
else
Thiscomponent.storeAsURL( ConvertToURL(sfile), Array( MakePropertyValue("FilterName", "writer8", "ReadOnly", "False"))
' bIsNewDoc = true
end if
Hope it helps
Fernand