CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Join Date
    Feb 2003
    Location
    Holland
    Posts
    146

    Error 429 Activex component can't create object

    Hello,
    I have added in an existing program a commandbutton to create an XML-file.
    It all works ok on my machine. (windows XP)
    When i install the program on a client machine [Windows 98 SE}
    (with P&D VB6) and the commandbutton to create the XML-file is selected, i get the message
    'error 429 ActiveX component can't create object'.
    I am using Microsoft XML 4.0
    How can i solve this problem??
    Regards,
    Herman

  2. #2
    Join Date
    Dec 2001
    Posts
    6,332

    Re: Error 429 Activex component can't create object

    I'm guessing it's some dll mismatch for one of the dependencies of XML. Have a look at this msdn article and see if it applies: http://msdn.microsoft.com/library/de...85294cd882.asp
    Please remember to rate the posts and threads that you find useful.
    How can something be both new and improved at the same time?

  3. #3
    Join Date
    Dec 2003
    Location
    Bulgaria
    Posts
    106

    Re: Error 429 Activex component can't create object

    I have the same problem (Error 429 Activex component can't create object
    ), but it comes from a Script Object only on user computers with Windows98.

    I'll be grateful if some of you helps me to find out what the computers with Windows98 miss... Probably one or more files in Windows\ System directory... I copied the file msscript.ocx, but obviously it is not enough...

    Thank you in advance!
    B. Mileva

  4. #4
    Join Date
    Jun 2004
    Location
    Kashmir, India
    Posts
    6,808

    Re: Error 429 Activex component can't create object

    Quote Originally Posted by bmileva
    I have the same problem (Error 429 Activex component can't create object
    ), but it comes from a Script Object only on user computers with Windows98.

    I'll be grateful if some of you helps me to find out what the computers with Windows98 miss... Probably one or more files in Windows\ System directory... I copied the file msscript.ocx, but obviously it is not enough...

    Thank you in advance!
    This means the corresponding DLL of Object is either missing or is not registered on the System.

    Check whether the corresponding DLL is available, if not then copy it to the target PC and register it using REGSVR32 from command prompt.

  5. #5
    Join Date
    Aug 2000
    Location
    Essex, Uk
    Posts
    1,214

    Re: Error 429 Activex component can't create object

    Win98 did not ship with an XML Engine. you need to ensure an XML parser is installed on Win98. You may have to explicitly include this is your vb6P&D.


    YOu might have further problems with 98 because what you have done is compile and write in XP a later operating system to 98. THerefore you are using later versions of system DLL's which are likely to have more functionality than those of 98...leading to backward compatiability problems.

    For 98 it would be best to port your code to a 98 dev machine and re-compile on 98. This should overcome any problems.
    If you find my answers helpful, dont forget to rate me

  6. #6
    Join Date
    Dec 2003
    Location
    Bulgaria
    Posts
    106

    Smile Re: Error 429 Activex component can't create object

    Thank you very much, Shuja Ali!

    The problem was just what you suggested - the file Msscript.ocx was existing in Windows\System directory, but obviously was needing registration. When I registrated it - the problem was solved!

    With the best wishes!
    B. Mileva

  7. #7
    Join Date
    Feb 2003
    Location
    Holland
    Posts
    146

    Smile Re: Error 429 Activex component can't create object

    Thanks Bill Crowley.
    I installed VB6 and the source code on the 98SE machine and
    compiled the program on the 98SE machine.
    Now it works fine on the 98SE as on the XP machine.
    Clients must be happy.
    Again Bill, thanks a lot.
    Regards,
    Herman

  8. #8
    Join Date
    Jun 2008
    Posts
    3

    Re: Error 429 Activex component can't create object

    hi,
    I am facing same problem on Win98...Can you direct me namely how I can get and registered that file Msscript.ocx ...many thanks in advance

    have a very nice day
    jorge



    Quote Originally Posted by bmileva
    Thank you very much, Shuja Ali!

    The problem was just what you suggested - the file Msscript.ocx was existing in Windows\System directory, but obviously was needing registration. When I registrated it - the problem was solved!

    With the best wishes!

  9. #9
    Join Date
    Dec 2001
    Posts
    6,332

    Re: Error 429 Activex component can't create object

    Here's how to obtain the Msscript.ocx file:
    http://support.microsoft.com/kb/184739
    Please remember to rate the posts and threads that you find useful.
    How can something be both new and improved at the same time?

  10. #10
    Join Date
    Dec 2003
    Location
    Bulgaria
    Posts
    106

    Re: Error 429 Activex component can't create object

    Dear Jmmsmaia,

    WizBang has given you the perfect link, where you could doanload and inform youself how to registrate the file MSSCRIPT.OCX. If you have problems with downloading the file, you could search it on some other computer (in it's Windows\System directory - probably C:\Windows\System32). If you find it - copy it in the Windows\System32 directory of the problem computer and then register the file in the following way:

    Start - Run, then type in:

    REGSVR32 C:\WINDOWS\SYSTEM32\MSSCRIPT.OCX

    Modify the path if needed. It should give a message that it succeeded. Then try running the problem program again. I hope it would solve your problem.

    I wish you success!

    With the best wishes:
    B. Mileva

  11. #11
    Join Date
    Jun 2008
    Posts
    3

    Re: Error 429 Activex component can't create object

    Dear Bmileva and WizBang,

    I have followed yr precise instructions....but so far I did not manage to get rid off that error.

    Any additional ideas?

    Appreciate
    jorge

  12. #12
    Join Date
    Dec 2003
    Location
    Bulgaria
    Posts
    106

    Re: Error 429 Activex component can't create object

    Quote Originally Posted by jmmsmaia
    Dear Bmileva and WizBang,

    I have followed yr precise instructions....but so far I did not manage to get rid off that error.

    Any additional ideas?

    Appreciate
    jorge
    =====================================================
    Have you tried to run REGSVR32 for the file MSSCRIPT.OCX and what kind of message have you received?...
    B. Mileva

  13. #13
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Error 429 Activex component can't create object

    It should have either completed successfully, or generated an error, both of which it should have let you known.

    I prefer to type CMD from the RUN prompt, CD \Windows\System32 (after the file is there) and then execute REGSVR32. (with w98 wasn't it REGSVR? 16bit and all...)
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  14. #14
    Join Date
    Jun 2008
    Posts
    3

    Re: Error 429 Activex component can't create object

    Bmileva,

    After running the register with Regvsr32 the is msg was the "Dirreg was succeded"

  15. #15
    Join Date
    Dec 2001
    Posts
    6,332

    Re: Error 429 Activex component can't create object

    Quote Originally Posted by dglienna
    ...(with w98 wasn't it REGSVR? 16bit and all...)
    regsvr32 has been part of windows since win95. That is at least win95B, but I don't know about win95A.
    Please remember to rate the posts and threads that you find useful.
    How can something be both new and improved at the same time?

Page 1 of 2 12 LastLast

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

Featured