Private Python2VBText As New TextBox Public Sub Routine2 Dim name As String name = "Mary" Dim password As String password = "swordfish" if name = "Mary" Then Python2VBText.Text = Python2VBText.Text +"Hello, Mary".ToString + vbNewLine Python2VBText.MultiLine = True Python2VBText.Width = 200 Python2VBText.Height = 100 Form1.Controls.Add(Python2VBText) if password = "swordfish" Then Python2VBText.Text = Python2VBText.Text +"Access granted.".ToString + vbNewLine else Python2VBText.Text = Python2VBText.Text +"Wrong password.".ToString + vbNewLine End If End If End Sub