iKhaosmaster Posted October 20, 2008 Report Posted October 20, 2008 (edited) This is my first program. It not the best but is pretty good. It is a calculator.Download:http://www.megaupload.com/?d=5RQEKS9IVideo:http://www.youtube.com/watch?v=cBscU6f8S3U Edited October 20, 2008 by bigkillerjoe875
sillybob123 Posted October 20, 2008 Report Posted October 20, 2008 Hmm i guess its ok for a first try some more advanced apps maybe take a look at some sources and tuts slowly you will become more adjusted to use VB more efficiently
L337 Box Posted October 22, 2008 Report Posted October 22, 2008 Clean in case anybody is paranoid. http://i318.photobucket.com/albums/mm419/_1_3_3_7_/FireCalcisClean.jpg
iBotPeaches Posted October 22, 2008 Report Posted October 22, 2008 So you learned parsing in from textboxes?What about functions?I assume this is VB.
Dark Slipstream Posted October 24, 2008 Report Posted October 24, 2008 (edited) There is a real simple way to make a real calculator, but I am having problems in vb6 (at school), hopefully I figure out a way to store infinite variables as they are typed.. (basically need the first variable, then the second variable...) Public a As Integer = 0 Public b As Integer = 0 Public Sub Add() If Not TextBox.Text = "" Then If IsNumeric(TextBox.Text) THen If B= 0 Then a = TextBox.Text End If End If End If End Sub This is about 3/4 of the req. code to Add numbers, I experimented with it a few times, it works as long as you deny access using e.KeyCode under the KeyDown area of the text box, you need to block Decimal, Subtract, and another one. It's rather easy if I was to just sit there and program it, but I'm on vb break! LOL Edited October 24, 2008 by Dark Slipstream
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now