<system.web> <httpHandlers> <add verb="GET" path="CaptchaImage.axd" type="MSCaptcha.captchaImageHandler, MSCaptcha" /> </httpHandlers> </system.web>
<%@ Register Assembly="CaptchaControName" Namespace="CaptchaControNamespace" TagPrefix="CaptchaControTabPrefix" %>
<CaptchaTabPrefix:CaptchaControlName ID="CaptchaControlID" runat="server" ... />
Protected Sub btnValidation_Click(ByVal sender As Object, ByVal e As System.EventArgs) CaptchaControlID.CaptchaControValidationFunctionName(txtCaptcha.Text.Trim()) If Then lblMessage.Text = "Correct" Else lblMessage.Text = "Wrong" End If End Sub