VB2008 Find A Mark In An Image?
Jul 14, 2009Lets say I have opened image on the screen. I want to find coordinates of little object on that picture. I know pixel pattern of that object.
[Code]...
Lets say I have opened image on the screen. I want to find coordinates of little object on that picture. I know pixel pattern of that object.
[Code]...
I'm working on a project that has to do with making a parent mdi form. I'v created the form but I can't set the MdiList property to true cos I can't find it in the property window. For this reason, my windows menu can't list the opened child windows.
View 2 RepliesAs know mid(source, wordstart, wordlength) in VB6 source.substring(wordstart, wordlength) in vb2008 what differebce between both ?i can run it "mid(source, wordstart, wordlength)" at vb 6 with no problem,but i can't run it" source.substring(wordstart, wordlength)" at vb2008 'System.ArgumentOutOfRangeException' happened with System.Windows.Forms.dll
View 4 RepliesI whould like to find the IP address of a game server that sends UDP packets to my PC. Of this server I know the fixed Port number, but not the IP address
I can read the netstat -anp udp data and store them in a text file... but this command don't displais the IP Address and the Port number of the external servers, only lots of asterisks
the question is: how to retrieve this IP address?
find the underlying DataGridView (DGV) when responding to a Right Click on a ToolStripMenu (TSM).I have several DGV's all using the same ContextMenuStrip (CMS) [DGV.ContextMenuStrip=CMS]I have six ToolStripMenuItems under the CMS. I thought I could just add a unique handler for each of the ToolStripMenuItems and be a happy camper on each Right Click...But I cannot figure a way to decode the underlying DGV. There doesn't seem to be any relationships between DGV and TSM and none between CMS and TSM.Is this path a dead end? If so how should one do it? FYI my DGV data is unbounded.
View 7 Replieswith the code
Marshal.GetLastWin32Error
I obtain a number.... but WHERE can I find an exhaustive textual explanation relative to the number?
Is there a way to put a Paint.net image you make onto a form on vb2008? Like using a picturebox?
View 15 RepliesHow to Retrive Image In MC Access database Using VB2008
View 1 RepliesI have a PictureBoxMain on my form. I have 6 buttons. When I click a button, I want the picture box to display an image that relates to the button I've clicked.
Public Class FormPipe1
Private Sub ButtonBranch_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonBranch.Click
[Code]....
Screen and send are both bmps:This is what I've tried so far but it doesn't work
For y = 0 To screen.Height - 1
For x = 0 To screen.Width - 1
If getpixel(screen, x, y) = getpixel(send, 0, 0) Then
[code].....
How do I create a program that finds the position of an image that is contained in another image?
View 1 RepliesI have been trying to make a image recognition function for a program I am making. I am having a hard time getting it to work. It does find the image, but it says pixels don't match after going so far.
The Code below works partially. It will output the program screen as Print.bmp
Will load prizes.bmp
But when it compare the images it exits after half way through like it doesn't match and ouputs test2.bmp as part of the prizes.bmp with a black area in it.
Module ImageFunctions
Public Declare Function PrintWindow Lib "user32" Alias "PrintWindow" (ByVal hwnd As IntPtr, ByVal hDC As IntPtr, ByVal nFlags As UInt32) As Boolean
Sub Print()
[Code].....
I want to know how to find the image size in kb if the image is from a web site?
View 4 RepliesI have dowiloaded vb 2008 express and cannot find the msdn image library. I go to where the intellisense tells me to go and the image folder is empty. Is there a way to download the appropriate library.
View 1 RepliesOk, so I have a webbrowser that loads a flash page, and there is some text there, which I want to compare to another image.
I have checked for server communication and there is none when you press the button.
So I want to know if it's possible to (A) Find an image on the web browser (B) Find RGBs of (x,y)s on the screen and compare them to their values?
It is possible to find the points of a part of image example, do I have a photography of a castle where there is a flag, manage to find where is the flag positioned to runtime?
View 4 Repliesim trying to find a small difference in 2 images and return the x, y of where the difference was found, i have no idea where to start.
View 3 RepliesI'm trying to compare two images to see if bmpComp exists in bmpSrc. At this point in the code, the first pixel of bmpComp matches the first pixel of bmpSrc at (intx, inty).[code]...
View 4 Repliesi wanna make a fun little Program, I just have a few Questions. On How someone would go about this,Okay i wanna scan a picture and look for a box that has for example 3 across and then bottom line also has 3 lines across. Like This
How would i go about finding This Image ? And or Set of pixels I know a couple ways i Could do this, But it would be a Slow Process Anyone have a suggestion. On How i would Code this,Scan the pix look for a black Pixel then scan next to it etc etc then scan the other line, And if it matches then >Do Something < But that would Be alot of coding and and be Slow, Anyone got an Idea on how i would make it easier
Just wondering the best way to find out when an image is clicked on in treeview control
View 3 RepliesIt is very easy to move your cursor to a specific coordinate but my question here is how do you move your cursor to an image? Now what this would involve doing is importing an image so the program understands it, then finding that image on your screen (maybe through RGB colors). How exactly do you do this? What is the procedure?
Say I want to import this image: Now I want the program to find that image on the screen (THE START BUTTON) and then move my cursor on it.
so cursor.position = new point(the image)
I have scanned a map which was in UTM WGS 84 projection system. The scanned map is now in jpg format and loaded into picturebox. If I select a point, how could I know that point's latitude and longitude? How could I integrate a projection system over the image displayed in picturebox?
View 1 RepliesI'm trying to make a program for a school assessment in VB express 2010 using databases. The program essentially has a panel for uploading an image with a name string and an author string, which it then stores in a database. You can then search the database using the name or author string and find pictures that fit the criteria.
View 2 RepliesFinished with my overlay program. Now I want to give users the ability to show their own images. [URL] That is an example of the program. Currently on the right I just have a drop down box with that image tied to a form. I want to have a blank form that allows people to select from files on their own computer to be displayed. Edit: Just realized the print screen didn't work (well, obviously it worked) but it didn't capture my overlay. Will try to take another. Let me know if you have any questions,
View 1 RepliesIs there a way to tell the DISPLAY size of an image in a picture box? If the PictureBox.SizeMode=Zoom, the picture sometimes is not displayed as big as the picture box is, and is sometimes displayed smaller, or larger, than the actual image is. I just want to know what size it is actually displaying as.
View 3 Replieswhere can i find a jpeg image with adaptive binary arithmetic coding?if you have a image of that, please sent it to me.
View 5 RepliesI have a string which consists of the raw HTML of a webpage. I would like to search for the first use of /imgres?imgurl= within the string and display the url of an image which follows exactly after it in a text box. Below is an example of part of the string: [URL]..In this case it would find /imgres?imgurl= then it would display [URL]...
View 2 RepliesI have a POCO object and I want to mark a property as a key (see TestClass below).I'm getting the following error. 'Key' cannot be used as an attribute because it is not a class. C:UserszzzDocumentsVisual Studio 2010ProjectszzzzzzBOTestClass.vb
[Code]...
I want to use a value that is pulled from the SQL within the if statement. Ideally i want to do the equivalent of <% If DataBinder.Eval(Container, "DataItem.BookID") == 1 Then%> Is there a way to do this with the correct syntax?
View 2 RepliesThe numbers that get displayed are beyond the 2000. How do I write the code to only display numbers up to 2000.
Sub Main()
Dim iNum1 As Integer
Dim iNum2 As Integer
[code]......