ActiveX component can’t create – DllRegisterServer failed – VB6 – Vista


I’m getting an Error 429 : ActiveX component can’t create object when trying to run a program that ran perfectly fine on Windows XP. It was created in VB6 but does not run on my version of Vista.

So i try to run regsvr32 to register some ocx and dll. But I got error message when i registered some *.dll or *.ocx with regsvr32 in vista,

“The module *.dll was loaded but the call to DllRegisterServer failed with error code 0x800004005”.

The solution is to register the component from just a batch file, right-click and then click “Run as Administrator” fro pop-up menu.

One Response

  1. Thanks for this. As an alternative you could also create a shortcut to the cmd prompt on your desktop or whatever.

    Then right click on the shortcut and go to advanced and set run as administrator.

    Then each time you enter the cmd prompt using that shortcut you have elevated rights so regsvr32 will work correctly.

    Thanks again for your tip. I was really confused until i found this.

    Brad

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: