Now when you double click, Windows will open the right app for you. " is checked, and select " Look for another app on this PC":īrowse to the EXE file for your app, and click " OK". Scroll to the bottom of the list, make sure " Always use this app to open.
Right click the file, and select Properties: Open Windows Explorer, and navigate to an example of your input file: (blahblah.myfiletype for example).
I find this handy during dev, since I don't install my apps (when the registration of file extensions is normally done) on my dev machine as I want to run the debug version most of the time. Just an aside: If you want to open a specific file extension with your app in Windows 10 and the app doesn't self register to open them, then you can do it from within Explorer. That's not too complex - but does involve Sockets - so I created the DynamicArgument class to do all the heavy lifting. So you need to talk to the first instance and tell it the new file and let it handle it.
When you double click a related file in Explorer, your app opens - but what if you want to open another file in the same instance of the app? If you double click another file in explorer, Windows will open a second instance.