Question

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

Was it helpful?

Solution

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\
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top