Page 1 of 1

EMVB problem

PostPosted: Apr 3, 2002 @ 12:37am
by CopperD
When I run this code

V1 = Val(V1a.Text)
V2 = Val(V2a.Text)
P1 = Val(P1a.Text)
P2 = Val(P2a.Text)

I get a error that says
Type mismatch
'[undefined]'
The error will happen when I run any of the lines. I have declared V1,V2,P1,P2 as integer with the same result. The code will work on normal VB as I have tested on a school computer today.[/img]

PostPosted: Apr 3, 2002 @ 4:20am
by RICoder

PostPosted: Apr 3, 2002 @ 5:11pm
by brntcrsp
and make sure it fulfills isNumeric(foo) if the values are coming from user input.

PostPosted: Apr 4, 2002 @ 5:32am
by RICoder

PostPosted: Apr 4, 2002 @ 8:29am
by brntcrsp