Conversions

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

Hey,
I need to convert a Stream I get from a Save File dialog
(the path) into a string so that my StreamWriter knows
what the current path is. Any input?

Thanks,
Chris
 
Try the System.Text.Encoding.ASCII.GetString() method.

Richard
 
Chris,
I need to convert a Stream I get from a Save File dialog
(the path) into a string so that my StreamWriter knows
what the current path is. Any input?

Why don't you get the path from the FileName property of the
OpenFileDialog?



Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top