Ver Mensaje Individual
  #2 (permalink)  
Antiguo 01/09/2006, 09:23
Avatar de bitbow
bitbow
 
Fecha de Ingreso: julio-2006
Ubicación: Distrito Federal
Mensajes: 635
Antigüedad: 18 años, 7 meses
Puntos: 34
jejeje me pusiste a buscar pero que bueno, los apuntes que tengo que te pueden servir andaban perdidos aqui esta :
Código PHP:
Private Declare Sub PortOut Lib "IO.DLL" (ByVal Port As IntegerByVal Data As Byte)
Private Declare 
Sub PortWordOut Lib "IO.DLL" (ByVal Port As IntegerByVal Data As Integer)
Private Declare 
Sub PortDWordOut Lib "IO.DLL" (ByVal Port As IntegerByVal Data As Long)
Private Declare Function 
PortIn Lib "IO.DLL" (ByVal Port As Integer) As Byte
Private Declare Function PortWordIn Lib "IO.DLL" (ByVal Port As Integer) As Integer
Private Declare Function PortDWordIn Lib "IO.DLL" (ByVal Port As Integer) As Long
Private Declare Sub SetPortBit Lib "IO.DLL" (ByVal Port As IntegerByVal Bit As Byte)
Private Declare 
Sub ClrPortBit Lib "IO.DLL" (ByVal Port As IntegerByVal Bit As Byte)
Private Declare 
Sub NotPortBit Lib "IO.DLL" (ByVal Port As IntegerByVal Bit As Byte)
Private Declare Function 
GetPortBit Lib "IO.DLL" (ByVal Port As IntegerByVal Bit As Byte) As Boolean
Private Declare Function RightPortShift Lib "IO.DLL" (ByVal Port As IntegerByVal Val As Boolean) As Boolean
Private Declare Function LeftPortShift Lib "IO.DLL" (ByVal Port As IntegerByVal Val As Boolean) As Boolean
Private Declare Function IsDriverInstalled Lib "IO.DLL" As Boolean 
Espero tu le entiendas, se supone que es la declaracion para el uso de la libreria io.dll para el control del puerto paralelo, lo veo algo complicado ya que trae ejemplos para c y pascal y es mucho mas simple la declaracion.

Aunque mas bien parece que tienes que declarar cada una de las funciones, no se visual basic solo comentaba, jejeje.
aqui un enlace :
http://www.laneros.com/showthread.php?p=905574

No es promocion no me vallan a clausurar el mensaje.

Suerte.
__________________
El ego es el mayor enemigo de un hombre inteligente.