ActiveX

  • Thread starter Thread starter Yama
  • Start date Start date
Y

Yama

Hi,

Can you create ActiveX controls in C# for reuse on IE, MFC 6.0, ASP classic,
as well as .NET?

Thanks,

Yama
 
Yes.
You have to Register for COM Interop, create the appropriate Interface
attribute (easiest is AutoDual although COM purists discourage). And usually,
helps to regsiter the .NET library in the GAC.

However there are other tricky items, so some study is recommended.
Peter
 
Yama said:
Hi,

Can you create ActiveX controls in C# for reuse on IE, MFC 6.0, ASP
classic, as well as .NET?

Thanks,

Yama

The answer is NO, C# (and other managed languages) can only author Windows
Forms Controls.
And, the only supported container for WFC's (through a COM Callable Wrapper)
is IE5.01 and higher, other containers like MFC 6 and VB6 are not supported.
Note that MFC 7.1 and higher can host native (not using COM interop) Windows
Forms Controls.

Willy.
 
Whatever happened to .VBD??? That one was even worst than ActiveX... Gosh do
I miss writing Applets...
 
VB6 is still around, MFC and ATL , not to mention Delphi, enough choices to
build AX controls I presume.

Willy.
 
Back
Top