Try
Catch ex as exception
Messagebox.show(ex.tostring)
End Try
Dim ErrorMessage as string = ""
'Check that textboxes aren't empty
If txtEmail.text = "" Then ErrorMessage ="Please enter an Email Address!" & Environment.newline
If txtPassword.text = "" Then ErrorMessage ="Please enter a password!" & Environment.newline
If ErrorMessage ="" then
Try
Catch
End Try
Else
Messagebox.show(ErrorMessage)
End If
Copyright © 2026, NextGenUpdate.
All Rights Reserved.