ActiveX控件容器 [英] ActiveX Control Container
本文介绍了ActiveX控件容器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
我想在VC中创建像ActiveX测试容器这样的应用程序,但是它太复杂了,所以我想自己创建它.
谁知道该怎么做?请给我一些建议和信息.
谢谢.
Hello,
I want to create Applications like ActiveX Test Container in VC, but it is too complex, so I want to create it by own.
Who knows how to do this? Please give me some advice and information.
Thanks.
推荐答案
一种相当简单的测试ActiveX控件的方法是通过VBScript.当然那里没有UI.如果要从UI对其进行测试,则可以采取的措施是安装Classic VB(VB 6或更早版本)的副本.经典VB IDE作为Active X测试应用程序非常有用.如果您没有Classic VB,只需安装Visual C#express并使用COM interop来测试ActiveX(它不如直接使用Classic VB进行测试那样好,但是非常接近).
One fairly easy way to test an ActiveX control is via VBScript. Of course there''s no UI there. If you want to test it out from a UI, one hack is to install a copy of Classic VB (VB 6 or earlier). Classic VB IDE is extremely useful as an Active X testing application. If you don''t have Classic VB, just install Visual C# express and use COM interop to test the ActiveX out (it won''t be as good as directly testing with Classic VB but it''s pretty close).
这篇关于ActiveX控件容器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文