|
-
July 10th, 2008, 01:44 PM
#1
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?
-
July 10th, 2008, 02:19 PM
#2
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.)
-
July 10th, 2008, 02:20 PM
#3
Re: c# components.
No, you can make any class "ComVisible" and then create a native Wrapper (tlbexp.exe) . Those should be your starting points.
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
-
July 10th, 2008, 03:47 PM
#4
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|