Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a file
Message
De
06/11/2003 18:33:03
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
 
 
À
05/11/2003 17:08:26
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00846838
Message ID:
00847427
Vues:
22
>Is there a better way to create a file:
>
>
>   ' Create a file
>   ' expC1 String
>   ' expC2 File
>   Private Function CreateFile(ByVal tcString As String, ByVal tcFile As String)
>      Dim loFile As System.IO.File
>      Dim loWrite As System.IO.StreamWriter
>      loWrite = loFile.CreateText(tcFile)
>      loWrite.WriteLine(tcString)
>      loWrite.Close()
>   End Function
>
You could use a FileStream object instead of a File object + StreamWriter.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform