Multilined Messageboxes using VB 6.0 and VB.NET

Click Star to Rate Post
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
 


This shows how to do Multiple Lined Messageboxes (Multi-Line Dialogs) using VB.NET and VB 6.0.

 
Visual Basic.NET Messagebox

        '
        'Simply uses the vbNewLine constant to create multi-line messageboxes. 
        MessageBox.Show("This IS a multiline messagebox!" & vbNewLine & vbNewLine & _
            "See!, I told you so ", " Multiline Messagebox!", MessageBoxButtons.OK, _
                MessageBoxIcon.Information)

 
Visual Basic 6.0, VB 5.0 Messagebox

        '
        'Simply uses the vbNewLine constant to create multi-line messageboxes. 
        MsgBox("This IS a multiline messagebox!" & vbNewLine & vbNewLine & _
            "See!, I told you so ")

One thought on “Multilined Messageboxes using VB 6.0 and VB.NET

Leave a Reply