I'm actually running a system using visual studio 2006 professional edition but i can't load it because of the po up erro activeX component can't create the object? What will I do? I'm using a windows 7 64 bit OS..

Dani AI

Generated

"ActiveX component can't create the object" (VB runtime error 429) usually means the COM class your VB6 program is trying to instantiate either isn't actually registered for the bitness you're running, has missing native dependencies, or needs different registration (or permissions). Given 's note that a control was downloaded and registered, and and suggested admin/XP Mode, try the focused steps below before moving to a VM.

Start here (run an elevated command prompt first):

  • For 32‑bit OCX/DLLs on Windows 7 x64, register with the 32‑bit regsvr32 in SysWOW64:
C:\Windows\SysWOW64\regsvr32.exe "C:\Path\To\YourControl.ocx"
  • To inspect 32‑bit registry entries, run the 32‑bit regedit:
C:\Windows\SysWOW64\regedit.exe

Search the ProgID/CLSID your code creates and confirm the InprocServer32 points to the registered file. If regsvr32 reports "entry point not found", the file is not a COM self‑registering DLL (for .NET assemblies use RegAsm instead — use the Framework folder, not Framework64, for 32‑bit).

If registration looks correct but creation still fails:

  • Check DLL dependencies (missing VC++ runtimes, other DLLs) with a dependency tool; missing native DLLs will prevent an inproc COM server from loading.
  • Confirm bitness: VB6 apps are 32‑bit and cannot load a 64‑bit inproc OCX. Either install the 32‑bit control or use an out‑of‑process COM server.
  • Verify the exact ProgID used in CreateObject/New; multiple versions of the same OCX can cause wrong ProgID mapping.

If these fail, try running the app under XP Mode or a small XP/Win7‑32 VM as suggested. That guarantees the legacy control runs unchanged. Running installers and registration commands as administrator (per ) is required on UAC systems.

Recommended Answers

All 4 Replies

First off I'm pretty sure there is no such thing as Visual Studio 2006. If there was, something that old probably isn't designed to run on a 64 bit OS. Try using the latest Express edition instead

I mean the vb 6.0. I already dowbloades activeX control and register it. nothing happenned. Still I can't open the system. ut repeatedly says activeX component can't create the object.

How I wish VB 6.0 was 2006.. ahaha.. anyway, what does the title on the error says?

For 64Bit OS make sure that you run and install your vb6 app with admin rights.

VB6 that's even worse. I'm not sure if it's available for 64 bit but you could try the XPMode. It will run most software that will run in XP. I've used this analogy before, what you're doing is like running a marathon with a ball and chain attached to your ankle.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.