Sign in to follow this  
Followers 0
BrandonH

imagesearch using VB.NET

3 posts in this topic

I am trying to make image search program using VB.Net with autoit imagesearch.dll. 

I am trying to add tolerance value and transparency value. 

I know how to add tolerance value and transparency value in autohotkey or autoit, but I don't know how to add tolerance and transparency value on VB.Net

Here is examples:

autoit code:

$result=_ImageSearch($findImage[$i],$resultPosition,$x, $y,$tolerance,$transparency)
 
autohotkey code:
ImageSearch, reX, reY, 440,90,530,340,*transBlack *50 %A_Temp%\pathnclear.bmp ;
 
vb.net code (without tolerance, transparency value):
Dim Temp As IntPtr = ImageSearch(0, 0, Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height, patch + "\images\" + filePatch)
 
can someone teach me how to add tolerance and transparency value????
 
Please.
 

Share this post


Link to post
Share on other sites



This question is not AutoIt related but VB.Net related so i think is better to asking in a VB.Net forum if someone wrapped the functioncalls of the ImageSearch.dll or someone is willing to this for you.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0