Set Registry key to make program a default

Robert Homes

Member
Joined
Nov 16, 2023
Messages
11
Programming Experience
5-10
How to set registry key to make program a default for a particular file type. My program works with .JPG files. I'd like to set the registry to treat my program as the default for such files.
 
It is also possible to open Default Apps settings where user can choose:
VB.NET:
Process.Start(New ProcessStartInfo("ms-settings:defaultapps") With {.UseShellExecute = True})
 
Not yet., But I expect to have one soon. Actually, I'm still developing the program and its not quite finished. I'm must working on this to get ready for when I'm done. I have someone helping me with the installer aspect. I didn't realize that the installer could probably set the default I'm looking for. Thanks for that insight.
 
Back
Top