如何使ActiveX组件进入WPF? [英] How to get ActiveX component into WPF ?

查看:119
本文介绍了如何使ActiveX组件进入WPF?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

在C#WPF格式中有一个小疑问.我在C#和VC ++中有一个无线电频谱活动X控件.我能够调用该组件并将数据反映到C#Winforms中,但是在尝试获取WPF中的ACTIVE-X组件时-我无法继续进行操作...

我的项目是在WPF中开发的一半.我现在无法切换到C#Winforms ...请引导我继续使用ACTIVE X组件进行WPF.

附注:这些ActiveX组件仅由我们的组织开发.

等待您的答复.

问候,
KVS.

Hi all,

A small doubt in C# WPF forms. I have a radio spectrum active X control in C# and VC++. I am able to call the component and reflect the data into C# Winforms, but while trying to get the ACTIVE-X component in WPF - I am unable to proceed further ...

My project is half developed in WPF. I can''t switch over to C# Winforms now... please guide me to proceed with WPF using ACTIVE X components.

P.S.: Those ActiveX components are developed by our organisation only.

Awaiting your reply.

Regards,
KVS.

推荐答案

ActiveX是一种过时的技术,主要用于Web应用程序. AFAIK它不会移植或不能在WPF中使用.
ActiveX is an antiquated technology that was mainly used for web applications. AFAIK it will not port or be usable in WPF.


您也许可以将它们包含在WinForms控件中,然后将WinForms控件包含在WPF应用程序中,但是高度理论化.也许google可以帮助您解决这个问题,或者您可以只是一名程序员并尝试一下.

顺便说一句,为什么要使用Active-X crement 破坏应用程序?
You might be able to enclose them in a WinForms control, and then include the WinForms control in your WPF app, but that''s highly theoretical. Maybe google can help answer that, or you can just be a programmer and try it out.

BTW, why would you want to ruin your app by using Active-Xcrement?


这篇关于如何使ActiveX组件进入WPF?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆