Integer.Tostring in msgbox

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Integer.Tostring in msgbox

The most stupid question ever

I'm embarrased to ask it but here it is. The code below produces a blank in
the first message box and a hello in the second. Please tell me what idiotic
mistake I'm making with i.tostring? How to I get the cursor position to show?

Thanks, Dennis


Dim i As Integer
i = Me.txtConceptText.SelectionStart
MsgBox("select start = ", i.ToString)

If Me.txtConceptText.SelectionStart > 0 Then
MsgBox("hello")
End If
 
Back
Top