You must Sign In to post a response.
  • Category: .NET

    Convert "selstart" from vb to vb.net?

    Hi All,

    While converting VB project to VB.Net.
    I have faced the problem with "Selstart" for text box.

    My code will be look like this,

    If textbox.selstart > 0 then
    keyascii =0
    end if

    - but vb.net is not supporting "selstart" property. for the above condition how can i chage so that i can go futher......

    please help me on this....
  • #389281
    Hi,

    The "SelStart" Property of text box in VB is equaivalent to "SelectionStart" property in VB.NET


    If TextBox1.SelectionStart > 0 Then
    'Some Code
    End If


    Regards,
    VIJI RAJKUMAR

    Regards

    VIJI RAJKUMAR
    Pls rate my Answer if it was supportive
    http://vijirajkumar.blogspot.com


This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.