OK, here's a problem that has stumped me as well as others
in my dev. team for days now...
I create a simple UserControl (VB 6.0) that makes
referrence to "Microsoft ActiveX Data Objects 2.5" and
uses the ADODB.Command object to communicate with a SQL
database. The code works fine on my machine but on all
the other machines out on the employee floor they get the
following error:
Error Code: 429
Error: ActiveX component can't create object.
The ActiveX control is being loaded into a web browser,
(getting error on all versions of IE above 5, havent tried
on lower versions as none of available) via the <object>
tag, which follows:
<OBJECT classid="CLSID:98F8CE10-6C06-11D5-A335-
0008C74526E9"
codebase="EmployeeAdmin.CAB#version=1,0,0,22" id=uctrlMain
style="LEFT: 0px; TOP: 0px" VIEWASTEXT>
<PARAM NAME="_ExtentX" VALUE="15875">
<PARAM NAME="_ExtentY" VALUE="11959">
</OBJECT>
The CAB file was created with the Package and Deployment
wizard, all required files were set to be included in the
cab (makes the download faster since they are then
downloaded right from our servers instead of microsoft).
After creating the CAB I digitally signed it with the
newest version of the signcode utility.
The error occurs on the line in the code which starts to
use the Command object, that segment of code follows:
Dim cmdMain As New ADODB.Command
cmdMain.CommandType = adCmdStoredProc <-----
the line with the <----- is the line that SEEMS to be
producing the error.
Any thoughts as to why this is happening would be
appreciated.
Thanks,
Brandon