In VB6 most of the trig functions need to be derived by you in code from basics. The native functions are sin(), cos(), tan() and atn().
All the others are derived from those. There is a full list of derived trig functions in VBHelp, under 'Derived Math Functions'
Pi can be evauated as 4 * Atn(1)
Don't forget that all trig functions in VB use radians not degrees.
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?'