ActiveX control in Word, written in C#, part of AddIn?

W

Wei Lu [MSFT]

Hello Dave,

I am not sure what the ActiveX Contraller you mean. Did you mean that you
want to use the ActiveX Control in your Word Addin?

We still recommand you to develop the ActiveX Control using C++ or VB and
you may use the ActiveX Control in the com add-in.


Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
D

David Thielen

We want to create our own ActiveX control to display objects we put in the
document with out AddIn. And our AddIn then needs to be able to edit those
objects too. Our AddIn is written in C# (and J#).

To make this work we need to be able to manipulate our ActiveX control with
our C# code. Is this possible?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
W

Wei Lu [MSFT]

Hello Dave,

Yes, it is possible.

It just like you import and use the ActiveX control in a .NET project.

You may refer the sample in Codeproject.

Importing and Extending ActiveX Controls in .NET
http://www.codeproject.com/csharp/importactivex.asp

Hope it helps!

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
W

Wei Lu [MSFT]

Hi ,

How is everything going? Please feel free to let me know if you need any
assistance.

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
W

Wei Lu [MSFT]

Hello Dave,

From your description, my understanding of this issue is that you want to
insert a ActiveX control into the Word and use the Addin to control the
ActiveX control.

Based on my research, I found that if you want to insert the ActiveX
Control, it will be a lot of works to do. You may need to register the dll
and not all the ActiveX control could be inserted.

So I would like to know whether you could use some alternate approach.

Such as using a Icon to show up at the correct location and use some other
approach to stored the data.


Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
W

Wei Lu [MSFT]

Hello Dave,

Since this issue is related with the one ActiveX control in Word, I will
post all the response there.

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 

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