Advertisement

06.17.2008 at 09:48AM PDT, ID: 23492308
[x]
Attachment Details

C# VS2008 windows app - Simple question about outputting string to wordpad

Asked by Karl66 in C# Programming Language, Programming Languages, Microsoft Visual C#.Net

C# VS2008 windows app - Simple question about outputting string to wordpad

I have a stringbuilder that creates myString. I want to output the contents to word pad. However when I try the below do to the fact the string contains paths and filenames it opens the file in wordpad. I do not want to open any files just display the list of names and paths. Thoughts? Thanks!

System.Diagnostics.Process.Start("wordpad", myFiles.ToString());Start Free Trial
[+][-]06.17.2008 at 09:59AM PDT, ID: 21805125

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.17.2008 at 10:02AM PDT, ID: 21805156

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.17.2008 at 10:06AM PDT, ID: 21805193

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.17.2008 at 10:20AM PDT, ID: 21805353

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.17.2008 at 10:39AM PDT, ID: 21805541

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.17.2008 at 11:21AM PDT, ID: 21805911

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: C# Programming Language, Programming Languages, Microsoft Visual C#.Net
Sign Up Now!
Solution Provided By: Snarf0001
Participating Experts: 3
Solution Grade: B
 
 
[+][-]06.17.2008 at 11:25AM PDT, ID: 21805949

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628