Open a File with its Associated Application
Author: Guillaume Serre
Version Compatibility: Visual Basic 5
This solution reads the registry to determine the default application for a given file extension. An alternative solution, using the ShellExecute API function, can be found at http://www.freevbcode.com/ShowCode.Asp?ID=12.
Instructions: Copy the declarations and code below and paste directly into your VB project.