home links tips
code users tools tutorials projects web help design
mudabone
suletzki trans48
nutrition reality
MarthaAttire!
| |
Does nothing if it fails... might want to change that for your application, of not.
using System.IO;
public void stringToFile(string sFileName, string sData) { try { FileInfo t = new FileInfo(sFileName); StreamWriter Tex = t.CreateText(); Tex.WriteLine(sData); Tex.Close(); } catch {} }
back to code
Last Modified 8/20/03 4:51 AM
| Hide Tools
|