Create a File Association by Automating Windows Scripting Host
Category:
RegistryType:
SnippetsDifficulty:
IntermediateAuthor:
BrijMohan.KVersion Compatibility: Visual Basic 6
More information:
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 brijmohank@rediffmail.com
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: