Parallel Port Data Bus Direction

Discussion in 'Programmer's Corner' started by Iodem_Asakura, Jul 31, 2005.

  1. Iodem_Asakura

    Thread Starter Senior Member

    Sep 14, 2004
    140
    0
    How can i put the Data Bus of the Parallel Port as an input. I need to do it in a program in Visual Basic to receive some data. I'm using the Status Bus for another signals so i need the Data Bus to receive information too.
     
  2. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    Hi,

    You've discovered that VB does not give you access to the hardware level (no PEEK or POKE). You will have to use either an in-line assembler to get there, or a different language.

    Mr. Gates made lots of decisions about what people would be able to do with his software. The only consistent part is that it is always difficult and unsatisfactory.
     
  3. aibelectronics

    Member

    Aug 26, 2005
    24
    0
    I've heard it's possible to add more parallel port cards to the PC? Would that help?
     
  4. Dave

    Retired Moderator

    Nov 17, 2003
    6,960
    144
    In some respects that may not be a bad thing, just think of all these script-kiddies using VB to tinker with your PC hardware!
     
Loading...