J
Jay Douglas
Hello all,
I've wrote a .dll in c#. The .dll needs to be used by a VB 6
application. At first, I couldn't set a reference from the VB app, but then
I found the register for COM Interop in the build configuration in the
VS.net IDE. The VB 6 IDE now lists my class library as a reference. But
there are still a few issues. I can set a variable/object to the class.
i.e.:
Dim o As MyC#Namespace.MyC#Class (Note that the namespace/class doesn't have
C# in it)
When I try to access a public method, the VB6 Intellisence doesn't pull up
the list of Methods/Properties that are available with the Class Library.
Example:
variant foo = o.MyMethod <-- (No intellisence after o.)
The structure of my class library is as such:
namespace MyC#Namespace {
public class MyC#Class
{
public string MyMethod {
return "test";
}
}
}
Any suggestions are appreciated.
I've wrote a .dll in c#. The .dll needs to be used by a VB 6
application. At first, I couldn't set a reference from the VB app, but then
I found the register for COM Interop in the build configuration in the
VS.net IDE. The VB 6 IDE now lists my class library as a reference. But
there are still a few issues. I can set a variable/object to the class.
i.e.:
Dim o As MyC#Namespace.MyC#Class (Note that the namespace/class doesn't have
C# in it)
When I try to access a public method, the VB6 Intellisence doesn't pull up
the list of Methods/Properties that are available with the Class Library.
Example:
variant foo = o.MyMethod <-- (No intellisence after o.)
The structure of my class library is as such:
namespace MyC#Namespace {
public class MyC#Class
{
public string MyMethod {
return "test";
}
}
}
Any suggestions are appreciated.