Share via


What Are the Ways I Can Access the Visual C++ Developer Studio Object Model?

Home Page (Objects)OverviewFAQReference

You can access the Developer Studio (Visual C++ environment) object model in three ways:

  • Write VBScript macros that script the environment through its object model.

  • Create add-ins.

  • In applications such as Microsoft Word, Microsoft Excel, Microsoft Visual Basic, or Microsoft Visual C++, write an Automation controller that accesses the Developer Studio environment by creating an instance of it. For example, in Visual Basic, use the CreateObject function to create an instance of Developer Studio. Or in Visual C++, call the Win32 CoCreateInstance function. For more information, see the application's documentation.