Show Help Using the Common Dialog Control

Category:
Miscellaneous
Type:
Snippets
Difficulty:
Beginning
Author:
Filipe Sousa Santos

Version Compatibility: Visual Basic 6

More information:
This simple example shows you how to simulate the user pressing F1 (i.e., it shows the help file's index for your application). Of course, you have to associate a help file with your application and add a common dialog control to your form first.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: