Results 1 to 7 of 7

Thread: "ActiveX component can't create object"

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2007
    Posts
    8

    Exclamation "ActiveX component can't create object"

    I'm using AutoCAD with the software I'm writing in VB 6.0, and I need to use late binding because I don't know what version of Autocad will be on the user's computer. (When us reference the Autocad type library, you have to specify version). The trouble is I get the error "ActiveX component can't create object" Error #429 when I try to run the software on another computer with the same version of Autocad (2004) using late binding. The strange thing is, it works fine on this computer... I need this software to work problem-free when it is installed on another computer with Autocad.

    Thanks, any help is welcome

  2. #2

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2007
    Posts
    8

    Re: "ActiveX component can't create object"

    This is the object creation, it can't get pas the CreateObject line

    Code:
    Dim A2K4 As Object 'AcadApplication
    Dim A2K4dwg As Object 'AcadDocument
    Set A2K4 = CreateObject("AutoCAD.Application")
    Set A2K4dwg = A2K4.Application.Documents.Add

  4. #4

    Thread Starter
    New Member
    Join Date
    Feb 2007
    Posts
    8

    Re: "ActiveX component can't create object"

    Ok, I just checked, and the autocad on that computer hasn't been authorized, thanks for the help Rhinobull, but I think that was the only problem.

  5. #5

  6. #6

    Thread Starter
    New Member
    Join Date
    Feb 2007
    Posts
    8

    Re: "ActiveX component can't create object"

    Yep, I have that in place in my actual code, thanks

  7. #7

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width