"ActiveX component can't create object" in VB 6.0

sameer_havakajoka's Avatar
Skilled contributor
"ActiveX component can't create object" in VB 6.0
Error is as below :

Error in Function SendData()
ActiveX component can't create object
ObjectError Number 429

Code :

Set ABCD = CreateObject("XYZ.DisplayData")

Any idea of this Error?
0
urstop's Avatar, Join Date: Oct 2007
Contributor
The COM DLL related to the "XYZ.DisplayData" is not registered on the machine where your running the application. Register the respective DLL and it should work fine.
sameer_havakajoka like this
0
ManzZup's Avatar, Join Date: May 2009
Skilled contributor
use the regsvr32 "your dll.dll"
and also
try
copying
the dll to the system32 and windows folders
sameer_havakajoka like this
0
Davidpoul's Avatar, Join Date: Jan 2010
Newbie Member
To resolve the above issue and access the form, you need to follow these actions:

· Run the following command to register the DAO file:
regsvr32 Dao360.dll
· Replace Dao360.dll
· Remove the DAO Folder and Reinstall Microsoft Access 2000

However, if you still encounter any of the above error messages, even after taking above steps, then you need to reinstall MS Access or Office. To do so, you firstly need to delete the leftover files. In such situations, Access database might get corrupted because of mismatch of the DLL files or installation of an upgraded version of MS Access. To recover the data after corruption, you should use effective Access Repair tools as stellar phoenix access recovery software.
sameer_havakajoka like this
0
sameer_havakajoka's Avatar
Skilled contributor
thank you all for the reply...it's working now