Hello ,
I am developing a white board type stand-alone VB .NET application in which
the .EXE application will be installed in two or more different client
machines .
These client machines will interact with each other in the way that during
drawing with mouse using graphics on RichTextBox control used as white board
, whenever the mouse_up event occurs in either client , the whole graphics on
the RichTextBox will be shown on every client machine currently interacting ,
like the way it occurs in “ Talk and Write “ application of “ Skype ” .
Is it possible using web services ?
If yes , then how ?
The second problem is , how to save the graphics after minimizing and
maximizing the window ?
The code I am using for graphics is like the following :-
------------------------------------------------------------------------------------------------
Public Class Testing
Dim a As Integer
Dim b As Integer
Dim pn As New Pen(Color.Blue)
‘rtb is the name of the RichTextBox control
Private Sub rtb_MouseDown(ByVal sender As Object, ByVal e As
System.Windows.Forms.MouseEventArgs) Handles rtb.MouseDown
a = e.X
b = e.Y
End Sub
Private Sub rtb_MouseMove(ByVal sender As Object, ByVal e As
System.Windows.Forms.MouseEventArgs) Handles rtb.MouseMove
If e.Button = Windows.Forms.MouseButtons.Left Then
rtb.CreateGraphics.DrawLine(pn, a, b, e.X, e.Y)
a = e.X
b = e.Y
End If
End Sub
End Class
------------------------------------------------------------------------------------------------
If it is known to anybody , then pls give me the solution .
My emil ID :
mk******@gmail.com
Thanks and regards ,
MK