Print Page | Close Window

web wiz captcha (latest version) and asp.net vb

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz CAPTCHA
Forum Description: Support forum for the Web Wiz CAPTCHA security image.
URL: https://forums.webwiz.net/forum_posts.asp?TID=27165
Printed Date: 28 March 2026 at 7:16am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: web wiz captcha (latest version) and asp.net vb
Posted By: CMDevelopment
Subject: web wiz captcha (latest version) and asp.net vb
Date Posted: 24 March 2009 at 6:41pm
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?



Replies:
Posted By: WebWiz-Bruce
Date Posted: 25 March 2009 at 7:30am
Web Wiz CAPTCHA is written in classic ASP which is not compatible with ASP.NET.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: CMDevelopment
Date Posted: 25 March 2009 at 12:30pm
why not? everything else ive used thats asp based works in an asp.net environment.....


-------------
CM Development


Posted By: WebWiz-Bruce
Date Posted: 25 March 2009 at 1:18pm
Classic ASP and ASP.NET can both work on the same website, so in that regards yes they are both compatible in the same environment.

However classic ASP and ASP.NET can not work on the same page together and they can not share sessions.

This means that you can not use Web Wiz CAPTCHA which is written in classic ASP with an ASP.NET application. Not without rewriting the entire thing in ASP.NET.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: CMDevelopment
Date Posted: 26 March 2009 at 7:11pm
ah fair enough, is there any plans in the pipeline to write an asp.net version of web wiz captcha as it really is the best captcha solution available. ive got an asp.net captcha class but it does not give the user the ability to set an image control to the picture that is being generated, its really wasteful.

-------------
CM Development


Posted By: WebWiz-Bruce
Date Posted: 27 March 2009 at 7:56am
More than likely one day, but nothing is planned for an ASP.NET version at present.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net