VS 2008 - Scan Whole Screen For Hex Color?
Sep 13, 2009How would I make a program that can "Scan" my screen for a hex color? I want the program to scan for a hex and then move my mouse there.
View 2 RepliesHow would I make a program that can "Scan" my screen for a hex color? I want the program to scan for a hex and then move my mouse there.
View 2 RepliesA way to scan to whole screen, and find a specific color on it - and after that move the mouse over the color.
This is what i would like the process like, so you guys can have a better idea:
1. A timer that scans the whole screen after a specific color every 5 seconds.
2. When the color appear on the screen, it'll move the mouse to the x, y.
3. After that I'll run some code (i'll hopefully find out of that myself)
I actually don't care how the color should be found. If it's a RGB it will be 255, 209, 102 it should look after. Or maybe it could scan the screen after a matching bitmap. And it's not just 1 pixel I want to find the color of, it's the whole screen I'll like to have scanned for the color, and if the color is found - the program should react.
I'm trying to search a picture from a color or a color close to the original color and then mark it in the picture if it is in the picture. How can I do this?
View 13 RepliesThe purpose of the code below is to scan a program of mine to detect a pixel color change. It loops through until a change is detected. It works fine for about 10-15 seconds and then I get an ArgumentException was unhandled error. So far this has happened on two different lines at separate times...
Image = New Bitmap(Rec.Right - Rec.Left, Rec.Bottom - Rec.Top)
Is there a code in which the software scans the screen and point a specified color out of that scan and mark it.
View 1 RepliesI'm trying to make something that will hunt down colors on the whole screen and click them every xxx secs.. here is what i have so far..
[Code]...
What I want to do is get the color of a position on the screen. I'd rather not capture the whole screen if I don't have to, just one pixel's color. I was trying to use GetPixel(ByVal hDC As IntPtr, ByVal x As Integer, ByVal y As Integer) As Integer, but I can't figure out how to get the handle to the screen.
View 5 Repliesfor example:
im viewing a web page, and it changed to blue...(bg color was white)
is it possible for vb to monitor this?
I'm trying to figure out how I would find the color of a pixle.
Say I wanted to find RGB(255, 255, 0) and get the X, Y, position of it, how would I do that?
I was thinking of a loop with BMP.GetPixel, but I wouldn't know how to check. It's not compatable with RGB.[code]...
Is there a way to get the color at a certain mouse position in the active window? I remember doing it with AutoIt Script, but I can't find any references for it in vb?
View 6 RepliesI searched all over the internet and i haven't found anything about getting the color of a specified pixel like 150;200
View 4 RepliesI need help to find pixel color anywhere on the screen by coordinates (for example pixel 377, 496).
View 7 RepliesHow To Find Screen Pixel Of Choosen Color?
View 13 Replieshow I can scan a image I loaded in my picture box for a certain pixel (say red)
View 4 Repliesin vb.net i would like to change the hue and saturation and darkness of the screen without using a form.
for example these two colors change the color of the screen directly (however i doubt they were programmed in vb.net)
[URL]
I'm designing a player application to accompany our phone system. As our calltakers take calls, it makes recordings of each call. They can go to a list module, find a recording and double click, which opens my player. The issue i have is that if the calltaker gets another call, my player doesn't know it and will continue playing. I'm looking for a way to monitor the screen in a particular area and when it sees yellow or red instead of blue, it will pause my player.
The phone system does not have any API's that I can hook onto, so I have to try it another way.
The screen resolution never changes and the queue buttons where they receive calls will always be static. When they get a call, a small area changes from the background color blue to yellow or red to indicate a call.
**EDIT Final Code based on answers below and question Memory Leak using GetPixel/GetDC in Visual Basic
Private Function CheckforCall()
Dim hDC As IntPtr = GetDC(0)
Try
[Code].....
I have this code to scan my folder and list the files in a listbox:
[Code]....
Is there an option to exclude one path inside the "LOCAL"? Like scan and list everything but "F:FamilyPictures", "F:FamilyTexts"...
The program that I am creating needs to click on an image in a web browser. I have saved a bmp of the image and was wondering if there was a way that I could scan for the image in the webbrowser, and once found send a silent mouse click. Silent in the fact that it doesn't move the mouse. And I would normally use invokemember but the button is an image, not a "button". So I need to scan for it.
View 4 RepliesI was trying to play a bit with bluetooth devices but i can't find that much info about it. I'd like to build some sort of program that allowed me to send messages into bluetooth enabled cellphones. The idea was to send messages with tasks/events inside the building. This software would be part of other software such as ERPs or agendas.
View 4 RepliesI've tried adding a splash screen ]...to one of my applications and after exploring a while I somehow managed to get it working what bugs me now is that my splash screen is in fact a image inside a picture box and the form always shows the control color behind so what I tried is adding the form color to the transparency key this worked, somehow now, I use a png image that has some transparent effect also what I've noticed is that where I would want to show the transparent effect from the image the transparent color that is set in the forum shows below is the image to get my point of view:
I'm wondering if I can remove that "pink" color (set by me in the forum) from the image .I want to get a effect like the one Adobe products have for example
I am currently writing an application, where the user clicks a button, it scans for empty folders and then puts them in a listbox.The user can then then select the folders in the listbox and click delete. how to i get the scan button to find the empty folders?
View 6 RepliesWe have become disenfranchised with our med records scanning package and are doing in house development to create our own. With most of the interface built out, the monster of calling the Fujitsu Twain driver and pre-setting scan options is what I am looking for. Fujitsu does not have an SDK available on their web for this.
[Code]...
i have a scanner set up which scans .bin and .iso files and returns the crc32 checksums (then displays various info based of that etc)
Im looking into adding support for .rar and .zip files, so the end user wont have to extract there files to scan them, how ever that adds to many variable for the crc32's based of what each persons compression is etc. So what about scanning the file inside of the rar/zip file.
So would it be possible to scan a rar or zip file, and get the crc32 of the .iso/.bin located within that archive?
I need to create an on-screen shape (circle) that has a fill color, which will blink every X seconds (go from fill color, to white, back to fill color). This is trivial to do...BUT... i want to do it in my own class, so that I can instantiate it numerous times passing it unique coordinates for each instantiation.
How do I do it? Can a class have its own "timer control" in it independent from the form? How would I draw a shape from a class?
I'm trying to figure out some simple code to detect when a pixel changes color anywhere on the screen. Maybe with just a msgbox popup when it changes.
View 2 RepliesVisual Studio 2008 (vb.net)I made simple anivirus but when I make Full scan by this code:
FolderBrowserDialog1.SelectedPath = ("C:")
'first scan:************************************
Try
[code]....
I've made a video player, that can play almost all popular video formats. But the problem is that I want to add a pan & scan effect to the end user, also if possible a overscan effect also. I'm using MSVidCtl to view and then MSVidFilePlaybackDevice to play and control the file, I've searched the net a lot but found nothing helpful especially in VB.NET, I can use managed DirectX directxaudiovideoplayback.video but the same problem exists, can't find a way to add these pan & scan, zoom in and overscan effects.
View 2 Repliesis their a way for me to call my scanner to scan my files inside vb.net?
View 1 RepliesAlright inside of a combo box I have a list of colors and I want to change the background color of the combo box to the selected color...basically this... but im not sure what the problem is here anyone have some advice or is this not possible?
CBLinerColor.BackColor() = CBLinerColor.Items.Item(0)
Basically i want dynamic code that will change the color depending on the items in the box.
I want the background of my form to be the same color as the window frame color that the user selects, even if that changes. I selected System->WindowFrame as my background color, but it always remains a dark grey, regardless of what I have my window color set to. How else would I achieve what I want? I assumed I was doing it the correct way. Do I actually need code that gets the system window color and then apply it?
View 4 Replies