File.ReadString and WriteString.

mramos

Member
Licensed User
Longtime User
I am using:
Code: Copy
   File.WriteString(File.DirInternal,Filename, MarkActDetail)

to write to a file

When I read with:
Code: Copy
        LookupActDetail.Text = File.ReadString(File.DirInternal,Filename)

I get this in the editext box:
Code: Copy
android.widget.EditText@43c47f60

I know Filename is good I can Write and then Delete it with no errors. I have dim as this:
Code: Copy
   Dim LookupActDetail, MarkActDetail As EditText
 
You have omitted the Text property so Basic4android is converting the control to its text representation.

File.WriteString(File.DirInternal,Filename, MarkActDetail.Text)

That did the trick.. Program is done. Thanks for the help. Still learning here.
 
Upvote 0
Back
Top