none
Receiving message 'Runtime Error 429 : ActiveX Component Can't Create Object' in windows7 system

    Question

  • Hi,

    I have a vbscript (test.vbs), which comparing the files in the different folders in the same system(windows7 OS).

    I tried to execute this script and receiving the error message as below:

               'Runtime Error 429 : ActiveX Component Can't Create Object'

    After received this message, I tried the below steps:

            1. execute 'wscript -regserver' command in command prompt, which went fine.

            2. execute 'regsvr32 scrrun.dll' command in command prompt, which went fine.

            3. Re-execute the vb script (test.vbs), receiving the same error message(Runtime error  429).

    Please advise on this.

    Regards,

    Wednesday, July 28, 2010 12:56 PM

Answers

  • Two points:

    The command need to be run from admin CMD prompt, as explained in my last post.

    There are two commands mentioned.


    Ramesh Srinivasan | The Winhelponline Blog
    Microsoft MVP, Windows Desktop Experience
    • Marked as answer by Ravikumar.S Friday, July 30, 2010 12:11 PM
    Friday, July 30, 2010 11:49 AM
    Answerer

All replies

  • Try to re-register cdo.dll
    Start - Run - regsvr32 pathtofile/Cdo.dll
    • Proposed as answer by MatiasRoss Tuesday, May 28, 2013 6:09 PM
    Wednesday, July 28, 2010 2:17 PM
  • Hi,

    I have a vbscript (test.vbs), which comparing the files in the different folders in the same system(windows7 OS).

    I tried to execute this script and receiving the error message as below:

               'Runtime Error 429 : ActiveX Component Can't Create Object'

    After received this message, I tried the below steps:

            1. execute 'wscript -regserver' command in command prompt, which went fine.

            2. execute 'regsvr32 scrrun.dll' command in command prompt, which went fine.

            3. Re-execute the vb script (test.vbs), receiving the same error message(Runtime error  429).

    Please advise on this.

    Regards,


    Look up the code in the line # referenced in the error message. It's failing at "CreateObject".... you could post the line here.
    Ramesh Srinivasan | The Winhelponline Blog
    Microsoft MVP, Windows Desktop Experience
    • Proposed as answer by OG2014 Thursday, September 12, 2013 7:15 PM
    • Unproposed as answer by OG2014 Thursday, September 12, 2013 7:15 PM
    Wednesday, July 28, 2010 4:53 PM
    Answerer
  • 'cdo.dll' file is not found in the system
    Thursday, July 29, 2010 8:08 AM
  • Below is the code used in the script:

    Dim fs
    Set fs = CreateObject("Scripting.FileSystemObject")

    Thursday, July 29, 2010 8:09 AM
  • Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

    Type the following command and hit ENTER:

    %systemroot%\system32\regsvr32 %systemroot%\system32\scrrun.dll

    If you're using Windows 7 64-bit Edition, run this command as well:

    %systemroot%\syswow64\regsvr32 %systemroot%\syswow64\scrrun.dll


    Ramesh Srinivasan | The Winhelponline Blog
    Microsoft MVP, Windows Desktop Experience
    Thursday, July 29, 2010 4:25 PM
    Answerer
  • Hi,

    I have already tried registering scrrun.dll and 'wscript -regserver'.

    I tried '%systemroot%\system32\regsvr32 %systemroot%\system32\scrrun.dll' command , but receiving the same error.

    Regards,

    Friday, July 30, 2010 11:43 AM
  • Two points:

    The command need to be run from admin CMD prompt, as explained in my last post.

    There are two commands mentioned.


    Ramesh Srinivasan | The Winhelponline Blog
    Microsoft MVP, Windows Desktop Experience
    • Marked as answer by Ravikumar.S Friday, July 30, 2010 12:11 PM
    Friday, July 30, 2010 11:49 AM
    Answerer
  • Hi,

    Thank you.

    It works.

    Regards,

    Friday, July 30, 2010 12:12 PM
  • Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

    Type the following command and hit ENTER:

    %systemroot%\system32\regsvr32 %systemroot%\system32\scrrun.dll

    If you're using Windows 7 64-bit Edition, run this command as well:

    %systemroot%\syswow64\regsvr32 %systemroot%\syswow64\scrrun.dll


    Ramesh Srinivasan | The Winhelponline Blog
    Microsoft MVP, Windows Desktop Experience
    Hi tryed, but nothing change. The erro is that again!
    Tuesday, October 11, 2011 11:11 PM
  • I entered  both commands by copy and paste and they were accepted and I still get active X runtime error 429.

    What do I do next to clear this annoying problem?

    ykanter@aol.com

    yaleCK

    Sunday, April 14, 2013 7:30 PM
  • Thank you Jef. This solved my ActiveX 429 error. Environment: Win 7 Prof 64, MS Office 2007 Plus, sending email from a VB application. Cdo.dll was previously registered as advised by developer, but probably something happened when reinstalling MS Office 2007.

    Tuesday, May 28, 2013 6:20 PM
  • I had a similar problem - running the VBScript code on Win 7 and 8 below I get Error 429 at line 2 on CreateObject

    Dim converter 
    Set converter = CreateObject("TextExtractor.TextExtractorObj")
    converter.ExtractText cronshaw.docx, cronshaw.txt
    set converter = Nothing

    But using VBA called from MS Access on Win 7 and Win 8 the code below ran OK:

    Public Sub Test()
    Dim converter As Object
    Set converter = CreateObject("TextExtractor.TextExtractorObj")
    converter.ExtractText CurrentProject.Path & "\Cronshaw.docx", CurrentProject.Path & "\Cronshaw.txt"
    End Sub

    Any ideas why the VBScript fails where the VBA runs?


    Friday, September 6, 2013 1:30 PM
  • Hi I have this same issue as well.

    (Sorry for the lenghty read but here goes some of my background info..)

    Recently I was attacked by a very malicious virus known as the FBI Cybercrime virus. I was able to defeat it with the use of anti-malware such as Hitman Pro and MalwareBytes. I have ran multiple file and registry scans and cleaned out any malicious files and software. While the virus was installed on my computer, it uninstalled my nvidia graphics card driver. I also cant install windows updates as they continuously fail. I decided to use the Dell Drivers and Utilities disc that came with my computer upon purchase but when I go to run AutoRCD.exe, i receive the 'Runtime Error 429 : ActiveX Component Can't Create Object' error. I tried the fixes posted above and while they run successfully, it still does not work for me. I have been trying to troubleshoot this for 2 days and now i just need help from someone with a lot more experience than me.

    Tuesday, November 12, 2013 12:39 AM
  • Have tried all the availed solutions but it cant compile
    Tuesday, January 23, 2018 2:40 PM