I am attempting to get the color of a pixel, to use in my vb app, from another application running in a window. (example get the color at x,y in winamp)

I understand that I need to get the handle of the window. Then use GetPixel to retrieve the color of the pixel (to a type long variable). Finally convert that variable into either a color variable or RGB values.

I have searched this forum and 2 others up and down. I have found many examples that are close but havent been able to piece this functionality together.

Thank you,
Toucan