Like Anders said – It’s a good idea to use the IQueryAssociations COM interface.
Here’s a sample from pinvoke.net
More Related Contents:
- File / folder chooser dialog from a Windows batch script
- How do you configure an OpenFileDialog to select folders?
- Can I load a 32 bit DLL into a 64 bit process on Windows?
- Description for event id from source cannot be found
- How to open a WOW64 registry key from a 64-bit .NET application
- How to get folder path for ClickOnce application
- Registering a COM without Admin rights
- Safe stream update of file
- How to completely uninstall Visual Studio 2010?
- Going fullscreen on secondary monitor
- Test if a Font is installed
- ActiveX, installation doesn’t work
- How to get Windows native look for the .NET TreeView?
- Recommended method for loading a URL via a scheduled task on Windows
- Windows 7 theme for WPF?
- Windows or Visual Studio 2022 can’t find the latest installed .NET SDK due to bitness
- How to make a .NET application “large address aware”?
- When is memory, allocated by .NET process, released back to Windows
- Optimum file buffer read size?
- Windows SDK 7.1 Setup failure
- Process.Start a file without Extension
- Determine if windows is currently playing sound
- Is there a faster alternative to GDI GetPixel()?
- How to programmatically restart windows explorer process
- What version of .NET ships with what version of Windows?
- Create popup “toaster” notifications in Windows with .NET
- KERNELBASE.dll Exception 0xe0434352 offset 0x000000000000a49d [duplicate]
- Visual Basic Capture output of cmd
- What version of the .NET framework is installed on Windows XP, Vista, and 7?
- Can Ruby import a .NET dll?