Question: how to solve quadratic equation in visual basic?
Answer: Open a new Visual Basic program. Double-click the "Button" tool to add Button1 to the form. ... 
Double-click "Button1" on the form to open the code window. Type the following code: ... 
Insert the cursor outside of the Button1 sub. Type the following code: ... 
Type the following code: ... 
Type the following code: ... 
MSDN: Math.Sqrt Method.