Hi Dean,
Thanks for posting in the community.
First of all, I would like to confirm my understanding of your issue.
From your description, I understand that you wants to display the owned
form at a predetermined spot on the screen.
Have I fully understood you? If there is anything I misunderstood, please
feel free to let me know.
Here I write some code for you, if you have concern on this issue, please
post here.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim fm As New Form2
fm.StartPosition = FormStartPosition.Manual
fm.Owner = Me
fm.Top = Me.Top + Int32.Parse(TextBox1.Text)
fm.Left = Me.Left + Int32.Parse(TextBox2.Text)
fm.Show()
End Sub
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.