Ciao a tutti, ho un array di numeri e vorrei esportaqrlo in un file txt, help please!!
ciaooo
Luca
Ciao a tutti, ho un array di numeri e vorrei esportaqrlo in un file txt, help please!!
ciaooo
Luca
Da queste poche informazioni è difficile capire cosa vuoi fare, a parte un file di testo.
Prova a guardare quest'esempio:
Ciaocodice:Const FileName = "C:\File.txt" Dim Vet(3) As Integer Dim Cont1 As Integer For Cont1 = 0 To UBound(Vet) Vet(Cont1) = 10 ^ Cont1 Next Cont1 Open FileName For Output As #1 For Cont1 = 0 To UBound(Vet) Print #1, "Numero " & CStr(Cont1 + 1) & " = " & CStr(Vet(Cont1)) Next Cont1 Close #1
Grazieeee!!!!