Mscomm32.ocx Error Reading Comm Device
Contents |
(Русский)ישראל (עברית)المملكة العربية السعودية (العربية)ไทย (ไทย)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語) HomeLibraryWikiLearnGalleryDownloadsSupportForumsBlogs Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Asked run time error 8020 usb-serial by: Run-time error 8020 - Error reading comm device mscomm32.ocx replacement with VB6 app isolated to Win 10 Windows 10 IT Pro > Windows 10 Application 8020 error reading comm device usb serial Compatibility Question 1 Sign in to vote We are experiencing "Run-time error '8020': Error reading comm device" using a PIC18F14K50 USB Module to a VB6
Run Time Error 8020 Solution
application isolated to Win 10 OS (Home tested not Professional) and not networked. Driver versions 5.1.2600.2 and 5.1.26009 work with above USB module and VB6 application on Win XP, 7 and 8.1, but again not on Win 10. The Microchip PIC USB module using these drivers on Win 10 "does" error reading comm device vb6 work with non-VB6 applications. Note, above VB6 application works on Win 10 PC with Keyspan USB module and its driver. This run-time error has occurred onevery PC tested thus far, potentially in the dozens, hence the isolated Win 10 bug claim. This issue is critical to our business as our clients aren't able to use our product on Win 10 forcing us to purchase and install older Windows for compatibility. Edited by Davidux Saturday, October 03, 2015 12:41 AM Saturday, October 03, 2015 12:37 AM Reply | Quote All replies 0 Sign in to vote You might try this... found at http://windowssecrets.com/forums/showthread.php/121174-MScomm-Control-6-0 - Start Regedit. - Go to HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\ActiveX Compatibility\{648A5600-2C6E-101B-82B6-000000000014} - Change the value of Compatibility Flags from 0x0400 to 0. Saturday, October 03, 2015 3:04 AM Reply | Quote 0 Sign in to vote Thanks graye, but this didn't work or did I edit
be down. Please try the request again. Your cache administrator is webmaster. Generated Thu, 20 Oct 2016 18:29:50 GMT by s_nt6 (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 http://forums.codeguru.com/showthread.php?361220-Run-time-error-8020-Error-reading-comm-device link above. You may have to register or Login before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. http://forums.majorgeeks.com/index.php?threads/windows-10-mscomm32-ocx-run-time-error.294567/ 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 time error to 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 time error 8020 '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
10 & mscomm32.ocx run time error Discussion in 'Software' started by papergion, Aug 17, 2015. papergion Private E-2 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 papergion, Aug 17, 2015 #1 papergion Private E-2 Did someone have experiences in windows 10 with VB6 programs that read / write the serial port ? papergion, Aug 26, 2015 #2 djwim Private E-2 Papergion, any luck with getting VB6 using the serial port under Windows 10? I have the same problem with VB6/Win10 and a PIC board emulating a serial port. Everything works fine under windows 7, but not under windows 10. From what I read after some Google'ing, it appears to be a problem in mscomm32.ocx, but I can't find any solution. Simply reading from the port using "inpbuf = Mscomm1.Input" when characters are received, produces the error "run time error 8020: Error reading comm device" djwim, Dec 27, 2015 #3 (You must log in or sign up to reply here.) Show Ignored Content Share This Page Your name or email address: Do you already have an account? No, create an account now. Yes, my password is: Forgot your password? Stay logged in MajorGeeks.Com Support Forums Home Forums > ----------= PC, Desktop and Laptop Support =------ > Software > MajorGeeks.Com Menu MajorGeeks.Com \ All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ NEW! PC Games \ System Tools \ Macintosh \ Demonews.Com \ Top Downloads MajorGeeks.Com \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics) Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds Home Forums Forums Quick Links Search Forums Recent Posts Members Members Quick Links Notable Members Current Visitors Recent Activi