Home All Groups Group Topic Archive Search About

Register for COM not working

Author
23 May 2006 10:45 PM
Steve Lloyd
Hi, I am creating an Addin for Excel and it has been working fine until now
and all of a sudden things went a bit perculiar and now everything is set to
create COM visibility but the .tlb does not get created.

I know this is a bit of a long shot but has anyone else seen this
happen/know what it might be?

Thanks for any help

Steve

Author
24 May 2006 7:26 AM
Dmytro Lapshyn [MVP]
Hi Steve,

How exactly do you register your assembly for COM interop? Do you use the
regasm.exe tool?

Show quote
"Steve Lloyd" <steve.rem***@livenowpaylater.this.co.uk> wrote in message
news:ec5rnqrfGHA.4852@TK2MSFTNGP05.phx.gbl...
> Hi, I am creating an Addin for Excel and it has been working fine until
> now and all of a sudden things went a bit perculiar and now everything is
> set to create COM visibility but the .tlb does not get created.
>
> I know this is a bit of a long shot but has anyone else seen this
> happen/know what it might be?
>
> Thanks for any help
>
> Steve
>
Author
24 May 2006 10:31 AM
Steve Lloyd
Hi Dmytro,

I've fixed the problem, it seems there is a bug that kills the Assembly
dependencies, this had the know on effect of removing the type library file.
I remove the setup project, deleted all associated files and recreated it.
This seems to have done the trick.

I registered it by checking the register for COM check box and esnuring that
the .tlb is set to vsdrfCOM . As far as I understand it this should register
on installation the same as regasm.  Is this correct?

Thanks very much for your help.

Show quote
"Dmytro Lapshyn [MVP]" <x-code@no-spam-please.hotpop.com> wrote in message
news:%238IrdNwfGHA.2172@TK2MSFTNGP04.phx.gbl...
> Hi Steve,
>
> How exactly do you register your assembly for COM interop? Do you use the
> regasm.exe tool?
>
> "Steve Lloyd" <steve.rem***@livenowpaylater.this.co.uk> wrote in message
> news:ec5rnqrfGHA.4852@TK2MSFTNGP05.phx.gbl...
>> Hi, I am creating an Addin for Excel and it has been working fine until
>> now and all of a sudden things went a bit perculiar and now everything is
>> set to create COM visibility but the .tlb does not get created.
>>
>> I know this is a bit of a long shot but has anyone else seen this
>> happen/know what it might be?
>>
>> Thanks for any help
>>
>> Steve
>>
>
Author
24 May 2006 7:41 PM
Phil Wilson
Yes. See "Deployment" about half way through.
http://www.simple-talk.com/2006/05/03/net-com-interoperability/
--
Phil Wilson [MVP Windows Installer]
----
Show quote
"Steve Lloyd" <steve.rem***@livenowpaylater.this.co.uk> wrote in message
news:uPguI1xfGHA.5104@TK2MSFTNGP04.phx.gbl...
> Hi Dmytro,
>
> I've fixed the problem, it seems there is a bug that kills the Assembly
> dependencies, this had the know on effect of removing the type library
> file. I remove the setup project, deleted all associated files and
> recreated it. This seems to have done the trick.
>
> I registered it by checking the register for COM check box and esnuring
> that the .tlb is set to vsdrfCOM . As far as I understand it this should
> register on installation the same as regasm.  Is this correct?
>
> Thanks very much for your help.
>
> "Dmytro Lapshyn [MVP]" <x-code@no-spam-please.hotpop.com> wrote in message
> news:%238IrdNwfGHA.2172@TK2MSFTNGP04.phx.gbl...
>> Hi Steve,
>>
>> How exactly do you register your assembly for COM interop? Do you use the
>> regasm.exe tool?
>>
>> "Steve Lloyd" <steve.rem***@livenowpaylater.this.co.uk> wrote in message
>> news:ec5rnqrfGHA.4852@TK2MSFTNGP05.phx.gbl...
>>> Hi, I am creating an Addin for Excel and it has been working fine until
>>> now and all of a sudden things went a bit perculiar and now everything
>>> is set to create COM visibility but the .tlb does not get created.
>>>
>>> I know this is a bit of a long shot but has anyone else seen this
>>> happen/know what it might be?
>>>
>>> Thanks for any help
>>>
>>> Steve
>>>
>>
>
>

AddThis Social Bookmark Button