jack niekerk
asked on
ADDING A CHECKSUM TO A VB6 ACTIVEX MODULE AND CHECK AT PROGRAM START IF STILL VALID CHECKSUM
I use a activex module to control the comport connected to a scale and a scanner.
By Dutch law it must be impossible for a user to change the activex module in any way, so that after the tested it, they can control later on
if the software version is different then the one they tested.
How to add a checksum to the Activex and then when starting the program wich uses it, check for valid checksum, so I can abort if changed
By Dutch law it must be impossible for a user to change the activex module in any way, so that after the tested it, they can control later on
if the software version is different then the one they tested.
How to add a checksum to the Activex and then when starting the program wich uses it, check for valid checksum, so I can abort if changed
ASKER
I took a look at this link, I believe it will do what I need, but far above my level of understandimg without some source code sample how to use this while/after compiling the ocx file, and when starting my vb program how to check if still ok.
But thanks for time anyway
But thanks for time anyway
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
just plain copy this to start with in a new project, i got error at start run
Constants,fixed-length strings, arrays, user-defined types and Declare statements not allowed as Public members of object modules
Constants,fixed-length strings, arrays, user-defined types and Declare statements not allowed as Public members of object modules
You've put it into a Module, yes? Not a Form, and you're using VB6?
ASKER
oops!, no i did form will retry, thanks
http://msdn.microsoft.com/en-us/library/ms680355(VS.85).aspx