alternative to VbCrLf

Hello!!

Is there an alternative to the constant vbCrLf

I want to show to the user an msgbox using several rows of information. I found the vbCrLf constant that is defined inside microsoft.visualbasic namespace.

Thanks in advanced

Jose Eloy

Mexico

 



Answer this question

alternative to VbCrLf

  • Daring

    I you insist on not using stuff in the Microsoft.VisualBasic namespace, you can try System.Environment.NewLine.

    Best regards,
    Johan Stenberg



  • Adam Finster

    hi,

    i use this

    messagebox.show("some text here" & vbnewline & " the newline text here" & vbnewline & " the third line here")



  • Baskar Joshi

    Ok, It’s another alternative, but Isn’t there another constant in another spacename (different of microsoft.visualbasic)

    Thanks in advanced.

    Jose Eloy

  • alternative to VbCrLf