Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
80 views
in Technique[技术] by (71.8m points)

c# - I want to make the default application in windows to open text files (.txt) (not dragdrop)

I am a beginner in C #. I am developing a plain text application very similar to the Windows notepad but with other graphical features. It consists of a RichTextBox and a menubar, very basic. The problem is that I want to make the default application in windows to open text files (.txt), when the application is opened from a file the file is not loaded, it only opens the application without content. I do not find help, or do not know how to look for it, I would appreciate your help. I hope I have explained myself well, and that I do not ask something that has already been answered.

Regards. Thanks!

question from:https://stackoverflow.com/questions/65930221/i-want-to-make-the-default-application-in-windows-to-open-text-files-txt-not

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...