Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

File check or CRC routine, program or DLL required

0 views
Skip to first unread message

Roy Varley

unread,
Jan 14, 2000, 3:00:00 AM1/14/00
to
Does any body know where I can get hold of a file check or CRC check program
or DLL, suitable for running from VFP programs ?

roy varley
r...@smmuk.co.uk

Petr Zaoral

unread,
Jan 14, 2000, 3:00:00 AM1/14/00
to
I have searched for the same, but nothing.

Here is how I check file integrity:

lcText= FileToStr(lcFileName)
lcCRC= sys(2007,lcText)

Petr Zaoral


Roy Varley <r...@merlinvest.co.uk> píąe v diskusním
příspěvku:947843750.25187.0...@news.demon.co.uk...

John Carter

unread,
Jan 14, 2000, 3:00:00 AM1/14/00
to
But don't forget that this ignores anything after the first few thousand
characters. (can't remember how many).

John.

Petr Zaoral <pe...@jasu.cz> wrote in message
news:#$UvjfnX$GA....@cppssbbsa02.microsoft.com...

Ryan Jentzsch

unread,
Jan 14, 2000, 3:00:00 AM1/14/00
to
Hi,

I have used a free COM/ActiveX control called VBCRC from Comet Enterprises.

It's pretty fast and works well with VFP. The only thing I don't like about
it is that there is no progress event. You simply supply the path and file
name of the file and the component returns the true CRC value for the file.

Find the download page for this at:

http://www.iland.net/~jhaase/vbcrc/vbcrcdown.html

Hope this helps,

Ryan Jentzsch
Computer Software Solutions


Petr Zaoral

unread,
Jan 17, 2000, 3:00:00 AM1/17/00
to
Where you find this info? There are no restriction in MSDN Help to this SYS
function.

Petr Zaoral


John Carter <jo...@foxstreet.demon.co.uk> píąe v diskusním
příspěvku:947881431.817.0....@news.demon.co.uk...

John Carter

unread,
Jan 17, 2000, 3:00:00 AM1/17/00
to
Purely by experimentation. I'll attempt to recreate an example an post
back.

John.

Petr Zaoral <pe...@jasu.cz> wrote in message

news:Ow3jK7OY$GA....@cppssbbsa02.microsoft.com...

John Carter

unread,
Jan 17, 2000, 3:00:00 AM1/17/00
to
I tried to reproduce my results - no luck! - I must be mistaken or I hit on
a combintation that does produces duplicates. There are only 2^16 possible
results from this function, however, so I imagine for some applications (not
mine) this wouldn't be good enough (CRCs usually appear to be 32 bits long).

Roy Varley

unread,
Jan 19, 2000, 3:00:00 AM1/19/00
to
I also tried it, and it does seem to work, even if you change one bit at any
point in the file.
Roy

John Carter <jo...@foxstreet.demon.co.uk> wrote in message
news:948140550.17027.0...@news.demon.co.uk...

0 new messages