How to show ActiveX whitout AxHost?

K

Kuba Florczyk

Hi

Do anybody know how to show ActiveX whitout AxHost? For example i got
wrapper to ActiveX and now i don't know how AxHost shows ActiveX.

I must do it, because i think AxHost made it wrong and i got some problems
with using ActiveX.

Second question is how AxHost do it? I mean how he show Activex?

regards
Kuba Florczyk
 
M

Me

It is possible to manually create the wrapper files for an activex control,
at which point you can modify the code generated in case it's wrong. For
example, Visual Studio.NET 2K3 generates code which fails to compile when
trying to import the Microsoft Terminal Services ActiveX Control
(mstscax.dll).

If you use the aximp /source option, you can modify the source code, compile
it manually, then manually add import the control reference and add it
programmatically to your Windows Form.

If this doesn't make sense, lemme know and I can detail the process I had to
go through to make this happen (It's been like 3 months since I had to do
it and am a bit rusty).

As far as the "How" in your question, I have no idea, I never cared :).
 
K

Kuba Florczyk

It is possible to manually create the wrapper files for an activex
control,
at which point you can modify the code generated in case it's wrong. For
example, Visual Studio.NET 2K3 generates code which fails to compile when
trying to import the Microsoft Terminal Services ActiveX Control
(mstscax.dll).

Yes. I know that, I use this wrapper, it's quite good.
If you use the aximp /source option, you can modify the source code, compile
it manually, then manually add import the control reference and add it
programmatically to your Windows Form.

In this moment i got wrapper and i got class with implementation AxHost.
If this doesn't make sense, lemme know and I can detail the process I had to
go through to make this happen (It's been like 3 months since I had to do
it and am a bit rusty).

As far as the "How" in your question, I have no idea, I never cared :).

But the problem is not the wrapper but the AxHost.
I try too show Flash.ocx and AxHost adds background (i dont know why and
how, beacuse i try to override OnPaint and OnPaintBackground).

So my problem is how show ActiveX whitout AxHost or how he shows control.

kuba florczyk
 

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