Results 1 to 2 of 2

Thread: printer port input/output

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2000
    Posts
    1
    Remember BASIC (DOS) ??? OPEN LPT1 for INPUT ???
    Visual Basic 4.0
    I want to be able to read individual pins on lpt1 port...
    If say I have the 24 pin cable connected to the computer and the other end is just a bunch of exposed bare wires...
    assume that the pin 1 wire is hot with voltage and pin 24 wire is ground and all other pins are open... now pin 5 wire is in contact with pin wire 8... Making a closed loop... How can I detect pin 5 wire connection to pin 8 wire... Indeed this sounds hard but I used to do it with DOS as well as a VIC 20... I just don't understand why it has to be so hard with Visual Basic 4.0 to find information on INPUT/OUTPUT information... Even Reading the Joystick is very hard to get info on... Does anyone know how to make Visual Basic software interface with the ports??? I don't care much about the com port (phone connection) at this time just the LPT ports and Joystick port... Any help would be greatly appreciated...
    Email to: [email protected]


  2. #2
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808

    Question

    I couldn't understand what you've been asking. But, guess there should be another way to acheive what you want without having to detect the "connection" between pins... Can you explain better what you wanna do?
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width