hvb
Messages postés939Date d'inscriptionvendredi 25 octobre 2002StatutMembreDernière intervention27 janvier 20093 18 juil. 2007 à 17:31
Imports System.IO
Public Sub append_txtfile(ByVal pathz As String, ByVal paramzstr As String)
If File.Exists(pathz) = True Then
Dim hbwrite As StreamWriter
hbwrite = New StreamWriter(pathz, True)
hbwrite.Write(paramzstr)
hbwrite.Flush()
hbwrite.Close()
Else
write_txtfile(pathz, paramzstr)
End If
End Sub
hvb
Messages postés939Date d'inscriptionvendredi 25 octobre 2002StatutMembreDernière intervention27 janvier 20093 18 juil. 2007 à 17:38
scuses, y a du parasite dans ma procédure.
La bonne :
Public Sub append_txtfile(ByVal pathz As String, ByVal paramzstr As String)
Dim hbwrite As StreamWriter
hbwrite = New StreamWriter(pathz, True)
hbwrite.Write(paramzstr)
hbwrite.Flush()
hbwrite.Close()
End Sub