Home > Software engineering > VB how to input any mathematical formula can be identified and assigned to calculate
VB how to input any mathematical formula can be identified and assigned to calculate
Time:09-28
I think of the method of using write a scientific calculator, and buttons are all operators, specific how to achieve? Is there a great god,
CodePudding user response:
To what extent are arbitrary, including calculus?
CodePudding user response:
You don't have elementary calculus, and can, including addition, subtraction, multiplication, and division are negative, trigonometric function, logarithmic, the algebraic expression of the arbitrary power of line
CodePudding user response:
Do you classify some code is ok,
CodePudding user response:
Beginners do not how,,, eldest brother can be a bit specific,,, thank you,,
CodePudding user response:
Simple point, use the Microsoft Scripting Control calculation,
Private Sub Command3_Click () Dim cs As New ScriptControl Dim t As String T=Text1. Text Cs. Language="VBScript" Cs. AddCode t Dim r As String R=cs. Run End Sub