GouthamAnand
asked on
Converting C# dll to COM component to access from VB6 application
Below is my simple C# class and interface. I want to conver this into COM component which is accessble in VB6 application.
Can you please guide me clearly how I can achieve this.
namespace InteractorHint
{
interface TestInterface
{
[DispId(1)]
void WriteHints(string hint);
}
}
namespace InteractorHint
{
public class Test : TestInterface
{
public Test()
{
}
public void WriteHints(string strHint)
{
Console.WriteLine(strHint) ;
}
}
}
Can you please guide me clearly how I can achieve this.
namespace InteractorHint
{
interface TestInterface
{
[DispId(1)]
void WriteHints(string hint);
}
}
namespace InteractorHint
{
public class Test : TestInterface
{
public Test()
{
}
public void WriteHints(string strHint)
{
Console.WriteLine(strHint)
}
}
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks a lot.
http://zbz5.net/consuming-net-assemblies-vb6