developing a .net - activex control for visio

P

Purrer Wolfgang

I try to develop a activex Control which in can use in visio.

I already managed to create an activex control with c#. But when
insert this control the following message appears:


An Error (1442) occured during the action Insert Control.
Visio cannon insert this control because its TypeInfo did not merge
correctly. Ensure all parameter types are VBA freindly. Delete Temp
*.exd
file if necassary.

Does someone have a idea what to do.. i didn't find an answer through
google!
 
P

Purrer Wolfgang

Got an answer from Microsoft Suppoert => in short it is not not
possible (or only with a lot of troubles)


Description of the supportability of Winforms controls in unmanaged
applications http://support.microsoft.com/kb/897863/en-us

Some research within our databases has shown that .NET Framework
controls can only be embedded in containers, which explicitly support
them, like Internet Explorer or MFC.

------------------------------
ActiveX control containers that support .NET controls
http://support.microsoft.com/kb/311334
------------------------------

If this is not the case, then problems will arise in the following
areas:
- Keyboard handling, tab-order, window activation, function keys,
accelerators.
- Threading, apartments and global objects.


Alternative Solutions:
- Host the control within Internet Explorer.
- Create a MFC wrapper control.
 

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