Hi everyone, I'm new here and I have a question that I didn't manage to find anywhere.
I'm creating a notepad with C#, and I want to replace it with the stock Windows' notepad. In order to do that, I have to find a way to open .txt files (and others) even if the program is closed: for example, I have a .txt file on the desktop and I want that, when I double click on it, my program runs with that file opened. I hope that my question is clear (I'm not English). The problem is that I have no idea on how to do this. I don't know what can I try, so I don't even have a code to discuss on.
How can I do that? Can you help me? I would really appreciate any kind of help.
I'm creating a notepad with C#, and I want to replace it with the stock Windows' notepad. In order to do that, I have to find a way to open .txt files (and others) even if the program is closed: for example, I have a .txt file on the desktop and I want that, when I double click on it, my program runs with that file opened. I hope that my question is clear (I'm not English). The problem is that I have no idea on how to do this. I don't know what can I try, so I don't even have a code to discuss on.
How can I do that? Can you help me? I would really appreciate any kind of help.