Hi all
My code for the server side :

Dim bmp As New Bitmap(My.Computer.Screen.Bounds.Width, My.Computer.Screen.Bounds.Height, Imaging.PixelFormat.Format24bppRgb)
            Dim gfx As Graphics = Graphics.FromImage(bmp)
            gfx.CopyFromScreen(0, 0, 0, 0, My.Computer.Screen.Bounds.Size, CopyPixelOperation.SourceCopy)

And for the client side in the DataArrival event :

On Error Resume Next
        Dim img As Image
        PictureBox1.Image = img

But the picture never come in the picturebox,
Also ivé double checked that the connection is ok,
Help please :confused:

Help please i'm confuzed!

Help please ..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.