Problem in loading application - Map 2004

Discussion in 'AutoCAD' started by JavaAndC#, Jul 14, 2004.

  1. JavaAndC#

    JavaAndC# Guest

    I have a VBA application built in AutoCAD Map 2002 which runs with few exceptions. I found for AutoCAD 2004 w/ Map I had to change the reference to AutoCAD Map for it to compile. It now compiles.

    When I run the app., it returns "-2147221005: Problem in loading application". I have tried the suggestions provided in this newsgroup but with no success. Anyone have some updates on this. The syntax of the line producing the error is:

    DIM aMap as AcadMap
    Set aMap = ThisDrawing.Application.GetInterfaceObject("AutoCADMap.Application")

    Any help would be appreciated.
    Thank you
     
    JavaAndC#, Jul 14, 2004
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.