- INDEX VB TO NET
- KNOWLEDGE BASE
- EWIS-ISSUES
- ISSUE #2059
ISSUE #2059
1% property 2%.NewIndex was not upgraded.
Sample VB6
PrivateSub Form_Load()
MsgBox List1.NewIndex
EndSub
Target VB.NET
PrivateSub Form1_Load(ByVal eventSender AsObject, ByVal eventArgs As EventArgs) HandlesMyBase.Load
'UPGRADE_ISSUE: (2059) ListBox property List1.NewIndex was not upgraded.
MessageBox.Show(CStr(List1.NewIndex), Application.ProductName)
EndSub
Target C#
privatevoid Form1_Load( Object eventSender, EventArgs eventArgs)
{
//UPGRADE_ISSUE: (2059) ListBox property List1.NewIndex was not upgraded.
MessageBox.Show(List1.NewIndex.ToString(), Application.ProductName);
}