Page 1 of 1

Image Recognition from Resources

Posted: Wed Jul 22, 2009 12:49 pm
by atom
Hiya,

Am looking for a code example for the following situation
I have added an image (.bmp) to my projects resources (embedded)
I would now like to take the image from the resources, and use Ranorex to find it on a Form and click on it

Would I have to save the image as an external file first?

Thanks

Re: Image Recognition from Resources

Posted: Wed Jul 22, 2009 1:17 pm
by Support Team
Hello Atom,

in this document you can find out how to find and click an image:
http://www.ranorex.com/support/user-gui ... ition.html
Would I have to save the image as an external file first?
This question is not about Ranorex but there are many methods to save and load image from resource file.Here some links:
http://msdn.microsoft.com/en-us/library ... S.71).aspx
http://www.java2s.com/Code/CSharp/Devel ... cefile.htm


regards,
Mhosen
Ranorex Support Team

Re: Image Recognition from Resources

Posted: Wed Jul 22, 2009 1:50 pm
by atom
thanks!