Public Class Form1

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim show As String
show = Space(90) & "9x9product" & vbNewLine & vbNewLine
For i = 1 To 9
For j = 1 To 9
show &= i & "x" & j & "=" & i * j & vbTab
Next
show &= vbNewLine
Next
MsgBox(show)

End
End Sub
End Class

Recommended Answers

All 2 Replies

the MsgBox is Auto sized....
If you want to change the layout then you better consider to create your own messagebox by adding a new form which you show modal.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.