English

Problem: F1 Help does not display topics for coclasses and classes in the VBA or VB Code Window

Description

Pressing F1, in the Visual Basic for Applications or Visual Basic Code Window, will not display the help topic for a target that is a coclass or class.

Cause

The default interface for the coclass or class is IUnknown. The majority of the coclasses and classes in ArcObjects have IUnknown as the default interface. If the target's default interface is not IUnknown, F1 Help will display the topic for the default interface.

Solution or Workaround

There are two options for displaying the help topic if F1 Help doesn't work.

  • Select the coclass or class in the Visual Basic Object Browser and press F1.
    In the Visual Basic Editor press F2 or the Object Browser icon.

    [O] Open the Visual Basic Object Browser
  • Use the Table of Contents or Index in ArcObjects Developer Help to manually find the help topic.

    In ArcGIS 8.3, click Start > Programs > ArcGIS > ArcObjects Developer Help.

    In ArcGIS 9.x, click Start > Programs > ArcGIS > Developer Help.