File.ReadString the file does not exist

caillaud

Member
Licensed User
Longtime User
Hi
B4X:
label1.text=File.ReadString(File.DirInternal,"cbnum")

It happens the cbnum file does not exist (for exemple the first time the transaction is run)
how to detect the the file cbnum does not exist in File.DirInternal directory
and so doing that is necessary (creating it or something else)

sincerely

michel
 
Top