I'm trying to do something like add the CTRL-F mechanism to my C# application in visual studio.
My app uses the Process.start method to open Windows Notepad and find a given word. I want to find this word in Notepad and focus it.
I have a way to search this word but how to focus to the correct line as would happen if the user clicked CTRL-F?
Does anybody know how to do this? Or maybe there is there a framework which can help?
My application is about searching any file by typing any sequence of string in textbox and getting file, which contains it, after that i have a open function of this file and i want to get focused word, which im typed in opened notepad (cuz i got txt file containing this string)
For example i typed "hello" in textbox and get file.txt and inside this after opened i have focused word "hello"