Pergunta

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

Foi útil?

Solução

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\
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top