Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,152,506 members, 7,816,209 topics. Date: Friday, 03 May 2024 at 07:44 AM

Vb Code - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Vb Code (1004 Views)

How To Send SMS Using Asp.net/vb.net / Marquee Code In Vb / Post Ur Vb 6.0 Questions Here (2) (3) (4)

(1) (Reply)

Vb Code by masterd1(m): 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(m): 7:02pm On Jun 18, 2007
thanx a lot IG

(1) (Reply)

Oracle And Programming / Php Applications / Financial Literacy App Challenge For Nigeria Developers & Designers

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 7
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.