I can't According to the method of you do, but I'm not up to me to the effect.
please see the following code:
Dim Writer As TextWriter
Writer.Initialize(File.OpenOutput(File.DirRootExternal,"aide.txt"&DateTime.Date(DateTime.Now),False))
Writer.writeline("Electricity 1 data and time :")
Writer.writeline("EditText1.Text")
Writer.Close
I can't According to the method of you do, but I'm not up to me to the effect.
please see the following code:
Dim Writer As TextWriter
Writer.Initialize(File.OpenOutput(File.DirRootExternal,"aide.txt"&DateTime.Date(DateTime.Now),False))
Writer.writeline("Electricity 1 data and time :")
Writer.writeline("EditText1.Text")
Writer.Close
I'm guessing you have a file that is updated daily? If that's the case then you want:
Writer.Initialize(File.OpenOutput(File.DirRootExternal,"aide" & DateTime.Date(DateTime.Now) & ".txt",False))
This returns: aide02/28/2012.txt (the date changes daily obviously)
I'm guessing you have a file that is updated daily? If that's the case then you want:
Writer.Initialize(File.OpenOutput(File.DirRootExternal,"aide" & DateTime.Date(DateTime.Now) & ".txt",False))
This returns: aide02/28/2012.txt (the date changes daily obviously)