overwriting contents of file

lilgirl

Member
Joined
Jun 21, 2003
Messages
24
Hi,

I have the following code:
Code:
Dim htmlfile As System.IO.StreamWriter = New System.IO.StreamWriter(newstr)

What I want to do is:

if newstr exists, overwrite its contents.
how can i implement this as the above code does not do this.

thanks.
 
Back
Top