CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Application to generate checksums

Print topic Send  topic

Author Message
marcwolf


Posts: 361
Posted: 02/01/2006, 5:36 PM

Hi Peterr and anyone else.

I am looking at modifying the Datepicker to handle times and also to have a 'Clear' button to return a blank fields.

I need the last as on several pages I only allow the user to enter the date via the date picker and need a way to reset the field to 'empty'

Now - because the Datepicker.JS is encapsulated with a checksum, any changes I make will instantly invalidate all of the javascript code to codecharge, and this means that the locale stuff will no work.

If there a way that I can regenerate the checksum flag at the top so that the page then becomes valid in CCS's eyes

If there is a application that I can use to create this?

Many thanks

Dave
_________________
' Coding Coding Coding
Keep Those Keyboards Coding.
Raw Code!!!!!!!
View profile  Send private message
Walter Kempees
Posted: 02/02/2006, 3:27 AM

interesting, interested in the reuslt.

"marcwolf" <marcwolf@forum.codecharge> schreef in bericht
news:243e162037b7ef@news.codecharge.com...
> Hi Peterr and anyone else.
>
> I am looking at modifying the Datepicker to handle times and also to have
> a
> 'Clear' button to return a blank fields.
>
> I need the last as on several pages I only allow the user to enter the
> date via
> the date picker and need a way to reset the field to 'empty'
>
> Now - because the Datepicker.JS is encapsulated with a checksum, any
> changes I
> make will instantly invalidate all of the javascript code to codecharge,
> and
> this means that the locale stuff will no work.
>
> If there a way that I can regenerate the checksum flag at the top so that
> the
> page then becomes valid in CCS's eyes
>
> If there is a application that I can use to create this?
>
> Many thanks
>
> Dave
> _________________
> ' Coding Coding Coding
> Keep Those Keyboards Coding.
> Raw Code!!!!!!!
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

adgreen

Posts: 27
Posted: 02/02/2006, 8:04 AM

I whipped a quick util (in VB) last year to do just that.

Note that now I just let CCS do it's own thing with it's generated code, and I use trickery to "override" it's sometimes not-quite-so-perfect code. With javascript, that's particularly easy...
Anyway - you may download the util from here:

http://users.bigpond.net.au/adgreen/QuickCRC_4CCS.zip

It's quick and has no error handling, so... usual disclaimer.

Just select all the code between the checksum "wrappers" and paste it in. You'll get your checksum. Note that CCS will, now that the block is "valid" will happily overwrite your changes, so this approach may not actually work for you. Try it out...

Adrian.

Quote marcwolf:
...
If there a way that I can regenerate the checksum flag at the top so that the page then becomes valid in CCS's eyes

If there is a application that I can use to create this?

...
View profile  Send private message
adgreen

Posts: 27
Posted: 02/02/2006, 8:29 AM

Oh yeah, for those of you that care, the checksum is simply computed by removing all whitespace from the code (you can use a regexp) and then calculating a CRC32 (hex) on the result.

The util can be run as as cmdline eg: "QuickCRC_4CCS.exe /clip" and it will process the current clipboard, and write the resulting checksum back to the clipboard.

Again, i don't recommend trying to "trick" CCS this way - it's better to try and override it's code (if possible). Overriding javascript and vbscript is straightforward at least.

Adrian.

Quote adgreen:
I whipped a quick util (in VB) last year to do just that.
...
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.