Support Forums
[Help]Connecting Form Windows - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18)
+---- Forum: Visual Basic and the .NET Framework (https://www.supportforums.net/forumdisplay.php?fid=19)
+---- Thread: [Help]Connecting Form Windows (/showthread.php?tid=18505)



[Help]Connecting Form Windows - milopeach - 05-04-2011

As many of you know, Teamviewer opens up with 2 windows, both connected to each other or atleast have the ability to snap together when moved close to one another.

How does one acheive this in VB.NET?

Thanks.


RE: [Help]Connecting Form Windows - Nympho - 05-04-2011

Take a look on it. http://www.codeproject.com/KB/cs/RemoteDesktop_CSharpNET.aspx
Or this. http://www.codeproject.com/KB/vb/mstscui_net.aspx

Those aren't exactly what are you searching for, but might help you.

Greetings.


RE: [Help]Connecting Form Windows - iCrack - 05-04-2011

Not sure how to do that but it sounds interesting thing to code...



RE: [Help]Connecting Form Windows - KoBE - 05-04-2011

(05-04-2011, 05:08 AM)Nympho Wrote: Take a look on it. http://www.codeproject.com/KB/cs/RemoteDesktop_CSharpNET.aspx
Or this. http://www.codeproject.com/KB/vb/mstscui_net.aspx

Those aren't exactly what are you searching for, but might help you.

Greetings.

Good links. But I believe he was talking about two forms moving concurrently.


Try this out:
Code:
.
    Private Sub Form1_Move(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Move
        Form2.Left = Me.Left + Me.Width
        Form2.Top = Me.Top
    End Sub