All,
Been a long time since I messed with VB my brother-in-law is taking a
intro programming class
We wrote the following code but he's getting an error at the
calculation line.
I no longer have VB and looking with my rusty eyes I don't see the
issue.
He's trying to capture seperate values from 2 different txtbox and
display results of calculation in a third txtbox/
Can anyone help?
Private Sub CalulateBtn_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles CalulateBtn.Click
Dim CalulateBtn As Action (Of Textbox3.value * txtInput.value)
End Sub
BeastFish - 15 Jul 2008 07:40 GMT
That's not VB (not VB5 or VB6). This group is for pre-dotnet VB (VB5 &
VB6). There are different groups for dotnet VB because the coding is
different and VB6 code likely won't work with VB.net and vice versa.
For VB.net questions, try in the dotnet groups like
microsoft.public.dotnet.languages.vb
> All,
> Been a long time since I messed with VB my brother-in-law is taking a
[quoted text clipped - 13 lines]
> Dim CalulateBtn As Action (Of Textbox3.value * txtInput.value)
> End Sub
marks542004@yahoo.com - 17 Jul 2008 00:35 GMT
On Jul 14, 10:35 pm, zerocostprod...@gmail.com wrote:
> All,
> Been a long time since I messed with VB my brother-in-law is taking a
[quoted text clipped - 13 lines]
> Dim CalulateBtn As Action (Of Textbox3.value * txtInput.value)
> End Sub
doesnt look like VB6 :( so I cant help.
Depending on the error I would look at converting the text box value
to a numeric type before trying to multiply them .
look at cvtxxx command like cvtint