CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: MessageBoxes

  1. #1
    Join Date
    Feb 2001
    Location
    Israel
    Posts
    94

    MessageBoxes

    I know its a silly question,
    But how do I implement eol in MessageBoxes.
    I mean if I want to write something in 2 lines for instance.

    FatMan


  2. #2
    Join Date
    Nov 1999
    Posts
    18

    Re: MessageBoxes

    You can use the VB constant vbCrLf -- carriage return and line feed.

    e.g.

    MsgBox "Message" & vbCrLf & "Second line"




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured