Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 18th, 2012, 09:38 AM
Douglas Quaid Douglas Quaid is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2007
Posts: 33 Douglas Quaid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 h 57 m 28 sec
Reputation Power: 6
Get pixel color using screen coordinates

Hello,
I need to get the color of a pixel on the screen. I know the exact coordinates of the pixel on the screen but I can't seem to get GetPixel to work either in VB or the API. It seems that I am going to have to save a screenshot as an image and look at that, but that is really problematic because the IT people have us all on a virtual desktop and people don't have access to a C: drive, plus everyone has different drive letters; it's a real mess.

Can anyone think of a way around this?

Any help is greatly appreciated.

Reply With Quote
  #2  
Old July 20th, 2012, 10:50 AM
medialint's Avatar
medialint medialint is offline
Type Cast Exception
Dev Shed God 20th Plane (14500 - 14999 posts)
 
Join Date: Apr 2004
Location: OAKLAND CA | Adam's Point (Fairyland)
Posts: 14,939 medialint User rank is General 112nd Grade (Above 100000 Reputation Level)medialint User rank is General 112nd Grade (Above 100000 Reputation Level)medialint User rank is General 112nd Grade (Above 100000 Reputation Level)medialint User rank is General 112nd Grade (Above 100000 Reputation Level)medialint User rank is General 112nd Grade (Above 100000 Reputation Level)medialint User rank is General 112nd Grade (Above 100000 Reputation Level)medialint User rank is General 112nd Grade (Above 100000 Reputation Level)medialint User rank is General 112nd Grade (Above 100000 Reputation Level)medialint User rank is General 112nd Grade (Above 100000 Reputation Level)medialint User rank is General 112nd Grade (Above 100000 Reputation Level)medialint User rank is General 112nd Grade (Above 100000 Reputation Level)medialint User rank is General 112nd Grade (Above 100000 Reputation Level)medialint User rank is General 112nd Grade (Above 100000 Reputation Level)medialint User rank is General 112nd Grade (Above 100000 Reputation Level)medialint User rank is General 112nd Grade (Above 100000 Reputation Level)medialint User rank is General 112nd Grade (Above 100000 Reputation Level)  Folding Points: 319635 Folding Title: Super Ultimate Folder - Level 1Folding Points: 319635 Folding Title: Super Ultimate Folder - Level 1Folding Points: 319635 Folding Title: Super Ultimate Folder - Level 1Folding Points: 319635 Folding Title: Super Ultimate Folder - Level 1Folding Points: 319635 Folding Title: Super Ultimate Folder - Level 1Folding Points: 319635 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 6 Months 2 Weeks 2 Days 1 h 38 m 6 sec
Reputation Power: 8490
Facebook
I wonder if the fact that it is a virtual desktop is affecting the API. It has been a few years but API used to work for me for this (whatever hack Dan Appleman had in his bible). Besides just the virtual machine, if there is any additional security burdenware which prevents screen captures this would affect your app. (This is pure speculation on my part mind you ..)
__________________
medialint.com

“Today you are You, that is truer than true. There is no one alive who is Youer than You.” - Dr. Seuss

Reply With Quote
  #3  
Old July 20th, 2012, 12:11 PM
Douglas Quaid Douglas Quaid is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2007
Posts: 33 Douglas Quaid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 h 57 m 28 sec
Reputation Power: 6
Quote:
Originally Posted by medialint
I wonder if the fact that it is a virtual desktop is affecting the API. It has been a few years but API used to work for me for this (whatever hack Dan Appleman had in his bible). Besides just the virtual machine, if there is any additional security burdenware which prevents screen captures this would affect your app. (This is pure speculation on my part mind you ..)


Thanks for the reply medialint. I don't think there is any burdenware preventing a screen capture; I have Print Key and it works just fine.

Is there a way to use the API to GetPixel without a screen capture?

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > Get pixel color using screen coordinates

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap