[Gambas-user] Xmlwriter.open always gives error 43

T Lee Davidson t.lee.davidson at gmail.com
Fri Nov 25 16:28:28 CET 2022


On 11/25/22 01:47, BB wrote:
> 
> On 25/11/22 5:02 pm, Angel wrote:
>>
>> Hi
>>
>> When executing the sentence:
>>
>>
>> xwri.open ("~/desktop/file new.xsl", True)
>>
>>
>> To save the XML to a file, error 43 always comes out.
>>
>> When I am the owner of the file, and the file is in the Home Desktop folder.
>>
>> I have tried to erase the file and create an empty file with that name and give the same error.
>>
>> What am I doing wrong?
>>
>> How to save the resulting XML to a file.
>>
> 
> 1) it's "D"esktop everywhere I've been
> 
> 2) what's that space?
> 
> hth
> 
> bruce

Also, the tilde may be causing an issue. Try using User.Home in place of it.


-- 
Lee



More information about the User mailing list