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.

Download VBEval module for VB6

Leave a Reply

Your email address will not be published. Required fields are marked *

Security Code: