If I OPEN LPT1 as a file (#1), PRINT to it, then Close (#1), the application locks up on the execution of the Close statement. I have to use Ctrl/Alt/Del to close the app after the lockup. The development and target systems are Win 95. Following is a very short program that I tested with.<br>
<br>
Private Sub Form_Load()<br>
Open "LPT1:" For Output As #1 ' Dot Matrix<br>
Print #1, "Test"<br>
Close #1<br>
End Sub<br>
<br>
I have seen this lockup running the program in the VB5 IDE and as an EXE. I can duplicate the problem on multiple PCs. I have tried removing the Win 95 printer drivers that use LPT1. There no conflicts listed under 'System Hardware/Printers'. On one of the test systems LPT1 is built into the Motherboard. On another system LPT1 is an ISA Card.<br>
<br>
Has anyone seen this problem or have any suggestions on how to correct it?
<br>
Private Sub Form_Load()<br>
Open "LPT1:" For Output As #1 ' Dot Matrix<br>
Print #1, "Test"<br>
Close #1<br>
End Sub<br>
<br>
I have seen this lockup running the program in the VB5 IDE and as an EXE. I can duplicate the problem on multiple PCs. I have tried removing the Win 95 printer drivers that use LPT1. There no conflicts listed under 'System Hardware/Printers'. On one of the test systems LPT1 is built into the Motherboard. On another system LPT1 is an ISA Card.<br>
<br>
Has anyone seen this problem or have any suggestions on how to correct it?