Click here to Skip to main content
15,895,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All

Is it possible to develop a C#.NET application with automation supports,
i.e. like OLE Automation in MFC application


Is .NET framework support COM Servers?

Thanks
Radhakrishnan G.
Posted
Updated 2-Nov-10 2:38am
v4
Comments
shakil0304003 1-Nov-10 11:17am    
Not Clear!
Radhakrishnan G. 1-Nov-10 23:20pm    
I need to develop a Visual Studio like application that supports automation, such tha other components can interact with my application

Adding to Jim's reply, yes you can do both of these:

1) Write COM clients in C# (that connect to and use a COM server).

2) Write COM servers in C# (that other COM clients can connect to, including pure native ones written in C or C++).

[Edit]
---------

Adding links in response to OP's comments.

http://msdn.microsoft.com/en-us/magazine/cc163494.aspx[^]

http://msdn.microsoft.com/en-us/library/aa645712(v=VS.71).aspx[^]

http://www.codeproject.com/KB/COM/cominterop.aspx[^]

http://www.codeproject.com/KB/COM/nettocom.aspx[^]
 
Share this answer
 
v3
Comments
Radhakrishnan G. 1-Nov-10 23:13pm    
Can you give some use full link regarding this, thanks
Nish Nishant 2-Nov-10 9:12am    
Updated my answer with some links.
To answer your question:

Yes it is possible to develop a C#.NET application that supports automation, including OLE should you so wish. If you focus your search on Office Automation and COM Interop, you're going the right way.

http://www.c-sharpcorner.com/UploadFile/amrish_deep/WordAutomation05102007223934PM/WordAutomation.aspx
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900