Re: Create a COM Object with C#?
From: Mattias Sjögren (mattias.dont.want.spam_at_mvps.org)
Date: 02/23/05
- Next message: Brian: "Instance .Method() ?"
- Previous message: Astronomically Confused: "Re: why does StreamReader get stuck"
- In reply to: Craig: "Re: Create a COM Object with C#?"
- Next in thread: Craig: "Re: Create a COM Object with C#?"
- Reply: Craig: "Re: Create a COM Object with C#?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 24 Feb 2005 00:24:48 +0100
>gets this error message during the VB compile:
>
> "Run-time error 80070002. File or assembly name CSharpServer, or one of
>its dependencies was not found."
>
>Surely I am almost there. What's the last step?
The assembly must be located in a place where the runtime can find it.
In practice this means either install it into the GAC, in the native
application directory (the VB directory while running in the VB6 IDE)
or be registered with Regasm's /codebase switch.
Mattias
-- Mattias Sjögren [MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup.
- Next message: Brian: "Instance .Method() ?"
- Previous message: Astronomically Confused: "Re: why does StreamReader get stuck"
- In reply to: Craig: "Re: Create a COM Object with C#?"
- Next in thread: Craig: "Re: Create a COM Object with C#?"
- Reply: Craig: "Re: Create a COM Object with C#?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|