Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/04/2007, 08:39
Daniel_7
 
Fecha de Ingreso: mayo-2006
Mensajes: 22
Antigüedad: 19 años
Puntos: 0
Re: Run-time error '13': Type mismatch en VB 6.0

El codigo es este:

If Text1.Text = "" Then
fallos = fallos + 1
Else If Val(Text1.Text) = total Then
aciertos = aciertos + 1
Else
fallos = fallos + 1
End If

eso x q estabas comparando un tipo numerico con uno nulo o vacio y te da error