Bonjour, je suis entrain de cree un editor dreamcast de cheat mais j'arrive pas à recupere les 3 valeur dans listview1 : address, desc,value.
voici mon code de lecture :cheat0_address = "5111210"
cheat0_address_bit_position = "0"
cheat0_big_endian = "false"
cheat0_cheat_type = "1"
cheat0_code = ""
cheat0_desc = "Infinite Health P1"
cheat0_enable = "false"
cheat0_handler = "1"
cheat0_memory_search_size = "4"
cheat0_rumble_port = "0"
cheat0_rumble_primary_duration = "0"
cheat0_rumble_primary_strength = "0"
cheat0_rumble_secondary_duration = "0"
cheat0_rumble_secondary_strength = "0"
cheat0_rumble_type = "0"
cheat0_rumble_value = "0"
cheat0_value = "500"
cheat0_repeat_count = "1"
cheat0_repeat_add_to_value = "0"
cheat0_repeat_add_to_address = "0"
cheats = "1"
pouvez-vous m'aider à recupere les 3 valeur dans listview1? merci d'avance
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 Dim reader As New StreamReader(filename) While reader.Peek > -1 Dim temp As New ArrayList() temp.Add(reader.ReadLine & Environment.NewLine) ListView1.BeginUpdate() ListView1.Items.Clear() For i As Integer = 0 To temp.Count - 1 Dim ligne As String = temp.Item(i) RichTextBox1.AppendText(ligne) Dim champs() As String = ligne.Split("=") Dim lvi As New ListViewItem(ListView1.Items.Count) lvi.SubItems.Add(champs(1).Replace("""", "")) ListView1.Items.Add(lvi) Next ListView1.EndUpdate() End While
Partager