How can I do the same thing, but with *.txt Files?
I want a ListBox showing a whole load of files (and I've managed to do that)
But I can't figure out how to, when you click a *.txt file in the ListBox, make it show the *.txt file in TextBox1.Text.
This is what I tried and it did nothing:
TextBox1.Text = ListBox1.SelectedItem
I am awaiting your response...
reblogo 8 months ago
@reblogo use this
TextBox1.Text = IO.File.ReadAllText(ListBox1.SelectedItem.ToString())
Hope this helps, Subscribe :)
Zieixt 8 months ago
good
hejarmilan 11 months ago
THANK YOU MAN, your tutorial(divided in five videos) helped me a lot,. I was trying to do a similar thing. you does it slowly and it is to understand. sorry for my bad english
ultimate1471 1 year ago
@ultimate1471 Welcome :)
Zieixt 1 year ago
very nice .... good job bro
can you tell me how i can fix image directory with image viewer
i mean if i want to set some images permnantly with image viewer
then what i have to do.
thanks
and sorry for bad english.
i am waiting for your good response
TheColourplay 1 year ago
@TheColourplay pls can you be a little bit clearer?
great video
gjaan09 1 year ago
How can I do the same thing, but with *.txt Files?
I want a ListBox showing a whole load of files (and I've managed to do that)
But I can't figure out how to, when you click a *.txt file in the ListBox, make it show the *.txt file in TextBox1.Text.
This is what I tried and it did nothing:
TextBox1.Text = ListBox1.SelectedItem
I am awaiting your response...
reblogo 8 months ago
@reblogo use this
TextBox1.Text = IO.File.ReadAllText(ListBox1.SelectedItem.ToString())
Hope this helps, Subscribe :)
Zieixt 8 months ago
good
hejarmilan 11 months ago
THANK YOU MAN, your tutorial(divided in five videos) helped me a lot,. I was trying to do a similar thing. you does it slowly and it is to understand. sorry for my bad english
ultimate1471 1 year ago
@ultimate1471 Welcome :)
Zieixt 1 year ago
very nice .... good job bro
can you tell me how i can fix image directory with image viewer
i mean if i want to set some images permnantly with image viewer
then what i have to do.
thanks
and sorry for bad english.
i am waiting for your good response
TheColourplay 1 year ago
@TheColourplay pls can you be a little bit clearer?
Zieixt 1 year ago
great video
gjaan09 1 year ago