I wonder if it would be possible to use some kind of COM object to perform the calculations..
-genius_at_work
Im not sure how it works, just by looking at it im thinking you could call? windows calculator but how is the result sent back.. LOL see I don't know nothing about $com