Error Reading Comm Device 8020
Contents |
be down. Please try the request again. Your cache administrator is webmaster. Generated Thu, 13 Oct 2016 03:20:49 GMT by s_ac4 (squid/3.5.20)
Forum Visual Basic Programming Visual Basic 6.0 Programming Run-time error '8020' Error reading comm device If this is your first visit, be sure to check out the FAQ by clicking the
Runtime Error 8020 Prolific
link above. You may have to register or Login before you can post: click the
Runtime Error 8020 Usb-serial
register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. 8020 error reading comm device usb serial Results 1 to 15 of 15 Thread: Run-time error '8020' Error reading comm device Tweet Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to http://answers.microsoft.com/en-us/windows/forum/windows_10-update/run-time-error-8020-error-reading-comm-device/a0e4df03-ba48-45cf-b8c3-9bbb2b256e7c Threaded Mode October 17th, 2005,01:48 AM #1 tpadhu View Profile View Forum Posts Member Join Date Oct 2005 Posts 113 Run-time error '8020' Error reading comm device hi, how to solve Run-time error '8020' - (Error reading comm device ) any ideas? thanks October 17th, 2005,03:35 AM #2 Bill Crawley View Profile View Forum Posts Visit Homepage Senior Member Join Date Aug 2000 Location Essex, Uk Posts 1,214 Re: Run-time error http://forums.codeguru.com/showthread.php?361220-Run-time-error-8020-Error-reading-comm-device '8020' Error reading comm device Please show how you have declared the connection and how you are attempting to open the port Also check this out http://support.microsoft.com/default...b;en-us;318784 If you find my answers helpful, dont forget to rate me October 17th, 2005,04:30 AM #3 tpadhu View Profile View Forum Posts Member Join Date Oct 2005 Posts 113 Re: Run-time error '8020' Error reading comm device hi, This is my port setting procedure. Is anything wrong? Some times i'm getting " Set comm state failure error" too. Private Sub Form_Load() With MSComm1 .CommPort = 1 .RThreshold = 1 .Settings = "38400,n,8,1" .InputLen = 0 .SThreshold = 1 .InBufferCount = 0 .OutBufferCount = 0 .PortOpen = True End If MSComm1.Output = Chr(65) + Chr(80) + Chr(48) + Chr(13) End With Waiting for ur suggestions. Thank you. October 17th, 2005,04:53 AM #4 Bill Crawley View Profile View Forum Posts Visit Homepage Senior Member Join Date Aug 2000 Location Essex, Uk Posts 1,214 Re: Run-time error '8020' Error reading comm device There's nothing obviously wrong with the way you are handeling the port. However it may be worth check the Device instructions to ensure that you are using the right kind of 'handshaking'. Set comm state failure error - often occurs when the 'handshake' is in-correct. i.e.
searched for few days, and even if I see that there are people getting this error, I can't find a solution. I have an application communicating over the serial port. The application is written in https://www.daniweb.com/programming/software-development/threads/231950/runtime-error-8020-error-reading-comm-device VB6 and 2 PCs, one with XP, the other one with Vista. If I connect using the native serial port I get no error at all. If I use the USB to serial adapter http://www.windows10forums.com/threads/mscomm32-ocx-run-time-error.2474/ on XP, again I get no error. If I use the bluetooth on XP I get error 8020 If I use the USB to serial adapter in Vista I get error 8020 I use error reading as well a delphi aplication to communicate with the same device. It will work with no problem on both PC, on either connection. I hope that I can find a solution to my problem. Kind regards, Gabsi On XP data out USB to serial adapter, visual-basic-6 gabsi 4 posts since Oct 2009 Newbie Member 3Contributors 5Replies 7Views 6 YearsDiscussion Span 6 Years Ago Last Post by gabsi 0 Discussion error reading comm Starter gabsi 6 Years Ago Quick update. I solved the problem with bluetooth. Installed different driver and it worked on both XP and Vista. The only problem I have now is the prolific USB to serial adaptor on Vista. I've tried a different adaptor on Vista and it was OK. 0 headsun 6 Years Ago Hi, I searched for few days, and even if I see that there are people getting this error, I can't find a solution. I have an application communicating over the serial port. The application is written in VB6 and 2 PCs, one with XP, the other one with Vista. If I connect using the native serial port I get no error at all. If I use the USB to serial adapter on XP, again I get no error. If I use the bluetooth on XP I get error 8020 If I use the USB to serial adapter in Vista I get error 8020 I use as well a delphi aplication to communicate with the same device. It will work with no problem on both PC, on either connection. I hope that I can find a solution to my problem. Kind regards, Gabsi On XP data out USB to ser
2015 Messages: 3 Likes Received: 0 Hi I have some old programs, developed in VB6 that use the serial port with mscomm32.ocx This programs works fine on windows XP, 7, 8, 8.1 After windows 10 installation this happens: - Program start normally - When i click a button, the program do this steps: open the serial port (no errors) try to read a serial character (no errors) send a serial character (no errors) try to read an answered serial character and receive the error: "run time error 8020" "Error reading comm device" - I have RE-registered mscomctl.ocx and mscomm32.ocx -> nothing change - I have RE-installed usb/serial driver -> nothing change The device work fine using a standard communication utility like "putty". Any suggestion? thanks Last edited by a moderator: Aug 17, 2015 papergion, Aug 17, 2015 #1 Advertisements joanjoan Joined: Sep 14, 2015 Messages: 1 Likes Received: 0 Hi I have the same problem with old VB6 programs. Have you found a solution?. Thanks joanjoan, Sep 14, 2015 #2 Advertisements papergion Joined: Aug 17, 2015 Messages: 3 Likes Received: 0 Still no solution found... papergion, Oct 6, 2015 #3 Timothy Regan Joined: Oct 6, 2015 Messages: 2 Likes Received: 0 I can reproduce the same problem with the Polou USB Micro Controllers, Open works, Write works but Read fails (8020 ); No problems with the exact same code on Win 7 & Win 8; only win 10. Timothy Regan, Oct 6, 2015 #4 sedatkarakoyuncu Joined: May 12, 2016 Messages: 1 Likes Received: 0 Sometimes the easiest answer is the solution. Let me tell at the begining that, I've solved the problem. That is the story: I have tried lots of things, but when I was talking to a friend about my problem (who knows nothing on computing and VB6), he told me "I used to use a BIOS setting in older PCs, not to halt on any error such as no diskette driver, no keyboard, don't you have a command like that. OK there is an error but don't care about it, don't warn me about it, don't stop even if there are errors". Yes, what he was talking about is the easy, old, sweety "On Error Resume Next" statement!!! I hvae used it and my programs started to communicate via MSCOMM32 as they used to. You should better use "