This site is no longer active and is available for archival purposes only. Registration and login is disabled.

EMVB problem


EMVB problem

Postby CopperD » Apr 3, 2002 @ 12:37am

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]
CopperD
 


Postby RICoder » Apr 3, 2002 @ 4:20am

<iframe src="http://gamercard.xbox.com/RICoder.card" scrolling="no" frameBorder="0" height="140" width="204">RICoder</iframe>
User avatar
RICoder
FOX News Correspondent
 
Posts: 3948
Joined: Jul 10, 2001 @ 1:48pm
Location: the matrix has me


Postby brntcrsp » Apr 3, 2002 @ 5:11pm

and make sure it fulfills isNumeric(foo) if the values are coming from user input.
User avatar
brntcrsp
pm Member
 
Posts: 271
Joined: Apr 5, 2001 @ 5:35am
Location: Portland, Oregon


Postby RICoder » Apr 4, 2002 @ 5:32am

<iframe src="http://gamercard.xbox.com/RICoder.card" scrolling="no" frameBorder="0" height="140" width="204">RICoder</iframe>
User avatar
RICoder
FOX News Correspondent
 
Posts: 3948
Joined: Jul 10, 2001 @ 1:48pm
Location: the matrix has me


Postby brntcrsp » Apr 4, 2002 @ 8:29am

User avatar
brntcrsp
pm Member
 
Posts: 271
Joined: Apr 5, 2001 @ 5:35am
Location: Portland, Oregon


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron