Results 1 to 7 of 7

Thread: Run-time error '429': ActiveX component can't create object

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2007
    Posts
    5

    Run-time error '429': ActiveX component can't create object

    Hi,

    I thought this would be the best place to post this question.

    I am getting a run-time error within my VB app:

    Run-time error '429': ActiveX component can't create object

    I have run this application under WinXP and previous Windows operating system fine, but when I installed my application on Windows Vista I get the above error at run-time.

    Could anyone suggest how I could resolve this error as I believe it is not a programming error as the app works on other Windows OS's fine. Could it be something to do with registering dll's etc.

    Any help would do.


    Thanks.

    Name:  Admin - HeadBanger.gif
Views: 1135
Size:  1.8 KB

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Run-time error '429': ActiveX component can't create object

    Welcome to VBForums

    It is almost certainly an issue with registering dll's etc, as DLL's and OCX's are ActiveX objects - and this message means they cannot be created.

    How are you installing your application?

  3. #3

    Thread Starter
    New Member
    Join Date
    Sep 2007
    Posts
    5

    Re: Run-time error '429': ActiveX component can't create object

    Thanks.

    I am installing my application in the same way as I have done so with other Windows OS's . I install the application with full admin rights, the application does install correctly on Vista where I had to use the Application Compatibility Toolkit in order to achieve this.

    Anyhow do you know any particular dll's which may be of concern or which I need to register?

    I have registered the DAO350.dll which was causing errors in my application but those errors have been fixed simply by registering DAO350.dll.

    What could I do resolve this ActiveX error?

    A prompt reply would be appreciated.

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Run-time error '429': ActiveX component can't create object

    Unless you can work out which component is having the problem (probably by a process of elimination), then the problem could be any of the files that your application uses (either the ones in your Components/References lists, or ones you create in code), or even ones that they use themselves.

    Use of DAO is a bad sign, as it has been officially "obsolete" for a while (and officially "don't use it for new programs" when VB6 was released in 1998). There is the possibility that it is still causing you issues.

    Which packaging tool are you using to create your installation?

  5. #5

    Thread Starter
    New Member
    Join Date
    Sep 2007
    Posts
    5

    Re: Run-time error '429': ActiveX component can't create object

    I'm using the packaging and deployment installer, but the install is not the problem.

    My whole application works fine except one functionality which is causing the ActiveX error. My problem is further complicated because I cannot get VB6 installed on Vista correctly and therefore I'm having to guess what the problem might be.

    Do you have any idea what I can do?

  6. #6
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Run-time error '429': ActiveX component can't create object

    Actually the installation is almost certainly the problem, as that is basically what the error message means. Just because there is no error during the installation process, it does not mean that the installation was done properly (for example, it is possible that you omitted a component).

    For installing/using VB6 on Vista, see this thread. However, installing VB6 may hide the issue, as it installs many components - potentially the one(s) you are having problems with. If you install VB6 and (without even running VB) your program doesn't have the error any more, the installation is definitely the problem.

    As you said it works "except one functionality", surely you have some idea of what is being used at that point - and so could determine what is likely to be causing he issue?

  7. #7

    Thread Starter
    New Member
    Join Date
    Sep 2007
    Posts
    5

    Re: Run-time error '429': ActiveX component can't create object

    OK thanks.

    I will trawl through the problem.

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