UnKnowN Posted April 1, 2006 at 11:30 AM Report #20407 Posted April 1, 2006 at 11:30 AM Neste Code o que é que está mal ? O problema é que na soma de 2 nºs a aplicaçao limita-se a juntá-los Ex.: 2 + 2 = 22; 213 + 144 = 213144 Private Sub Command2_Click() Dim a, b, c As Integer a = Text1.Text b = Text2.Text If Option1 Then c = a + b Text3.Text = c End If End Sub
vbmaster Posted April 1, 2006 at 11:36 AM Report #20409 Posted April 1, 2006 at 11:36 AM Temos uma secção de vb rapaz... 😛 tens de por a = Val(Text1.Text) e para o outro também 😛
UnKnowN Posted April 1, 2006 at 05:34 PM Author Report #20471 Posted April 1, 2006 at 05:34 PM Ah ok Thanks 😛 Off-Topic: It's Seems Like RealBasic (ou melhor... ao contrario)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now