-
c# components.
Hi,
Is it possible to make a C# component that can be used in other applications. Aiming at creating something like a COM component in .net, that can be registered and accessed, say from toolbox in MS Word/Excel or other applications that can use components. I looked into class library project template in VISUAL STUDIO 2008, but according to MIcrosoft:
"You can use the Class Library template to quickly create reusable classes and components that can be shared with other projects."
I am assuming they mean .Net projects from within Visual Studio only. Can please someone point me in right direction?
-
Re: c# components.
In the "New Project" dialog, under "Visual C#" you should have an "Office" subsection.
There you will find project templates for creating Office add-in's. (Excel, Word, etc.)
-
Re: c# components.
No, you can make any class "ComVisible" and then create a native Wrapper (tlbexp.exe) . Those should be your starting points.
-
Re: c# components.
<quote>
In the "New Project" dialog, under "Visual C#" you should have an "Office" subsection.
There you will find project templates for creating Office add-in's. (Excel, Word, etc.)
</quote>
I didn't just mean office. I meant creating Components in general that will work not only for .Net , but elsehere in windows systems too.
I will look into Type LIbrary Exporter. Thanx for the tip