|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Register for COM not workingHi, 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 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 > 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 >> > Yes. See "Deployment" about half way through.
http://www.simple-talk.com/2006/05/03/net-com-interoperability/ -- Show quotePhil Wilson [MVP Windows Installer] ---- "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 >>> >> > > |
|||||||||||||||||||||||