I want to fetch some data from an xml file and display this within a textbox. The fetching works great, but the hard returns in the text are being displayed as ||| within the textbox.
For example:
If this is in the xml file:
it will be displayed in my textbox as:
I think I've got to replace this ||| characters with a vbCrLf, but I'm not sure how to do this.. since it's not working.
This is the coding I have:
Ps: My textbox is set to multiline, and there is nothing wrong with the way I read out my xml file cause when I output to the clipboard it's being displayed correctly (without the weird characters).
For example:
If this is in the xml file:
Code:
Hello, this is
a
test
Code:
Hello, this is|||a|||test.
This is the coding I have:
Code:
TextBox12.Text = Form1.ListBox12.Items(Form1.ListBox1.SelectedIndex).ToString.Replace("\r\n", vbCrLf)