Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a file
Message
From
07/11/2003 00:15:04
Keith Payne
Technical Marketing Solutions
Florida, United States
 
 
To
06/11/2003 18:34:59
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00846838
Message ID:
00847498
Views:
27
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform