Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Hi - in .NET Framework, I need to do something similar to the ShellExecute in the Win32 API. What I need to do is open a file with whatever program its file type is associated with in Windows.
I found the Shell command in .NET but it appears that you have to provide it with the EXE, which is not what I need to do.
I assume there has to be something more elegant in .NET Framework than using the Win32 API ShellExecute.
Any help would be much appreciated.
0 · ·