i am trying to use captch with an asp.net vb page and it is returning the following error:
Compilation Error
Description: An
error occurred during the compilation of a resource required to service
this request. Please review the following specific error details and
modify your source code appropriately.
Compiler Error Message: BC30188: Declaration expected.
Source Error:
|
Line 41: Line 42: 'Background Colour Line 43: strCanvasColour = "FFFFFF" Line 44: Line 45: 'Border Colour
|
Source File:
C:\Documents and Settings\Wacko.CMDEV\My Documents\Visual Studio
2008\Projects\View-My-CCTV\View-My-CCTV\CAPTCHA\CAPTCHA_configuration.asp
Line: 43
From The Source Code:
Line 4: 'Initialise variables
Line 5: Public blnCAPTCHAabout as boolean
Line 6: Public strDisplayLicense as boolean
Line 7: Public strLicense as boolean
Line 8: Public strCanvasColour as string, strBorderColour as string, strCharacterColour as string
Line 9: Public blnRandomLinePlacement as boolean, blnSkewing as boolean
Line 10: Public intNoiseLevel1 as integer, strNoiseColour1 as integer, intNoiseLevel2 as integer, strNoiseColour2 as integer
Line 11: Public intNoiseLines1 as integer, strNoiseLinesColour1 as integer, intNoiseLines2 as integer, strNoiseLinesColour2 as integer
Line 12:
Line 13:
Line 14:
Line 15: '***** Change this if to False if you do NOT want the CAPTCHA code to be case sensitive *****
Line 16: public Const blnCAPTCHAcaseSensitive as boolean = False
Line 17:
Line 18:
Line 19:
Line 20: '***** This is the name of the page you want users redirected to if CAPTCHA is entered incorrectly *****
Line 21: 'Place the page to be redirected to between the quote marks below
Line 22: Const strIncorrectCAPTCHApage as string = ""
Line 23:
Line 24:
Line 25:
Line 26: '***** Change this if you wish to change the displayed text text *****
Line 27: Const strTxtLoadNewCode as string = "Load New Code"
Line 28: Const strTxtCodeEnteredIncorrectly as string = "The security code entered was incorrect.<br /><a href=""javascript:history.go(-1)"">Please go back and resubmit the form</a>"
Line 29:
Any Help?