TooLongName
New member
- Joined
- Jul 23, 2010
- Messages
- 1
- Programming Experience
- Beginner
Hey,
I have Visual Basic 2008
I'm using this text file: (in the attachments)
And I'm using a little bit messed up code which is not really doing what I want
What I want is that when I press a button it reads what I entered in TextBox1 and search my item.txt file for it, and shows the part in front of the string I entered in TextBox1.
This is what item.txt looks like:
So when I enter this in TextBox1: "Kai Hat(M)" it will put the part in front of "Kai Hat(M)" in TextBox2 (IDS_PROPITEM_TXT_011914).
Thanks in Advance
I have Visual Basic 2008
I'm using this text file: (in the attachments)
And I'm using a little bit messed up code which is not really doing what I want
What I want is that when I press a button it reads what I entered in TextBox1 and search my item.txt file for it, and shows the part in front of the string I entered in TextBox1.
This is what item.txt looks like:
VB.NET:
IDS_PROPITEM_TXT_011906 Joey
IDS_PROPITEM_TXT_011907 Description
IDS_PROPITEM_TXT_011908 Spike
IDS_PROPITEM_TXT_011909 Description
IDS_PROPITEM_TXT_011910 Lumia
IDS_PROPITEM_TXT_011901 Description
IDS_PROPITEM_TXT_011912 Inspector Koko
IDS_PROPITEM_TXT_011913 Description
IDS_PROPITEM_TXT_011914 Kai Hat(M)
IDS_PROPITEM_TXT_011915 Description
IDS_PROPITEM_TXT_011916 Kai Suit(M)
IDS_PROPITEM_TXT_011917 Description
So when I enter this in TextBox1: "Kai Hat(M)" it will put the part in front of "Kai Hat(M)" in TextBox2 (IDS_PROPITEM_TXT_011914).
Thanks in Advance