I'm making a simple little program that has two radio buttons (ReadFrom and WriteTo), a multi-lined textbox, and a button. It also has a textfile as a resource, named Information.txt.
When readfrom is checked and the button is pressed, the text from the textfile is displayed in the textbox, this works as it's supposed to.
This gives me the error, [Property 'Information' is 'ReadOnly']
Yet I cannot make information.txt non-readonly. How can I write to it?
Oh, and I want it to replace the previous text in the file.
When readfrom is checked and the button is pressed, the text from the textfile is displayed in the textbox, this works as it's supposed to.
PHP:
If WriteTo.Checked = True Then
My.Resources.Information = TextBox1.Text
End If
This gives me the error, [Property 'Information' is 'ReadOnly']
Yet I cannot make information.txt non-readonly. How can I write to it?
Oh, and I want it to replace the previous text in the file.
Last edited: