SRL Archive - C#/Visual Basic Help and Tutorials

Akwardsaw's Calculator


Awkwardsaw

2009-04-26 21:32:42

this is my first application, and i just want to know what you guys think :)

its just a simple calculator. type 1 number in the first box, a second number in the other, click what operator you want(addition, subtraction, multiplication, division, and exponent) and the answer will be in the text box. pretty self explanatory when you see it.

Later on i want to make it so you can do equations like finding the circumference of a circle, area, and stuff like that, but i guess this is a good start ;)

ps: sorry that its .rar, haven't figured out how to save it to .exe

NiiX

2009-04-27 11:43:23

Err, wont even start for me..

ian.

2009-04-27 11:45:10

Missing files?

Awkwardsaw

2009-04-27 17:16:22

hmm. every thing should be in the .rar.. i'll check it out later

NiiX

2009-04-27 20:54:30

From: akwardsaw
hmm. every thing should be in the .rar.. i'll check it out later


Its only 1 file :p

Awkwardsaw

2009-04-28 02:00:29

oh wow haha.. alright

bballer

2009-04-29 07:04:35

Do you know about functions?

Here is a quick one to find circumference

Function Circumference(byval Radius as integer)
dim CircumF as integer

circumF = (radius *2)*(math.pi)

return CircumF
End Funtion

usage:
[php]
me.lblcircumferecene.text=circumference(3)
[/php]

Hope this will help in your future programming!

-bballer

Awkwardsaw

2009-05-01 03:14:18

=o nope, i didnt know much about functions haha.

also sorry for not fixing it, iv been really busy with stuff irl