Forum: Visual Basic
Nov 16th, 2007, 6:08 PM
|
|
Replies: 1
Views: 188
Code Explenation & A Little Help
So in our class now, we will be making a screen saver.
I wasn't there Monday - Friday and Tuesday needed to finish a project from those few days so I wasn't totally able to pay 100% attention.
I'm...
|
Forum: Visual Basic
Nov 11th, 2007, 4:36 PM
|
|
Replies: 13
Views: 965
Re: VB6 Calculator
Any last minute help for that? I still don't really have any idea, and it's due before class is over tomorrow.
He also just told us Friday we need to make it only 3 decimals, but I'm not as worried...
|
Forum: Visual Basic
Nov 7th, 2007, 8:47 PM
|
|
Replies: 13
Views: 965
Re: VB6 Calculator
So I tried what I had in mind today, and it didn't work. Nor did any of my other ideas ..
Maybe I'm putting them in the wrong order, using wrong variables, etc but they don't work for whatever...
|
Forum: Visual Basic
Nov 6th, 2007, 7:29 PM
|
|
Replies: 13
Views: 965
Re: VB6 Calculator
So basically the code I have now is fine and I just need to do what Sane mentioned?
And all I'd be missing is to have it actually perform the calculation, just not update the answer box until the...
|
Forum: Visual Basic
Nov 6th, 2007, 6:19 PM
|
|
Replies: 13
Views: 965
Re: VB6 Calculator
I read these three articles:
http://en.wikipedia.org/wiki/Reverse_Polish_notation
http://en.wikipedia.org/wiki/Prefix_notation
http://en.wikipedia.org/wiki/Infix_notation
Those all make some sense...
|
Forum: Visual Basic
Nov 6th, 2007, 1:17 PM
|
|
Replies: 13
Views: 965
Re: VB6 Calculator
Ok, I kinda understand but not how to apply it to the code.
Could you give me an example of how it would be in the code for the plus button please?
|
Forum: Visual Basic
Nov 3rd, 2007, 9:53 AM
|
|
Replies: 13
Views: 965
Re: VB6 Calculator
Thanks for the reply.
I'll have to wait until Monday to try, but what would I put the parentheses around, exactly?
|
Forum: Visual Basic
Nov 1st, 2007, 6:19 PM
|
|
Replies: 13
Views: 965
VB6 Calculator
Option Explicit
Dim intCount As Integer
Dim sngOne As Single
Dim sngTwo As Single
Private Sub cmd0_Click()
txtAnswer.Text = txtAnswer.Text & "0"
End Sub
|