Re: Ocx Registration Q.

From: Morningstar (REMOVEjm_at_ablecon.com)
Date: 09/19/04


Date: Sun, 19 Sep 2004 17:09:30 -0400


>>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.

How do you do this?

Jonathan M*

"Sietse Wijnker" <sietse.wijnker@ATsw-software.nl> wrote in message
news:OeoH8ynnEHA.2576@TK2MSFTNGP10.phx.gbl...
> 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: 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: Starp up sequence
    ... >> RunServicesOnce ... >> User Profile Startup Folder ... >> the programs specified in the Computer Configuration setting just before ... >> AppInit_DLLs Registry value. ...
    (microsoft.public.windowsxp.customize)
  • NewestShareware.com Issue #89
    ... FileBoss for Windows ... Program Homepage/Download url ... In general users make a program execute at window startup by ... Adding programs to the Registry and WIN.INI file protects the program. ...
    (comp.software.shareware.announce)
  • reply
    ... >tried deleting it from the msconfig Startup tool system, ... neither the listed name or command line name ... First, ME comes with a registry backup application, try ... folder temporarily by using attrib.exe: ...
    (microsoft.public.security.virus)
  • Re: Alternatives to re-installing XP Home
    ... > 'The size of the registry has no effect whatsoever on the speed ... I know many people who disagree with that too. ... startup is slow but speed is otherwise satisfactory, ...
    (microsoft.public.windowsxp.basics)