.net Framework4的CheckedListBox问题 [英] CheckedListBox problem with .net Framework4

查看:128
本文介绍了.net Framework4的CheckedListBox问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个使用Vb.net开发的程序,该程序使用CheckedListBox控件,并且该程序已从VB6转换为Vb.Net
"VB6.GetItemString"方法用于从CheckedListBox获取项目值. 在Frame work 3.5或Framework 4以及Frame work 3.5的情况下,"VB6.GetItemString"方法可以正常工作
但是,当单独安装框架4时,"VB6.GetItemString"属性返回为空(框架4的下载链接:http://www.microsoft.com/zh-cn/download/details.aspx?id=17718)
Frame work 4是否不支持此功能?是否存在框架4不支持的类似功能?
有人可以说出解决方案吗?

We have a program developed with Vb.net which uses CheckedListBox control and the program is converted from VB6 to Vb.Net
"VB6.GetItemString" method is used to get the item value from CheckedListBox
With Frame work 3.5 or Framework 4 along with Frame work 3.5 "VB6.GetItemString" method works properly
But when Frame work 4 alone was installed the "VB6.GetItemString" property returned empty(Download link for Frame work 4 : http://www.microsoft.com/en-us/download/details.aspx?id=17718)
Whether this feature is not supported by Frame work 4? Is there similar kind of such feature which are not supported by frame work 4?
Can somebody tell what is the solution for this?

推荐答案

注意:

Visual Studio 2010不再具有升级Visual Basic 6.0应用程序的功能,并且在.NET Framework版本4中,这些命名空间中的所有成员都标记为已过时

Visual Studio 2010 no longer includes the ability to upgrade Visual Basic 6.0 applications, and in version 4 of the .NET Framework all members in these namespaces are marked as obsolete


来源: MSDN-MS VisualBasic兼容性 [


Source: MSDN - MS VisualBasic compatibility[^]

You need to re-write program, using only "clear" VB.NET objects, methods and classes.


这篇关于.net Framework4的CheckedListBox问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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