C# and In-Place Activation

S

Sam

Can anyone point me to some sample code that shows
In-Place Activation or Visual Editing written
in C# or VB.NET?

I want to embed my application in a Microsoft Word
document. The effect I am after is like when you
insert a bitmap picture in Word; however, I want
to display my own custom view.

Please note I don't want to embed Word in my
application.

The workflow in Word is to click the Insert Menu
and then click the Object... menu. You then select
the Object type to embed.

Thanks,
sam
(e-mail address removed)
 
N

Norman Yuan

It sound COM Add-in for MS Word is what you need. Although we are in .NET
NG, COM looks like old stuff, VS.NET does have a project type, called
Extensibility Project->Shared Add-in, which is specially designed to create
Add-ins to MS Office family apps. Since MS Office apps are based on COM
technology (even the newly released Office 2003), therefore the name "COM
Add-in". You also can create Add-ins in VB6, or MS Office Developer Edition.

With COM Add-in (in VS.NET, you can use C# or VB.NET of your choice), you
define your method of inserting image into document, which could display a
form for use to make his inserting options; you add menu item/toolbar item
(CommandBar object in Office Apps), which starts your inserting method in
Word environment, just as a native menu/toolbar behaves.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top