Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a file
Message
De
07/11/2003 00:15:04
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
 
 
À
06/11/2003 18:34:59
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00846838
Message ID:
00847498
Vues:
29
This message has been marked as the solution to the initial question of the thread.
>>You could use a FileStream object instead of a File object + StreamWriter.
>
>Could you provide an example?
>
>TIA
        Dim s As String
        Dim fs As New StreamWriter("MyFile.txt")
        fs.WriteLine(s)
        fs.Close()
The declaration initializes a FileStream with a StreamWriter wrapper. You can get to the underlying FileStream with .BaseStream for things like ansynchronous read/write.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform