473,473 Members | 2,025 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Using OLE

I'm writing a simple editor using the RichTextBox.

I'd like to add OLE like WordPad has.

That is allow packages to be embedded or linked and thereby changed.

I'm reading the doc but would like to have some sample code to study.

Anyone know where there is sample code or How-To-Do-It tutorial?
I'd appreciate any leads that I can track down.

Thanks
Nov 17 '05 #1
2 2249
I think you under-estimate what Wordpad needs to do to achieve this, and you
over-estimate the possibilities you have using C# to do exactly what you
want, that is build a OLE container capable of embedding and in-place
activation. I don't say it's impossible to do using a pure managed language
like C#, but this is definitively the domain of native C++ using the MFC
an/or ATL libraries.
Believe it or not but .NET is not the ideal tool to build sophisticated
OLE/COM applications.

Willy.


" **Developer**" <RE*************@a-znet.com> wrote in message
news:ON**************@TK2MSFTNGP15.phx.gbl...
I'm writing a simple editor using the RichTextBox.

I'd like to add OLE like WordPad has.

That is allow packages to be embedded or linked and thereby changed.

I'm reading the doc but would like to have some sample code to study.

Anyone know where there is sample code or How-To-Do-It tutorial?
I'd appreciate any leads that I can track down.

Thanks

Nov 17 '05 #2
That is very helpful info. By myself I probably would have spent much time
before I realized what you told me.

I'm glad I asked.

Thanks
"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in message
news:uq**************@TK2MSFTNGP14.phx.gbl...
I think you under-estimate what Wordpad needs to do to achieve this, and
you over-estimate the possibilities you have using C# to do exactly what
you want, that is build a OLE container capable of embedding and in-place
activation. I don't say it's impossible to do using a pure managed language
like C#, but this is definitively the domain of native C++ using the MFC
an/or ATL libraries.
Believe it or not but .NET is not the ideal tool to build sophisticated
OLE/COM applications.

Willy.


" **Developer**" <RE*************@a-znet.com> wrote in message
news:ON**************@TK2MSFTNGP15.phx.gbl...
I'm writing a simple editor using the RichTextBox.

I'd like to add OLE like WordPad has.

That is allow packages to be embedded or linked and thereby changed.

I'm reading the doc but would like to have some sample code to study.

Anyone know where there is sample code or How-To-Do-It tutorial?
I'd appreciate any leads that I can track down.

Thanks


Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Enos Meroka | last post by:
Hallo, I am a student doing my project in the university.. I have been trying to compile the program using HP -UX aCC compiler, however I keep on getting the following errors. ...
3
by: Mike L | last post by:
Should the command call "using" be before or after my namespace? **AFTER** namespace DataGridBrowser { using System; using System.Drawing; using System.Drawing.Drawing2D; using...
3
by: xzzy | last post by:
I was wondering why we have to have using System.Data using System.Configuration using etc.... why are they not all lumped into one 'using'? In other words, is there a best way to use...
14
by: pmud | last post by:
Hi, I need to use an Excel Sheet in ASP.NET application so that the users can enter (copy, paste ) large number of rows in this Excel Sheet. Also, Whatever the USER ENETRS needs to go to the...
8
by: acb | last post by:
Hi, I wrote a DLL Component (using Visual Studio 2005) and managed to include it into a C# Console application. I am now trying to include this component into a Web project. I copy the DLL...
0
by: Metal2You | last post by:
I'm working on an ASP.NET 2.0 application in Visual Studio 2005 that accesses a Sybase database back end. We're using Sybase SQL Anywhere 9.0.2.3228. I have installed and registered the Sybase...
10
by: mg | last post by:
I'm migrating from VB6 and have a question about using 'Using' and the best way to use it. Here is a example of a small bit of code: dbConx("open") Using CN Dim CMD As New OleDbCommand(sSQL,...
0
by: Eugene Anthony | last post by:
The problem with my coding is that despite removing the records stored in the array list, the rptPages repeater control is still visible. The rptPages repeater control displayes the navigation...
3
by: JDeats | last post by:
I have some .NET 1.1 code that utilizes this technique for encrypting and decrypting a file. http://support.microsoft.com/kb/307010 In .NET 2.0 this approach is not fully supported (a .NET 2.0...
6
by: =?Utf-8?B?U2hhd24gU2VzbmE=?= | last post by:
Greetings! I was researching AJAX to provide a solution to displaying status messages while a long process executed. I found several examples online and was able to use their code to get a quick...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.