Reputation: 23
In My Windows form i want to add buttons or links , clicking on those will redirect me to open another page (.txt file and .img file) . How to do that ?
Upvotes: 0
Views: 2923
Reputation: 1
In addition to Nitin's answer, it started working for me after adding the "@" like this:
System.Diagnostics.Process.Start(**@**"C:\\myText.txt");
Upvotes: 0
Reputation: 18580
In your eventhandler you can directly call: Process.Start("C:\\myText.txt");
Upvotes: 1