[TuToRiAl] How to make Offline (No Internet) Captcha (Human Confirmation) [TuToRiAl] - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: Visual Basic and the .NET Framework (https://www.supportforums.net/forumdisplay.php?fid=19) +---- Thread: [TuToRiAl] How to make Offline (No Internet) Captcha (Human Confirmation) [TuToRiAl] (/showthread.php?tid=13508) |
[TuToRiAl] How to make Offline (No Internet) Captcha (Human Confirmation) [TuToRiAl] - Resistance - 11-06-2010 A CAPTCHA or Captcha (pronounced /ˈkæptʃə/) is a type of challenge-response test used in computing to ensure that the response is not generated by a computer. The process usually involves one computer (a server) -- WOW, WOW, WOW. A SERVER??? |||||| asking a user to complete a simple test which the computer is able to generate and grade.
Lets proceed. First open a form up, and have the following created:Welcome to my tutorial on how to generate Captcha without using pictures, internet connection or anything external that the application has to access; as long as you get a human response? Correct? I believe so. Today I will show you a nice feature that almost every computer can do in the world, generate a random number!... -.-' We will be using that method in our captcha, and the best part about offline captcha in a VB form my way, is that there is NO need to refresh it for the following reasons:
_____________________________________________
1. Now Open up VB6, VB8, VB9, VB10 or whatever... 2. Select new project, WindowsApplication... 3. Name it whatever you want, etc... 4. Add the following above. And now for the pre-step. 5. Each Button should be named, Generate New Captcha Offline, Submit New Captcha Offline, and Exit Captcha Offline. 6. One of Each textbox should have the following values: >Enter Captcha Number Here<, 999999999, and Nothing as in Blank. Make the Blank one big and obvious so they know what to enter as Captcha. --- Now for the Code. PublicClass + Form1_Load: Code: Public Class Form1 Generate New Captcha Button Code: Code: Dim Random As New Random Submit Captcha Button Code: Code: If TextBox3.Text = TextBox1.Text Then Exit Captcha Button Code: Code: End Captcha Input TextBox (Where you put the captcha): Code: Dim theText As String = TextBox3.Text Captcha Input TextBox (Auto Submit Captcha on Enter Key): Code: Private Sub TextBox3_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox2.KeyDown In the end, it should look somewhat like this: FINALIZED RESULTS!!! Download the Application as an Example Enjoy and don't forget to say thanks... Your all very welcome in advanced! For: ѕмии™, he gave me an idea by posting his tutorial! RE: [TuToRiAl] How to make Offline (No Internet) Captcha (Human Confirmation) [TuToRiAl] - Sam - 11-06-2010 A very nice share, thank you. I've never even thought about this type of program, very useful. RE: [TuToRiAl] How to make Offline (No Internet) Captcha (Human Confirmation) [TuToRiAl] - Shane - 11-07-2010 You were right this is Nice Can I use this and add a dew changes I will give Credits Can we have a download for the Source over it did not work for me? RE: [TuToRiAl] How to make Offline (No Internet) Captcha (Human Confirmation) [TuToRiAl] - Arеs - 11-07-2010 Well this is a really nice thread and a really nice tutorial L3g1tWa5te, great share. I will also be trying this. - Thanks! @ ѕмии™ What the? You need the source, why don't you just follow the tutorial, it has the code there or your just trying to get 100 posts or spamming? RE: [TuToRiAl] How to make Offline (No Internet) Captcha (Human Confirmation) [TuToRiAl] - Resistance - 11-07-2010 (11-07-2010, 03:03 AM)ѕмии™ Wrote: You were right this is Nice Umm... that was the source right there... Here is the whole code for form 1, right below: Code: Public Class Form1 RE: [TuToRiAl] How to make Offline (No Internet) Captcha (Human Confirmation) [TuToRiAl] - SlimDeath - 11-14-2010 Nice tutorial mate. I didn't knew this,however i'll add this to my tut collection. Thanks in advance. RE: [TuToRiAl] How to make Offline (No Internet) Captcha (Human Confirmation) [TuToRiAl] - ~AUB - 11-15-2010 watta easy tutorial! thanks mate. RE: [TuToRiAl] How to make Offline (No Internet) Captcha (Human Confirmation) [TuToRiAl] - versx - 12-01-2010 Very nice tutorial, this should be useful. Thanks for sharing. RE: [TuToRiAl] How to make Offline (No Internet) Captcha (Human Confirmation) [TuToRiAl] - Chimi - 12-06-2010 Looks pretty good, nice share. RE: [TuToRiAl] How to make Offline (No Internet) Captcha (Human Confirmation) [TuToRiAl] - Bursihido - 12-12-2010 Thanks for tutorial |