Foros del Web » Programación para mayores de 30 ;) » Programación General »

error 3001

Estas en el tema de error 3001 en el foro de Programación General en Foros del Web. Buenos dias Obtengo error 3001 en el siguiente texto donde dice CASE "logoASV" me pueden ayudar a corregirlo Case "cAdu" If IsNull(RS("RGB")) Then ImprimirTexto RS("Left"), ...
  #1 (permalink)  
Antiguo 10/01/2013, 08:34
 
Fecha de Ingreso: enero-2013
Mensajes: 1
Antigüedad: 11 años, 3 meses
Puntos: 0
error 3001

Buenos dias

Obtengo error 3001 en el siguiente texto donde dice CASE "logoASV" me pueden ayudar a corregirlo

Case "cAdu"
If IsNull(RS("RGB")) Then
ImprimirTexto RS("Left"), RS("Top"), RS("Width"), RS("Height"), RSA("Codigo"), RS("Ali"), RS("Font"), RS("Size"), RS("Bold"), RS("Italic")
Else
ImprimirTexto RS("Left"), RS("Top"), RS("Width"), RS("Height"), RSA("Codigo"), RS("Ali"), RS("Font"), RS("Size"), RS("Bold"), RS("Italic"), RS("RGB")
End If
Case "LogoASV", "LogoMundial", "LogoAno"
If Dir(App.Path & "\Temp.tmp") <> "" Then Kill App.Path & "\Temp.tmp"
P = RS.Fields("Picture").GetChunk(RS.Fields("Picture") .ActualSize)
If LenB(P) > 0 Then
SizeOfFile = LenB(P) 'get size of file
ReDim ByteArray(1 To SizeOfFile) As Byte 'reset byte array to size of file
ByteArray = P
Fno = FreeFile 'get free file number
Open App.Path & "\Temp.tmp" For Binary As #Fno
Put #Fno, , ByteArray 'put array into file
Close #Fno
ImprimirImagen RS("Left"), RS("Top"), RS("Width"), RS("Height"), LoadPicture(App.Path & "\Temp.tmp")
End If
End Select
RS.MoveNext
Loop
Printer.NewPage
RS.Close
Msg = "UPDATE taAdu SET xCre=true WHERE cAdu=?"
ExecuteSQLCommand Cnx, Msg, adInteger, RSA("cAdu")
Msg = "UPDATE taCgoAdu SET xCre=true WHERE cCgoAdu=?"
ExecuteSQLCommand Cnx, Msg, adInteger, RSA("cCgoAdu")
End If
Else
MsgBox "Revise el cargo del dirigente o si el dirigente está registrado en este año"
End If
RSA.Close
Set RSA = Nothing

End Function
  #2 (permalink)  
Antiguo 12/01/2013, 15:55
Avatar de ARICARRARO  
Fecha de Ingreso: diciembre-2010
Ubicación: México
Mensajes: 227
Antigüedad: 13 años, 3 meses
Puntos: 10
Respuesta: error 3001

¿Ya revisaste este link? http://support.microsoft.com/kb/248076/es

Etiquetas: visual
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 02:41.