List1.AddRange(IO.File.ReadAllLines(IO.Path.Combine(Application.StartupPath, "file1.dat")))
tolistest reconnu
Private List1() As String Try List1 = System.IO.File.ReadAllLines(Application.StartupPath & "\file1.dat") Return True Catch ex As Exception Return False End Try
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionList1 = System.IO.File.ReadAllLines(Application.StartupPath & "\file1.dat").dans la fenetre qui s'ouvre tolist apparait bien
List1 = System.IO.File.ReadAllLines(Application.StartupPath & "\file1.dat").dans la fenetre qui s'ouvre tolist n'apparait pas