Link to home
Start Free TrialLog in
Avatar of stevenm
stevenm

asked on

Cbyte returns error

I've got a randomizing function which uses the CByte function to convert a random number based on the number of seconds in the time.

This worked perfectly on my development machine Win2000 (IIS5) but returns a type mismatch error on another web server (NT4, IIS4).

Could this be something to do with the way the server is formatting the time?
ASKER CERTIFIED SOLUTION
Avatar of RBertora
RBertora
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of stevenm
stevenm

ASKER


I thought as much.  Thanks for confirming though, just saved me a bit of time trying to debug.

I've got it working now.