Can SilverLight contain ActiveX?

Hello, thank you!

I am trying to access the USB port from a Silverlight application. Since Silverlight is running in a sandbox, this operation cannot be performed.

Is it possible to run from inside the Silverlight application? ActiveX control? (It is better not to overlap)

If so: what examples exist? What is the best practice in this regard?

No, ActiveX controls cannot run inside Silverlight.

However, you can make the html page host Silverlight and ActiveX controls at the same time, and communicate these two through javascript.

Hello, thank you!

I am trying to access the USB port from a Silverlight application. Since Silverlight is running in a sandbox, this operation cannot be performed.

Is it possible to run from inside the Silverlight application? ActiveX control? (It is better not to overlap)

If so: what examples exist? What is the best practice in this regard?

No, ActiveX controls cannot run inside Silverlight.

However, you can make html pages host both Silverlight and ActiveX controls , And carry out these two communications through javascript.

Leave a Comment

Your email address will not be published.