Click here to Skip to main content
15,906,625 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hello friends,

i have a registration form in which i have captcha field and i want to fill the textbox with thee string shown in captcha image on button click..

any suggession will be very helpful...
Posted
Comments
debkumar@codeproject 2-Jun-13 0:20am    
That needs image processing. If that was easy, there would have been automated tools which could be used for cracking captcha. Once that is done, people would use automated tools to create thousands of accounts or download same thing thousands of times using the tool which may lead to denial of service.

1 solution

well u can't directly make asp.net to read string from image thats impossible!!!
But say you have one captcha images u can store its values in string by writing:
string sdr= "2345";


and then validate that
void btn1_click()
{
if (textbox.text!= sdr)
{
//write error code
}
}


For better info visit
How to use Captcha

Its simple :)
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900