
Originally Posted by
ppl2pass
@MJLover thanks so much. definitely give credits to u.
How would you store the code under the name. Like when Gravity modifier is selected. It will show this code in a textbox when "Gravity Modifier" is selected.
Code:
05750000 3F8F0000
05750004 00000000
05750008 3F720000
C22CD2CC 00000005
3E808175 C0B40004
FC002840 41800010
C0340000 EC010032
4800000C C1D40008
EC0E0032 00000000
Code:
Gravity modifier [hetoan2]:
05750000 3F8F0000
05750004 00000000
05750008 3F720000
C22CD2CC 00000005
3E808175 C0B40004
FC002840 41800010
C0340000 EC010032
4800000C C1D40008
EC0E0032 00000000
Gravity Modifier OFF [hetoan2]:
042CD2CC EC010032
--- edit
now that i thought of it. is it even possible?
Absolutely possible and absolutely easy
Double click the listbox and add the following code:
[php]Dim str As String = My.Computer.FileSystem.ReadAllText("D:\ddd.txt")
Try
If ListBox1.SelectedIndex = ListBox1.Items.Count - 1 Then
Dim x1 As Integer = str.IndexOf(ListBox1.SelectedItem, 0) + ListBox1.SelectedItem.ToString.Length + 1
Dim MJ As String = Mid(str, x1).Trim
TextBox1.Text = MJ
Else
Dim x1 As Integer = str.IndexOf(ListBox1.SelectedItem, 0) + ListBox1.SelectedItem.ToString.Length + 1
Dim x2 As Integer = str.IndexOf(ListBox1.Items(ListBox1.SelectedIndex + 1), x1) + 1
Dim MJ As String = Mid(str, x1, x2 - x1).Trim
TextBox1.Text = MJ
End If
Catch ex As Exception
End Try
[/php]
Sorry for late reply, My internet was down for some hours !!
Enjoy buddy 