Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - web wiz captcha (latest version) and asp.net vb
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum Lockedweb wiz captcha (latest version) and asp.net vb

 Post Reply Post Reply
Author
CMDevelopment View Drop Down
Newbie
Newbie


Joined: 15 August 2008
Location: UK
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote CMDevelopment Quote  Post ReplyReply Direct Link To This Post Topic: web wiz captcha (latest version) and asp.net vb
    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?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 25 March 2009 at 7:30am
Web Wiz CAPTCHA is written in classic ASP which is not compatible with ASP.NET.
Back to Top
CMDevelopment View Drop Down
Newbie
Newbie


Joined: 15 August 2008
Location: UK
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote CMDevelopment Quote  Post ReplyReply Direct Link To This Post Posted: 25 March 2009 at 12:30pm
why not? everything else ive used thats asp based works in an asp.net environment.....
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
CMDevelopment View Drop Down
Newbie
Newbie


Joined: 15 August 2008
Location: UK
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote CMDevelopment Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 27 March 2009 at 7:56am
More than likely one day, but nothing is planned for an ASP.NET version at present.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.