₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,058 members, 8,420,080 topics. Date: Thursday, 04 June 2026 at 11:01 AM

Toggle theme

Vb Code - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingVb Code (1092 Views)

1 Reply

Vb Code by masterd1(op): 5:10pm On Jun 11, 2007
can anyone help me with the solution to this vb 6.0 code for almighty formular, cause i'm having
problem with the SQUARE ROOT

dim a, b, c, x1,x 2 as double
a=val(text1.text)
b=val(text2.text)
c=val(text3.text)

x1= (-b+sqrt(b^2-4*a*c))/(2*a)
x2= (-b-sqrt(b^2-4*a*c))/(2*a)

text4.text= x1
text5.text= x2

PLS I NEED VB 6.0 CODE cause i'm having problem with the square root
Re: Vb Code by IG: 6:31pm On Jun 15, 2007
The function for square root is sqr() and not sqrt().
Hope that solves your problem.
Re: Vb Code by masterd1(op): 7:02pm On Jun 18, 2007
thanx a lot IG
1 Reply

How To Send SMS Using Asp.net/vb.netMarquee Code In VbPost Ur Vb 6.0 Questions Here234

Guru Should React To This Pls!Fake InterswitchPls I Need Help On Gettin' A Vb E- Textbook