Export (0) Print
Expand All

How to: Debug an ActiveX Control 

This topic applies to:

Visual Studio Edition

Visual Basic

C#

C++

J#

Express

No

No

Native

No

Standard

No

No

Native

No

Pro/Team

No

No

Native

No

NoteNote

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To debug your ActiveX control, you must specify a container (executable) for the control to run in.

To specify a container for the debug session

  1. In Solution Explorer, select the project.

  2. From the View menu, choose Property Pages.

  3. In the Project Property Pages dialog box, open the Configuration Properties folder, and select Debugging.

  4. Under the Debugging category, locate the Command property.

  5. Specify the path name for the container. For example, C:\Program Files\Internet Explorer\IEXPLORE.EXE.

  6. If you specify Internet Explorer as the container and you are using Active Desktop, type /new in the Command Arguments box.

  7. Click OK.

    If you do not specify a container in the Project Property Pages dialog box, you can specify the container when you begin debugging. When you select an execution command to start debugging, the Executable for Debugging Session Dialog Box appears. Specify the path name of the container in the dialog box.

See Also

Community Additions

ADD
Show:
© 2015 Microsoft