Hi Willy,
What are the pros and cons of using the /Codebase option to make an
entry for the .NET assembly in the registry vis-a-vis placing the .NET
assembly (that is used by COM) in the GAC?
"Willy Denoyette [MVP]" wrote:
[color=blue]
> Use the /codebase option when running regasm.
>
> Willy.
>
> "HL" <HL@discussions.microsoft.com> wrote in message
> news:166EE0A1-2CB5-4FBC-BDC4-8EAFC5C447BF@microsoft.com...[color=green]
> > Thanks a lot Thi. It works fine now.
> >
> > Just one Doubt.
> > The Vb Exe should have located the path of the C# Dll from the registry
> > and
> > executed. Why is it required to place the VB Exe in the same path as the
> > C#
> > Dll?
> >
> > "Truong Hong Thi" wrote:
> >[color=darkred]
> >> It complains that the DLL you compiled with C# is not found.
> >> You can do one of the following:
> >> - copy the DLL to VB installation folder (likely C:\Program
> >> Files\Microsoft Visual Studio\VB98)
> >> - copy DLL to OS system folder (e.g WinNT/System32)
> >> - Copy the DLL file to the same folder as your VB DLL/EXE. This does
> >> not work if you want to debug your code because you can only generate
> >> VB DLL/EXE by File/Make XXX.... menu item.
> >>
> >> It is annoying that VB6 does not support "Working Directory" project
> >> property for debugging; otherwise you can set it to the folder
> >> containning the C# DLL.
> >>
> >> Hope it helps,
> >> Thi -
http://thith.blogspot.com
> >>
> >>[/color][/color]
>
>
>[/color]