Click here to Skip to main content
15,893,508 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi to all,
I am making an application,
I have recaptcha control in my application


I want to implement the functionality that if user clicks on a button on the form the image of recaptcha will read on text box

ie if image is 9FBR

then on clicking the button the textbox should shows 9FBR

Its ok if its not 100% accurate

How can i accomplish this???
Posted
Comments
Monjurul Habib 4-Jul-11 9:42am    
Need more clarification.

 
Share this answer
 
v2
Comments
Monjurul Habib 4-Jul-11 9:41am    
nice links, my 5.
You didnt mention what is your exact problem, anyway you can follow the link.
Custom reCaptcha Validation[^]
For further help please let me know.
 
Share this answer
 
Comments
Syed Salman Raza Zaidi 4-Jul-11 16:48pm    
I have a recaptcha control and a Button server control on my ASPX page,i want that if user clicks on that button,the image's text of recaptcha will print on the form ,what should i use in button's click event??

Response.Write("What should i write here??")

As in simple captcha i can use Captcha.Text

but how can i do this in recaptcha???
Monjurul Habib 4-Jul-11 17:14pm    
did you try anything ??
Syed Salman Raza Zaidi 5-Jul-11 1:05am    
I am unable to find any property/method of recaptcha to get image text
Monjurul Habib 5-Jul-11 4:49am    
please share what you tried..
Syed Salman Raza Zaidi 5-Jul-11 7:19am    
MODI.Document md = new MODI.Document();
md.Create(Convert.ToString(Image name goes here));
md.OCR(MODI.MiLANGUAGES.miLANG_ENGLISH, true, true);//In case of recaptcha this lines is throwing exception
MODI.Image image = (MODI.Image)md.Images[0];
lbl1.Text= image.Layout.Text.Trim();

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