Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Packaging issue on ADO

Status
Not open for further replies.

redshadow

Programmer
May 24, 2001
70
PH
Hi All,

Anyone encountered problem packaging your program in VB 6 using either PDW or VS Installer successfully but upon deployment on the client workstations, "Activex Can't Create Object" pops-up.

This happens to me and I wonder why, after receiving this message, I tried to find the suspected code and I went to VB IDE and tried to add to references ADO versions : MS Activex Data Object 2.0 to 2.5, one by one of course.

All I received after running from the IDE is the same error now. The most tricky is that there are no files related to ado that was included when I packaged this program (I suppose).

The platform I used to install the program is Windows 2000 with MDAC 2.7 installed.

Thanks in advance.
 
dear redshadow,


for ado, add the mdac_typ.exe file from C:\program files\ms visual studio\vb98\wizards\pdwizard\redist


and open ado25.tlb after the software package is created and change all occurences of DLLSelfRegister to TLBRegister.

this will solve your problem
 
Download VB6 ServicePack6 from site Microsoft also I think that you problems will be solved.

Miho
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top