Re: Deployment COM Interop question

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Saurabh (saurabh_at_nagpurcity.net)
Date: 02/25/04


Date: Wed, 25 Feb 2004 12:23:00 -0000

Found the solution!!
If I try doing regasm /codebase MyAssembly.dll then it works though it gives
the warning saying not a strong name. Anyways, It registers and works. does
anybody know whats the difference between using /codebase switch and not
using it ?

TIA,

--Saurabh

"Saurabh" <saurabh@nagpurcity.net> wrote in message
news:e5RUxQ5%23DHA.3272@TK2MSFTNGP09.phx.gbl...
> Hello All,
>
> I have a .NET component which needs to be deployed on the target machine
so
> that It can be exposed to the COM world. On the development machine, the
> 'register for com interop' setting when set to true, does the trick. When
I
> deploy it on a target machine (I am using Installshield Professional 6.3)
> how do I register the assembly? Has anybody done it through installshield?
> The other thing is when If I copy this assembly on the target machine, and
> run regasm MyAssembly.dll, I can see the Object in the OLE / COM viewer
but
> not the interface which this object implements. Am I doing something
wrong.
> The tlb that is generated during the build is a separate file and its not
> embedded in the dll.
>
> Any inputs?
>
> TIA,
>
> --Saurabh
> PS : Sorry for posting to this newsgroup though its not exactly a forms
> question
>
>



Relevant Pages

  • Re: COM interop q
    ... >>again or can I simply register the existing .TLB file? ... > Yes you need to run Regasm on the target machine, ... file since I have to run RegAsm on the target machine anyway (which will ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Access a VB.net ComClass from VB6
    ... Did you register the component using RegAsm? ... I initially registered it using RegAsm but after that everytime I ... vb6 program. ... I downloaded a sample app from msdn site and it worked and it did have ...
    (microsoft.public.vb.com)
  • Re: Problem Using VB.net Class Library DLL in VBScript
    ... Thanks Phill for your advice. ... registering the tbl file on the target machine. ... Double clicking on it to register to regsvr32 but get the error that the ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Cant register an assembly for COM interop
    ... >I have created a C# class library project in VS.NET 2003 that handles ... if I do not use Visual Studio to register my assembly ... > use regasm instead, I cannot access the COM objects. ... install the DLL in the same folder as the COM client ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Problem Using VB.net Class Library DLL in VBScript
    ... registering the tbl file on the target machine. ... Double clicking on it to register to regsvr32 but get the error that> the ... Tried using gacutil.exe but am getting an error saying -Failure> adding ...
    (microsoft.public.dotnet.languages.vb)