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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top