problem with VS macro references

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Shawn O'Donnell

    #1

    problem with VS macro references

    I'm playing with the example macros accompanying the book "Inside
    Microsoft Visual Studio .NET 2003" by Johnson, Skibo & Young. The
    examples are in a Microsoft Visual Studio Macros project that won't
    compile because it's having trouble locating the Microsoft.mshtm l
    component.

    I get the following errors:

    "Type 'mshtml.IHTMLDo cument2' is not defined."
    "The referenced component 'Microsoft.msht ml' could not be found."

    There is a reference to Microsoft.mshtm l in the references section of
    the solution window, but it's funky. It doesn't have the full
    complement of properties that the other references have, and those
    that are there are incorrect. The version, for example, is listed as
    0.0.0.0. (The DLL, which is in the GAC, is at version 7.0.3300.0)
    And there is nothing in the field for the path to the dll.

    I've tried removing that reference and adding it back in, but
    Microsoft.mshtm l does not appear in the "Add Reference..." dialog box.
    And there's no "Browse..." option for me to manually insert it. All
    of the other entries in the References section seem to be correctly
    indicating the DLL properties, and all of the rest appear in the "Add
    Reference" dialog.

    Anyone have any idea what I'm missing?

    --Shawn

Working...