Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. whojoedaddy

    LoadImage then SelectObject doesn't give correct GetPixel values.

    I'm an idiot. Turns out I was using a hardcoded value of GetPixel instead of the dynamic parameter.
  2. whojoedaddy

    LoadImage then SelectObject doesn't give correct GetPixel values.

    Hi All, the simple code below doesn't seem to work. I'm trying to load a bitmap into a HDC and then check the pixel values in the HDC. It seem no matter where I do GetPixel it always comes back with 255. The image has varying colors, none of them 255, 255, 255. Any thoughts? I am not trying to...
  3. whojoedaddy

    Simplify SQL Query

    That's the way the database was created. Unfortunately I can't modify the table, I can only update/insert data into it.
  4. whojoedaddy

    Simplify SQL Query

    Hi, I have a sql query, but it seems rather long. Is there an easier way to do this? update HISTORY set HS_CHANGER = 'bes' where HS_CHANGE_DATE = (select MAX(HS_CHANGE_DATE) from HISTORY where HS_KEY = 138) and HS_CHANGE_TIME = (select MAX(HS_CHANGE_TIME) from HISTORY where HS_KEY = 138 and...

Part and Inventory Search

Back
Top