Get Code Metrics Results RRS feed

  • Question

  • Hello,

    I want to get the code metrics results window and access to the table which contains the results in order to save them in a file.

    I can access to the code metrics results window, but I don´t know how to access to the table that is inside of this window.

    With the following command I can active the code metrics results window:


    Now I want to pull the data stored in the table associated with the code metrics results:


    Any suggestions?




    Any suggestions.

    Thursday, February 10, 2011 11:07 AM


  • I don't know if that toolwindow exposes its inner programmable object. See:

    HOWTO: Get the programmable inner object of a toolwindow

    If not, your only chance would be to get the hwnd of that toolwindow and use the Win32 API to get its controls, etc.


    MZ-Tools: Productivity add-ins for Visual Studio: http://www.mztools.com. My blog about developing add-ins: http://msmvps.com/blogs/carlosq/
    Friday, February 11, 2011 6:48 AM

All replies