471,338 Members | 1,295 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,338 software developers and data experts.

Math expression validator, not evaluator??

Hi everyone,
I am developing a WinForms application and I need a Math Expression
validator, not an expression evaluator. So I want to be able to say...

if ((sales - tax) > 20)
THEN (x * y * 0.55)

without knowing at runtime what the values of sales, tax, x and y are. These
values will be filled when this validated rule is fetched from where it has
been stored. Is there any software out there that will do this validation for
me?

Thanks in advance

Jul 21 '05 #1
1 1225
What is the overall goal ?

AFAIK you can add scripting capabilites to an application. Try :
http://msdn.microsoft.com/library/de...ml/vb04j10.asp

Patrice

--

"Faraz" <Fa***@discussions.microsoft.com> a écrit dans le message de
news:56**********************************@microsof t.com...
Hi everyone,
I am developing a WinForms application and I need a Math Expression
validator, not an expression evaluator. So I want to be able to say...

if ((sales - tax) > 20)
THEN (x * y * 0.55)

without knowing at runtime what the values of sales, tax, x and y are. These values will be filled when this validated rule is fetched from where it has been stored. Is there any software out there that will do this validation for me?

Thanks in advance

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Faraz | last post: by
12 posts views Thread by Janiek Buysrogge | last post: by
7 posts views Thread by shaun roe | last post: by
18 posts views Thread by Franky | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.