How to create COM in C# class lib ?

  • Thread starter Thread starter CYShao
  • Start date Start date
C

CYShao

How to create COM in C# class lib ?

My company have many release programs written VB6.0 before.
Now, we want to add new functionalities in C#, and relpece old VB6
programs step by step.
Obviously, COM is a good way to do that.

In my program, I just to write a COM with C#, and invok it BV6.0
But I really can't understand why C# doesn't support "COM class"
template.( VB.Net provides this.)

I just want to know how to create COM in C# class lib ,and invoke it in VB6.

Thank you very much:-)

CYShao
 
CYshao,

I think that this is a nice question for the newsgroupC# here it is done
with VBNet, because of the fact that the result is exactly the same.

One of the active regulars from this newsgroup who is now two weeks not
active (however ill be back soon), would possibly have answered your
question with something as: "I see no reason for that!".

:-)

The C# newsgroup however.
microsoft.public.dotnet.languages.csharp

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top