Completely Free .NET word API

Forums » .NET » .NET »

Convert "selstart" from vb to

Posted Date: 13 Jun 2009      Posted By:: KamalaNathan     Member Level: Bronze  Member Rank: 0     Points: 1   Responses: 1

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 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    Author: Viji RAJKUMAR      Member Level: Gold      Member Rank: 0     Date: 13/Jun/2009   Rating: 2 out of 52 out of 5     Points: 2


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



Pls rate my Answer if it was supportive

Post Reply     

 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.

  • Return to Discussion Forum
  • Start new thread

  • Subscribe to Subscribers
    Awards & Gifts
    Talk to Webmaster Tony John

    Online Members

    Jon Wells
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India