Open a File With Its Associated Application: Demo

Category:
System/API
Type:
Applications
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
This application demonstrates the ShellExecute API function, which can open a file with its associated application. Also refer to this example, which is a snippet you can plug into your application that does the same thing.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download association.zip