Click here to Skip to main content
15,893,814 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Is there any way to make the C# panel supports OLE? In my project,I had to open word document in a panel,and modify it.In VC++,You can use the ActiveDocument,but this method can not be used directly in c#.Who has better way to do this?Or is there any examples?
Posted
Comments
Sergey Alexandrovich Kryukov 29-Jul-14 23:04pm    
What is "open word"? Is that "Open Word Processor - Edit Microsoft Word Office Documents for iPad By Appsverse Inc."? But how is it could be related to your question, and to OLE? Anything else? Why? Why OLE?
—SA
xu_xuthus 31-Jul-14 2:38am    
I`m building a system ,looks like MS Word,it supports text、graphics、images and so on.now,I had to import word、excel、CAD and other files into my system,then show 、edit and save them.In my impression,OLE technology is able to achieve,is there any other way?
Sergey Alexandrovich Kryukov 31-Jul-14 3:06am    
Do you think OLE would help you for import, why? Is your problem related just with import? Because you certainly don't need OLE for implementing your own system. You have .NET, much more consistent and powerful thing.
—SA
xu_xuthus 31-Jul-14 21:42pm    
I mean that,I want a feature like the "Insert Object" in MS Word.Not just import data from files.
Sergey Alexandrovich Kryukov 31-Jul-14 23:58pm    
Look, as I understand, you are working at your own system. Why inserting something in Word? If you need to insert something in your document, you don't need OLE. Can you understand that, OLE, and whole COM were designed to add some OOP features to non-OO API of Windows. .NET is native OOP system from top to down; you don't need obsolete technology created as a temporary remedy.
—SA

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