ok i want a program to send a screenshot of the desktop to a other computer within my network, i can astablish the connection get the screenshot and can send it.. but at arival it fails to work

i used this to send the picture :

VB Code:
  1. Private Sub Command2_Click()
  2.  Winsock1.SendData Picture1.Picture
  3. End Sub


and to recieve it i use:
VB Code:
  1. Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long)
  2.  Dim strBuff As String
  3.    Winsock1.GetData strBuff, vbString
  4.    Picture1.Picture = strBuff
  5. End Sub

but i gives this error : Compile error: Type mismatch