Breaking News
Loading...
Friday 26 April 2013

How to use vbCrlF keyword in vb.net


This ' vbCrlf ' keyword is used for new line operator for example....

///////////////////////////////////////////////////////////////
Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
      

        Dim str As String
        str = "This is how" & vbcrlf & "to get a new line"

        MessageBox.Show(str)
    End Sub
End Class
////////////////////////////////////////////////////////////////////
*********************OUTPUT***********************


See Also :
  Follow Me On Facebook



--
/\/ir@\/  <(.'.)>

0 comments:

Post a Comment

Thanks for comment

 
Toggle Footer