Re: Ocx Registration Q.

From: Sietse Wijnker (sietse.wijnker_at_ATsw-software.nl)
Date: 09/19/04


Date: Sun, 19 Sep 2004 21:12:55 +0200

Hi Morningstar,

> <s>. Does this mean that I am messing up my Install Shield build or that I
> need to registered the objects by running something like regsvr32
> in a program on startup of the installation. I just have a feeling that I
> am missing something very obvious.

Installshields has good capabiliries to register the OCX for you, so you
don't have to bother for registering the ocx in the startup of your program.
In my opinion it's good manner to check for correct installation of the
OCX's in the startup of the progam by checking for availability of the class
in the registry and give a message to the user if he class isn't found. This
is better than registring the class yourself on startup of the program
bcause of the ocx's location on the harddisk.

HTH,
Sietse Wijnker

"Morningstar" <REMOVEjm@ablecon.com> wrote in message
news:414dd245$1_1@127.0.0.1...
>I have build myself an application that contains some ActiveX calendar
>tools. I am using install shield to build my setup and that seems to be
>cool too. The problem is that when I install and run the program I get the
>message box error that says:
>
> OLE error code 0x80040154: Class not registered. OLE object is being
> ignored. Record number 5.
>
> <s>. Does this mean that I am messing up my Install Shield build or that I
> need to registered the objects by running something like:
>
> Regsvr32 "C:\Program Files\Bblocks\ctBanner.ocx"
>
> In a program on startup of the installation. I just have a feeling that I
> am missing something very obvious.
>
> Respectfully,
>
> Jonathan Morningstar
>



Relevant Pages

  • Re: Help! NTVDM error
    ... All Users Common Startup ... MS-MVP Windows Shell/User ... Disabling or enabling this is down to user preference]] ... Run manually before installation starts]] ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: on which drive letter w2k is installed ?
    ... Yes, Desktop and Startup folders are different for each Windows installation, every installation has it's own set of folders so you would have to have a copy of the .bat file in all the different folders for it to work. ...
    (microsoft.public.win2000.general)
  • Re: Restore original performance of XP
    ... In case you're keeping a tally, Norton products, and McAfee in close second ... are both resource hogs. ... Everything but the printer was part of my original installation - so ... Can I look somewhere to se what is included in the startup procedure - ...
    (microsoft.public.windowsxp.general)
  • Re: digital signature not found
    ... on startup I get this same annoying message. ... My scanner is working fine. ... Click Yes and let the installation complete itself. ... to the Desktop and it'll be added to the registry again. ...
    (microsoft.public.windowsxp.general)
  • Re: Log in form
    ... An event to trigger some code to register the logoff on db close ... that will open on db startup, ... Private Sub Form_Open ... Dim rs As DAO.Recordset ...
    (microsoft.public.access.modulesdaovba)