PDA

View Full Version : ActiveX component can't create object



NewsArchive
10-17-1997, 12:00 AM
I am using ISExpress Pro with VB5. On my dev machine, everything is
great. On the client machine, the exe installs fine but won't run. I
get VB Error 429 - ActiveX component can't create object.

Then I get a Windows message "Class not registered. Looking for object
with CLSID ..."

At first I thougfht it was grid32.ocx of threed32.ocx, but then I got
rid of them and it still happens. I'm running out of time. HELP!

-Dave
dave@aboutcollege.com

NewsArchive
12-11-1997, 01:00 AM
I am also using ISExpress Pro with VB5. It works fine on my dev machine,
but ISExpress 2.01 is obviously not grabbing one of my files because I also
get "VB Error 429 - ActiveX component can't create object".

However, I don't get the "Class not registered" message like you.
Did you find any solution to this problem? InstallShield Corp. needs to
address this problem, especially for the "Express" product, since that's
supposed to be an "easier" product to use...

NewsArchive
12-14-1997, 01:00 AM
On Thu, 11 Dec 1997 23:03:22 -0500, "Rob Rudloff"
<robert_rudloff@email.msn.com> wrote:
>but ISExpress 2.01 is obviously not grabbing one of my files because I also
>get "VB Error 429 - ActiveX component can't create object".

You might look for a dependency file or a type library that is not there...

>address this problem, especially for the "Express" product, since that's
>supposed to be an "easier" product to use...

InstallShield is working on those issues...

Stefan
ellipse data systems

NewsArchive
09-14-1998, 12:00 AM
Hi Stefan,
Thanx for the resp. By marking the Tlb And the Ocx as Self Registrering do
you mean that they should have OLESelfRegister string in the resource
Thanx

InstallShield Software Corporation wrote in message
<35fd5d70.4760184@news.installshield.com>...
>On Mon, 14 Sep 1998 11:53:29 -0400, "Azfar Qureshi"
><aqureshi@pixstream.com> wrote:
>>registered in the setup program before the app is installed. If it has to
be
>>registered than How is that done. Any help is appreciated. Thanx.
>
>Hi AzFar,
>
>You must include both the TLB and the OCX file in the setup, and then mark
>them as selfregistering (if they are not marked so already).
>
>Stefan Paetow
>InstallShield Software Corp.

NewsArchive
09-14-1998, 12:00 AM
On Mon, 14 Sep 1998 14:40:21 -0400, "Azfar Qureshi"
<aqureshi@pixstream.com> wrote:
> Thanx for the resp. By marking the Tlb And the Ocx as Self Registrering do
>you mean that they should have OLESelfRegister string in the resource

They should have that yes. If you are using Express 2.02, you can
right-click on the files and select Properties. You should have an option
called "Allow Express to selfregister this file". It should be ticked for
both.

Stefan Paetow
InstallShield Software Corp.

NewsArchive
09-16-1998, 12:00 AM
Thankyou Stefan. It works fine. But now the uninstall does not take the
entries out of the Registry. DO you know Why that is?. Thanx for help
Azfar

NewsArchive
09-16-1998, 12:00 AM
On Wed, 16 Sep 1998 09:34:11 -0400, "Azfar Qureshi"
<aqureshi@pixstream.com> wrote:
>Thankyou Stefan. It works fine. But now the uninstall does not take the
>entries out of the Registry. DO you know Why that is?. Thanx for help
>Azfar

Are you testing this on a different machine that does NOT have this ActiveX
component installed? Or are you testing this on your machine?

This may have something to do with it. The registry entries (the CLSIDs
etc) are only removed once Windows95 indicates that no other application is
using those components (by using the refcount of the files).

Stefan Paetow
InstallShield Software Corp.

NewsArchive
09-16-1998, 12:00 AM
Hi Stefan,
I am testing it on my machine but it did not have this particular control
installed previously. It is an NT server 4.0. I have to manually remove any
progID, CLSID associated with the control and then run uninstall to remove
the App. When i reinstall after removing the entries , new entries are
created for the control in the registry. I don't think any other app is
using this control and even it was being used, I know all the entries and i
can delete them manually from the registry, in such a case the installation
and uninstallation should work as long as i don't run any app that uses this
control and upon not finding it in the registry, reregisters the control.
Thanx Stefan
Azfar

>Are you testing this on a different machine that does NOT have this ActiveX
>component installed? Or are you testing this on your machine?
>
>This may have something to do with it. The registry entries (the CLSIDs
>etc) are only removed once Windows95 indicates that no other application is
>using those components (by using the refcount of the files).
>
>Stefan Paetow
>InstallShield Software Corp.

NewsArchive
09-16-1998, 12:00 AM
On Wed, 16 Sep 1998 11:41:25 -0400, "Azfar Qureshi"
<aqureshi@pixstream.com> wrote:
>created for the control in the registry. I don't think any other app is
>using this control and even it was being used, I know all the entries and i
>can delete them manually from the registry, in such a case the installation

Look at the following key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs

Look for your DLLs there... if they are listed, delete the entries. Then
install again, reboot, run the app, reboot, and uninstall. Reboot again and
look whether the keys are still there.

Stefan Paetow
InstallShield Software Corp.

NewsArchive
12-03-1999, 01:00 AM
I had the same problem. I was referencing DAO 3.6. I downgraded to DAO 3.51
and everything now works. Does anyone know what files are required for DAO
3.6?

--Stewart McGuire
Malcolm Pirnie, Inc.
smcguire@pirnie.com

David wrote:

> I am having the exact same problem. Can anyone help?
> michaels <mstoler@bdsdatabase.com> wrote in message
> news:3814b09c.0@news.installshield.com...
> > Hello,
> >
> > I just created an Install Shield Express for a VB6 Enterprise DAO project
> > (DAO350.DLL, DA02535.TLB).
> >
> > I installed it on a Windows 95 computer (an end user) and I get the
> > following error when the program tries to access the database:
> >
> > ActiveX Component can't create object
> >
> > Any help would be appreciated.
> >
> >