|
-
Aug 31st, 2001, 02:39 AM
#1
Thread Starter
Addicted Member
runtime error 429 - ActiveX component can't create object
Hello,
I have made a Visual Basic application that uses Jet engine (DAO 3.51).
I want to put the program and database on CD, and I want the user to run my program from CD
without Setup.
So my program checks the system every time it starts to run, If it finds that a required ocx od dll
is not available on the system it copy the file and register it.
To get the files required for my program, the "Package & Deployment Wizard" make the "Setup1.lst"
file, which have all the required File for my program. So, I copy these files
and tested the program on Windows 98 pure, but the following error occurs:
*******************************************
* Runtime error 429 *
* *
* ActiveX component can't create object *
*******************************************
I think the problem cause is due to DAO files registration:
I will till how I register the DAO files, may be you can help me finding the problem cause:
in the "Setup1.lst", the following line copy the "dao350.dll" to $(MSDAOPATH)
which is "C:\Program Files\Common Files\Microsoft Shared\DAO\", and then register it:
[email protected],$(MSDAOPath),$(DLLSelfRegister),$(Shared),4/8/98 9:42:24 AM,570128,3.51.1608.0
but in my program, I copy this file to "C:\Windows\System" and register it using "regsvr32.exe"
I also copy all files to "C:\Windows\System\" it they don't exist. and then register those that
have to be registerd using "regsvr32 /s"
Other files that I copy for DAO are: "msjint35.dll", "msjter35.dll", "VBAJET32.DLL",
"msrd2x35.dll", "EXPSRV.DLL", "MSREPL35.DLL" and "MSJET35.DLL"
I want to mention that there are two files in "[Bootstrap Files]" section the I didn't
copy. I don't know what they are used for, they are
[email protected],$(WinSysPathSysFile),$(TLBRegister),,6/3/99 1:00:00 AM,17920,2.40.4275.1
[email protected],$(WinSysPathSysFile),,,3/8/99 1:00:00 AM,147728,2.40.4275.1
I have one more question, what is the difference between $(WinSysPath) and $(WinSysPathSysFile)
Thanks for your time,
Belal Marzouk
-
Sep 3rd, 2001, 03:47 AM
#2
Hyperactive Member
Hello,
I have ActiveX component errors often, because i have some components missing, so the specified dll is missing and ActiveX object cannot be used.
Package and Deployment Wizard is very weak. Try using Inno Wizard maybe?
-
Sep 3rd, 2001, 03:48 AM
#3
Hyperactive Member
OH and about the regsvr utility... maybe try making YOUR OWN registering utility to do that stuff?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|