How to: Debug an ActiveX Control
This topic applies to:
Edition |
Visual Basic |
C# |
C++ |
Web Developer |
---|---|---|---|---|
Express |
Native only |
|||
Standard |
Native only |
|||
Pro and Team |
Native only |
Table legend:
Applies |
|
Does not apply |
|
Command or commands hidden by default. |
Note
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
In Solution Explorer, select the project.
From the View menu, choose Property Pages.
In the Project Property Pages dialog box, open the Configuration Properties folder, and select Debugging.
Under the Debugging category, locate the Command property.
Specify the path name for the container. For example, C:\Program Files\Internet Explorer\IEXPLORE.EXE.
If you specify Internet Explorer as the container and you are using Active Desktop, type /new in the Command Arguments box.
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
Tasks
Testing Properties and Events with Test Container