G
Guest
Hi,
I would like to programatically delete a file that has been downloaded as
read only. Obviously when you try and delete it 'normally' with
File.Delete(filename) it throws an exception (as you would expect). My
immediate thought is that I should change the attributes associated with the
file to RW before attempting the delete BUT I cannot find how to do this in
code with win CE. Any/all clues/solutions greatfully recieved.
Platform is IPAQ pocketPC. application mainly in VB.Net.
thanks for your time
regards
Bill
p.s. this was originally incorrectly posted in embedded VB forum and has
been moved here.
I would like to programatically delete a file that has been downloaded as
read only. Obviously when you try and delete it 'normally' with
File.Delete(filename) it throws an exception (as you would expect). My
immediate thought is that I should change the attributes associated with the
file to RW before attempting the delete BUT I cannot find how to do this in
code with win CE. Any/all clues/solutions greatfully recieved.
Platform is IPAQ pocketPC. application mainly in VB.Net.
thanks for your time
regards
Bill
p.s. this was originally incorrectly posted in embedded VB forum and has
been moved here.