Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. VS 2003 to VS 2008 - Can not load type library

VS 2003 to VS 2008 - Can not load type library

Scheduled Pinned Locked Moved Visual Basic
visual-studiohelpquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    No e
    wrote on last edited by
    #1

    I successfully converted a project from VB6 to VS2003 as VS2003 is what I had originally. Everything was working as expected. I just got VS 2008 and upgraded (opened) the project and now I get an error with one of the DLLs I wrote (I have a couple and the others worked fine) the error is type 'MyXXX.XXX' is not defined, so I go to add a reference and I get the error: A Reference to 'C:\mypath\MyXXX.dll' could not be added. Could not load the type library, Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY) Googled it but did not seem to find much directly related any idea where I should be looking? (or doing?) Thanks in advance, No-e

    D 1 Reply Last reply
    0
    • N No e

      I successfully converted a project from VB6 to VS2003 as VS2003 is what I had originally. Everything was working as expected. I just got VS 2008 and upgraded (opened) the project and now I get an error with one of the DLLs I wrote (I have a couple and the others worked fine) the error is type 'MyXXX.XXX' is not defined, so I go to add a reference and I get the error: A Reference to 'C:\mypath\MyXXX.dll' could not be added. Could not load the type library, Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY) Googled it but did not seem to find much directly related any idea where I should be looking? (or doing?) Thanks in advance, No-e

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Has that type library been upgraded as it's own project and recompiled??

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008
      But no longer in 2009...

      N 1 Reply Last reply
      0
      • D Dave Kreskowiak

        Has that type library been upgraded as it's own project and recompiled??

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007, 2008
        But no longer in 2009...

        N Offline
        N Offline
        No e
        wrote on last edited by
        #3

        Nope, have not touched it in years.... I have a couple, this one does not work, the others do. No-e

        D 1 Reply Last reply
        0
        • N No e

          Nope, have not touched it in years.... I have a couple, this one does not work, the others do. No-e

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          The next thing I'd do is recompile that component under the new compiler and try it. It could be that the component is encounter a breaking change from .NET 1.1 to running under .NET 2.0.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008
          But no longer in 2009...

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups