Bonjour, j'ai le code suivant ou j'aimerai afficher les valeurs de string qu'il y a dans 2 fichiers mais ça ne marche pas, sa affiche pas juste il m'affiche ce qu'il y a dans le fichier
Si je fait simplement msgbox(line1 & line2) il aime pas à cause du list(of string)
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 Dim line1 As List(Of String) = System.IO.File.ReadAllLines(".\ateliers\élève n°1.txt").ToList For i As Integer = 0 To line1.Count - 1 Dim line2 As List(Of String) = System.IO.File.ReadAllLines(".\machines\" & line1(i) & ".txt").ToList For s As Integer = 0 To line2.Count - 1 MsgBox(String.Join("élève n°1", "; ", line1, "; ", line2)) 'DeleteKey(".\entretien.ini", "Prochain entretien", String.Join("élève n°1", "; ", line1, "; ", line2)) Next Next
vous auriez une solution? merci
Partager