I am new to Vb and I am trying ot get some text form a text file into textboxes and comboboxes.
I have the following text in a text file;
kuid <KUID:86105:546>
obsolete-table {
0 <KUID:86105:99999>
1 <KUID:86105:99999>
2 <KUID:86105:99999>
3 <KUID:86105:99999>
}
username 346
description "Item description"
build 3465
category-class 3456
category-region-0 US
category-era-0 1900s
What I need to do is read the text into vb maybe using the streamreader function and an array and then search the text for a text string for example "build" and then place the rest of the line into a text box or a combobox. Also in the case of the description the text to be placed in a textbox may be up to 200 characters and several lines in length but will always be between double quotes. How would I go about this? The lines of text may not always be in the order written above.
Thanks in advance
Phil
I have the following text in a text file;
kuid <KUID:86105:546>
obsolete-table {
0 <KUID:86105:99999>
1 <KUID:86105:99999>
2 <KUID:86105:99999>
3 <KUID:86105:99999>
}
username 346
description "Item description"
build 3465
category-class 3456
category-region-0 US
category-era-0 1900s
What I need to do is read the text into vb maybe using the streamreader function and an array and then search the text for a text string for example "build" and then place the rest of the line into a text box or a combobox. Also in the case of the description the text to be placed in a textbox may be up to 200 characters and several lines in length but will always be between double quotes. How would I go about this? The lines of text may not always be in the order written above.
Thanks in advance
Phil