Error 429: Activex Component Can't Create Object

  • Hey All,


    I am using a 3rd party library to do some work in Office. Using their example code (exactly as they stated) I get "Error 429: ActiveX component can't create object". I get this error whenever I use the create object method, such as in the following code:


    Code
    dim DTK as DTK
    set DTK = createObject("PureEdge.DTK")


    I made sure to include a reference to the '.tlb' file that is acting as its library, and intellisense is functioning with their object model. While I'm presently trying to contact the developer, I thought that this might be a generic problem that others have run into before. Any suggestions? Thanks


    -tmptplayer

  • Re: Error 429: Activex Component Can't Create Object


    Hi,


    normally you can use methods, you've combined two methods.


    1)This option needs the reference to the library

    Code
    Dim DTK As DTK 
    Set DTK = new DTK.application 'Something like this


    2)This option doesn't need the reference to the library

    Code
    Dim DTK as Object
    Set DTK = createObject("PureEdge.DTK")


    Hope this helps.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!