Anyone know how to save a text file onto a mobile device using vb 2005?
I am using the windows mobile 5.0 template to make an app for a mobile.
----
knxrb
Printable View
Anyone know how to save a text file onto a mobile device using vb 2005?
I am using the windows mobile 5.0 template to make an app for a mobile.
----
knxrb
Hi,
look in the helpfile at 'streamwriter'.
Basically:
If your problem is so urgent, there is a section in the help file. I searched for 'write text file' and the first entry is entitled 'How to: Write text to a file'Code:Dim sr As StreamWriter = File.AppendText("\My documents\syslog.txt")
sr.WriteLine(Now & "-->" & strEvent)
sr.Flush()
sr.Close()
Pete