mscomctl - whats is it? its giving problem in upgrading VB6 to VB.Net
-
what is mscomctl? in the following like of code it complains as "mscomctl" is not delcalred when i upgrade mt VB6 project to VB.Net ...how can i resolve the issue here is the code:
lstToSelect = lstProperties.FindItemWithText(Mid(tvwProperties.SelectedNode.Name, 2, Len(tvwProperties.SelectedNode.Name)), True, 1, mscomctl.ListFindItemHowConstants.lvwWhole)
-
what is mscomctl? in the following like of code it complains as "mscomctl" is not delcalred when i upgrade mt VB6 project to VB.Net ...how can i resolve the issue here is the code:
lstToSelect = lstProperties.FindItemWithText(Mid(tvwProperties.SelectedNode.Name, 2, Len(tvwProperties.SelectedNode.Name)), True, 1, mscomctl.ListFindItemHowConstants.lvwWhole)
MSCommonControls. The intelligent thing to do here would be to google the command that causes the problem. Like I did: http://msdn2.microsoft.com/en-us/library/system.windows.forms.listview.finditemwithtext.aspx[^] Doesn't look like that constant is supported in .NET in any way.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
MSCommonControls. The intelligent thing to do here would be to google the command that causes the problem. Like I did: http://msdn2.microsoft.com/en-us/library/system.windows.forms.listview.finditemwithtext.aspx[^] Doesn't look like that constant is supported in .NET in any way.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
Thanx for the reply Graus I am new to VB ok here the problem is in VB6 the code is like this :
Set lstToSelect = lstProperties.FindItem(Mid(tvwProperties.SelectedItem.Key, 2, Len(tvwProperties.SelectedItem.Key)), 0, 1, lvwWhole)
and the upgrade vizard changed the code tolstToSelect = lstProperties.FindItemWithText(Mid(tvwProperties.SelectedNode.Name, 2, Len(tvwProperties.SelectedNode.Name)), True, 1, mscomctl.ListFindItemHowConstants.lvwWhole)
now it complains " mscomctl " is not declared how can i resolve the issue -
Thanx for the reply Graus I am new to VB ok here the problem is in VB6 the code is like this :
Set lstToSelect = lstProperties.FindItem(Mid(tvwProperties.SelectedItem.Key, 2, Len(tvwProperties.SelectedItem.Key)), 0, 1, lvwWhole)
and the upgrade vizard changed the code tolstToSelect = lstProperties.FindItemWithText(Mid(tvwProperties.SelectedNode.Name, 2, Len(tvwProperties.SelectedNode.Name)), True, 1, mscomctl.ListFindItemHowConstants.lvwWhole)
now it complains " mscomctl " is not declared how can i resolve the issue