@StewartBW , you could try the following code to invoke the code from the thread to show the form.
BTW, you could use Form.StartPosition Property to locate the position of Form.
Me.Invoke(
Sub()
Using F As New Form2
F.Text = "xyz"
F.Tag = "abc"
F.StartPosition = FormStartPosition.CenterScreen
F.ShowDialog()
End Using
End Sub)
Best Regards,
Jack
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.