Read port LPT1: 
Author Message
 Read port LPT1:

Please how can I read a the port LPT1: or COM1:

I put this code in 2 computers but I can't read the port lpt1 or Com1
the pc who write make it work, but the pc who read stop at line "Line Input
#FileNumber, myString"

code for pc who read the port LPT1:

    FileNumber = FreeFile
    Open "LPT1:" For Input As #FileNumber

    Line Input #FileNumber, myString

    Close #FileNumber

--------------------------------------
code for pc who write the port LPT1:

    FileNumber = FreeFile
    Open "LPT1:" For Output As #FileNumber

    Print #FileNumber, myString

    Close #FileNumber

-------
sorry my english
Carlos



Mon, 24 Nov 2003 19:57:41 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Read port LPT1:

2. LPT1 PORT

3. LPT1 PORT

4. Open a LPT1 port

5. Parallel Port LPT1 Configurations

6. Using the LPT1 port

7. VB app to control LPT1 port.

8. LPT1 ports

9. Copy an File on LPT1 port

10. How to Capture the Port Printer LPT1

11. Listen to the LPT1-port

12. Listen to the LPT1-port

 

 
Powered by phpBB® Forum Software