During migration from VB to VB.NET if you
are getting error as "'SelStart' is not a member of
'System.Windows.Forms.Control'." with following type of code
'UPGRADE_WARNING:
Couldn't resolve default property of object frmForm.ActiveControl.SelStart.
mytextbox.SelStart = 0
Solution: -
Use new property “SelectionStart” as below
mytextbox.SelectionStart
= 0
No comments:
Post a Comment