Re: detecting a pixels color
Fairly simple:
- Use FindWindow() to get the handle of the web browser;
- Use FindWindowEx() to get the handle of the webpage rendering control (depends on the browser);
- GetDC() to get a handle to the DC of the control;
- GetPixel() to get the pixel colour;
- ReleaseDC to release the DC handle.
I don't know where you're gonna find VB6 these days though, good luck.
Re: detecting a pixels color
You can find VB6 almost everywhere, Ebay even and it might be cheaper at auctions then in the store. (Though I'm not sure MS EULA actually allows selling of owned products due to sharing of keys)
Anyway; What penagate says is the fastest way, the findwindow functions might not be necessary if it's a foregroundwindow (you can get the handle for that).