DODO
asked on
Delete files in PDA
hi,
How I can delete a file with Kill("fileName") function in compact firmware application for WM5.0 PDA?
thanks
How I can delete a file with Kill("fileName") function in compact firmware application for WM5.0 PDA?
thanks
ASKER
hi,
file location in storage card of the PDA as /SDMMC
ALREADY I TRIED My.Computer.FileSystem.Del eteFile but not accepted in compact dot net 2.0 firmwork
file location in storage card of the PDA as /SDMMC
ALREADY I TRIED My.Computer.FileSystem.Del
maybe you are not providing the correct file path.
ASKER
Its not path problem , i got error in code when i am using it if the target machine is WM5.0 and the same code accepted if the target machine is PC .
So I think some missing import names i must use or we can't use the same thing under compact dot net
frimwork.
So I think some missing import names i must use or we can't use the same thing under compact dot net
frimwork.
System.IO.File.Delete("\St orage Card\Tepm\YourFile.txt")
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks to Mr . jaime & Mr. Mikal
My mistake that I was using : My.Computer.FileSystem.Del eteFile() instead of
System.IO.File.Delete("\St orage Card\Tepm\YourFile.txt")
Best regards
dodo
My mistake that I was using : My.Computer.FileSystem.Del
System.IO.File.Delete("\St
Best regards
dodo
You can use System.IO.File.Delete()