Solved

Image1 much with Image2 ? (Urgent Help)

Posted on 2008-09-29
4
304 Views
Last Modified: 2010-04-30
Hi, i have been searching for long time and i didnt find anything that can help me to do this, what i want to do is to find a way to check if the image1 much with the image2. Any suggestions,tips or even solution to my question will be very appriciated. If you didnt understand something please feel free to ask me.
0
Comment
Question by:KingSencat
  • 2
4 Comments
 
LVL 13

Expert Comment

by:TechTiger007
ID: 22599390
I understand that you want to compare two images when you say image1 much with the image2 (a match). If that is what you are looking for then I dont think you have any inbuilt support in VB to do this. You can look for some third party image processing tools. But if you are checking if two files are exactly same then probably you can open the files and compare bytes.
0
 
LVL 10

Accepted Solution

by:
c0ldfyr3 earned 500 total points
ID: 22601645
0
 
LVL 10

Expert Comment

by:c0ldfyr3
ID: 22601649
0
 

Expert Comment

by:Hipposaver
ID: 22604023
something like

dim bPic as byte

dim bPic1 as byte

Open Picture1FilePath For Binary As #1

Open Picture2FilePath for Binary as #2

if lof(1) = lof(2) then

for x = 1 to lof(1)

get 1,x,bPic

get 2,x,bPic1

if bPic <> bPic1 then

msgbox "not the same"

exit for

end if

next

else

msgbox "not the same"

end if

Open in new window

0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now