Ok
penso di aver finito tutto il codice che mi compila il file finale
ora vorrei dare la possibilità all'utente di cambiare i file da dove leggere e il nome di quello di output tramite form mi potete aiutare????
grazie
codice:
Dim FileDaAprire As String = "C:\tmp\Aprile.D" 'path dove si trova il file
Dim FileDaScrivere As StreamWriter = New StreamWriter("C:\tmp\filecreato.txt", False) 'path file di input
Dim FileCodificaConti As String = "C:\tmp\cdca.txt" 'path dove si trova il file
Dim RigheConti As String() = File.ReadAllLines(FileCodificaConti)
For Each RigaConti In RigheConti
Dim ContoOld As String = RigaConti.Substring(0, 5)
Dim ContoNew As String = RigaConti.Substring(11, 6)
If CodRipn = ContoOld Then
Funzione = ContoNew
End If
Next RigaConti
End Function
End Module