Hi all
I was just wondering how i would use a string to create a filename. Im trying 
to use my string to create a text document of that name in c#. i understand 
that this is a c/c++ forum but i just thought id give it a shot. I have checked 
it out online already but the examples i keep finding are not what im looking 
for. im going to keep looking but if anyone happens to know how to do it here 
id love to hear from you.


 DateTime  test = DateTime.Now;
 string test2 = test.ToShortDateString();
 test2 += ".bvh";
 FileInfo fi = new FileInfo(test2);
 FileStream fstr = fi.Create();

this is what i was trying but no luck so far

Cheers
G

Reply via email to