Create a File Association by Automating Windows Scripting Host
Version Compatibility: Visual Basic 6
This shows you how to create a file association by automating windows scripting host. Here I've given an example to associate .jpg file with mspaint.exe. You can change it to any excecutable ,with fullpath name. If you have questions, my e-mail address is email@example.com
Instructions: Copy the declarations and code below and paste directly into your VB project.