我如何'unghost'添加到VS工具箱的.com工具? [英] How do I 'unghost' a .com tool that was added to the VS toolbox?

查看:64
本文介绍了我如何'unghost'添加到VS工具箱的.com工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将.COM组件添加到Visual Basic的VS工具箱中。 虽然它显示在"选择工具箱项"对话框的"COM组件"选项卡中,并允许我检查它并将其添加到工具箱中的项目列表,但它似乎是
无法使用(即该选择显示为"幻影"。) 当我尝试将其拖动到工作区区域时,光标变为带有对角线的红色圆圈,表示该组件无法放置在页面的任何位置。   

I am trying to add a .COM component to the VS toolbox for Visual Basic.  While it shows up in the 'COM Components' tab of the 'Choose Toolbox Items' dialog box and allows me to check it and add it to the list of item in the toolbox, it appears to be unavailable for use (i.e. that selection appears 'ghosted').  When I try to drag it onto the workspace area, the cursor changes to a red circle with a diagonal line indicating the component can't be placed anywhere on the page.   

我缺少什么?

谢谢

推荐答案

嗨克雷格,

欢迎到MSDN论坛。

请参阅您的描述,我想这个组件不适用于您当前的项目类型。你能否分享你的VS版本,项目类型和你选择的COM组件
?我将尝试在我身边测试它,检查是否出现此问题。

同时,您还可以尝试搜索有关此COM组件的文档,看它是否显示支持的项目类型。确保此COM组件是
可用于您当前的项目类型,如果没有,即使您可以将其添加到工具箱,它仍然无法拖动到您的表单或页面。

最好的问候,

Sara


这篇关于我如何'unghost'添加到VS工具箱的.com工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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