How can i show Successfull message in notepad through C#
Like Below Snap.. and save any one location..

3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
dinesh kumar64 reputationPosted Apr 23, 2015, 3:50 AM EDT
https://msdn.microsoft.com/en-us/library/8bh11f1k.aspx
2. to open an notepad to show the created file use the below code
System.Diagnostic.Process.Start("notepad.exe",FileName goes here);
If this helps you please kindly upvote it.
Regards,
DK
Feroz Khan69 reputationPosted Apr 23, 2015, 9:20 AM EDT
but same file is replacing i want create more files.. like my file name is Secessfull.txt when i click again in button so create second file like secessfull1.txt and secessfull2.txt , 3, 4 like that
and i am using below code.. please see and give me any advice... thanks.
string textt = IP_Adress_txt.Text +Store_Code_txt.Text + " Done ";
System.IO.File.WriteAllText(@"C:\WriteText.txt", textt);
and how can i set space in mention string like ip_address_txt.text then store_code then done..
Gowtham RajamanickamRank #57 · 29K reputationPosted Apr 23, 2015, 8:33 PM EDT