CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 1999
    Location
    Québec (Canada)
    Posts
    210

    MsgBox to long how can I change line

    I would like to change line in MsgBox how can I do this


    Thanks
    Redg


  2. #2
    Join Date
    Feb 2000
    Location
    Belgium
    Posts
    2

    Re: MsgBox to long how can I change line

    Hi,

    You can use multiple lines in a message box by using "vbCrLf". There's an example beneath.

    MsgBox "This is the first line." & vbCrLf & "This is the second line."



    Bert


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