11-12-15, 03:03 AM
عند تحويل المشروع الى العمل على سيكوال سيرفر لا يعمل الكود
هذا هو الكود
TV.Nodes.Clear()
CreateTree(TV)
TV.ExpandAll()
TV.SelectedNode = TV.Nodes(0)
For Each ctrl As Control In Me.GroupBox1.Controls
If TypeOf ctrl Is TextBox Then
ctrl.Text = ""
End If
Next
isupdate = True
و هذه هى رسالة الخطاء
Specified argument was out of the range of valid values. Parameter name: index
و هذا هو سطر الكود الذى يتوقف عنده
TV.SelectedNode = TV.Nodes(0)
هذا هو الكود
TV.Nodes.Clear()
CreateTree(TV)
TV.ExpandAll()
TV.SelectedNode = TV.Nodes(0)
For Each ctrl As Control In Me.GroupBox1.Controls
If TypeOf ctrl Is TextBox Then
ctrl.Text = ""
End If
Next
isupdate = True
و هذه هى رسالة الخطاء
Specified argument was out of the range of valid values. Parameter name: index
و هذا هو سطر الكود الذى يتوقف عنده
TV.SelectedNode = TV.Nodes(0)
