How to atomaticly get .txt after filename whith saveing

volvomann

Active Member
Licensed User
Longtime User
I use filedialog to save and open file,

B4X:
File.WriteMap(File.DirRootExternal & "/pulsdata", lagre , Map1)
Hov can i add .txt to all files when saving? I tried top putt & .txt after the filestring, that works but when i save the same file next time it got .txt.txt
So how can i fix that. Tried to set filter to .txt but that oly works with open file.
 
Last edited:
Top