c# - I want to open a text file in notepad using text in a richtextbox -


i have app lists text files in combo box. user can select file add strings list search selected file these strings. line found search criteria copied richtextbox. looking able click text , open selected file in notepad @ location clicked in rtb.

something this:

void startinnotepad(string filename) {    process notepad = new process();    notepad.startinfo.filename   = "notepad.exe";    notepad.startinfo.arguments = filename;    notepad.start(); } 

Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -