Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
Public Sub Main() Dim LogIn As New LoginForm() Dim result As DialogResult result = LogIn.ShowDialog MsgBox(result.ToString) If result = Windows.Forms.DialogResult.OK Then 'validate user here Application.Run(New MainForm) End If End Sub Public Class LoginForm Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click MsgBox("Clicked ok") Me.Close() End Sub Private Sub Cancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Cancel.Click MsgBox("Clicked cancel") Me.Close() End Sub End Class
Join the community of 500,000 technology professionals and ask your questions.