VBEvaluate (code)
This is an evaluation function for VB6. This allows you to simply call up a function to return the evaluated value of a string eg. “32/45+45”. It honors order of operation, logical operands and brackets. This is good for things like textboxes that accept numerical input. This was originally written for PowerBasic but I transferred it over to VB6.