I have a little bit confusing problem. I'm not a beginner but I don't know how to do it.. For example I've written a program like notepad from which you can open files, save and etc. But when I set any custom format like ".blabla" to be opened by my app it is not working, so how can I make it to be opened by my app? It is in WinForms

有帮助吗?

解决方案

You need an entry in the registry for custom file extensions. You can try inserting a key in the registry as follows:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top