Consultor Eletrônico



Kbase P70093: .Net forms control not shown in 'choose control' dialog
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/27/2004
Status: Unverified

SYMPTOM(s):

.Net forms control not shown in 'choose control' dialog

.Net control has COM entry points set up via COM callable wrapper.

CAUSE:

The .Net COM callable wrapper wraps the .net control in a COM Automation object. This is a different type of object than the COM Control.

Because the object is not a COM Control it can't be used as such and it does not show up in the "Choose control" dialog.
While it is possible to make the COM Automation object appear to be a Control object, it cannot be expected to work as one.

To further complicate the matter, Microsoft does not support any means to wrap a .Net forms control into an ActiveX COM control object. And due to the nature of the .Net framework, allowing direct integration of a .Net control into a Progress client would require a complete rewrite of the Progress client using .Net.

FIX:

Currently the only way to avoid this issue is to build the control components without relying on the .Net framework, by using a "regular" programming language (ie. C++ instead of C#).