Error Reading Comm Device Vb6
Contents |
be down. Please try the request again. Your cache administrator is webmaster. Generated Fri, 14 Oct 2016 14:18:26 GMT by s_wx1094 (squid/3.5.20)
is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the
Vb6 Runtime Error 8020
forum that you want to visit from the selection below. Results 1 to 8 of
Run Time Error 8020 Error Reading Comm Device
8 Thread: problem with mscomm Tweet Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode run time error 8020 usb-serial Switch to Threaded Mode Jan 15th, 2010,04:31 AM #1 venky View Profile View Forum Posts Thread Starter Lively Member Join Date Oct 2009 Location India Posts 94 problem with mscomm Hi All, I am working with Ms http://answers.microsoft.com/en-us/windows/forum/windows_10-update/run-time-error-8020-error-reading-comm-device/a0e4df03-ba48-45cf-b8c3-9bbb2b256e7c Comm Private Sub MSComm1_OnComm() Static stEvent As String Dim stComChar As String * 1 tempBuff$ = "" Select Case MSComm1.CommEvent Case comEvReceive Do stComChar = MSComm1.Input tempBuffer = tempBuffer + stComChar If bMessageStore Then strMessageBuffer = strMessageBuffer & stComChar End If Select Case stComChar Case ">" bGreaterSign = True Case vbLf Case vbCr If Len(stEvent) > 0 Then ProcessEvent stEvent stEvent = "" End If Case Else stEvent = stEvent + stComChar End Select Loop http://www.vbforums.com/showthread.php?599511-problem-with-mscomm While MSComm1.InBufferCount Case 2 MsgBox "Modem Unplugged", vbInformation End Select When switch on the rs232(modem)and run my application then in the above Select Case MSComm1.CommEvent ->it's value = 2 Case comEvReceive->it's value = 2 whn i am switch on the the rs232(modem) and then running my apllycation then Select Case MSComm1.CommEvent->it's value=1001 Case comEvReceiveit's value = 2 it's showing me runtime error like "error reading comm device" so please let me know the solution. Reply With Quote Jan 15th, 2010,10:08 AM #2 IanS View Profile View Forum Posts Fanatic Member Join Date Mar 2009 Posts 739 Re: problem with mscomm 1001 means you received a BREAK signal. http://www.comm32.com/commevent.html Do you expect the modem to send you a BREAK signal ? Last edited by IanS; Jan 21st, 2010 at 01:14 PM. Reason: spelling mistakes Reply With Quote Jan 15th, 2010,04:06 PM #3 ama_trig View Profile View Forum Posts New Member Join Date Jan 2010 Posts 13 Re: problem with mscomm check a port monitor software, to see what happens. also when you open a port, does it open with a delay? Reply With Quote Jan 15th, 2010,05:02 PM #4 CDRIVE View Profile View Forum Posts PowerPoster Join Date Jul 2007 Posts 2,540 Re: problem with mscomm May I ask what it is you're trying to do? When answering, please be specific, as I think
Unanswered Best Of... Categories 141.8K All Categories104.8K Programming Languages 6.4K Assembler Developer 1.9K Basic 39.9K C and C++ 4.3K C# 7.9K Delphi and Kylix http://www.programmersheaven.com/discussion/288820/err-8020-error-reading-comm-device 4 Haskell 9.6K Java 4.1K Pascal 1.3K Perl 2K PHP 525 Python 37 Ruby 4.4K VB.NET 1.6K VBA 20.8K Visual Basic 2.6K Game programming 312 Console programming 89 DirectX Game dev 1 Minecraft 110 Newbie Game Programmers 2 Oculus Rift 9K Applications 1.8K Computer Graphics 732 Computer Hardware 3.5K Database & SQL 528 Electronics development 1.6K Matlab 628 Sound & Music 257 error reading XML Development 3.3K Classifieds 198 Co-operative Projects 189 For sale 190 FreeLance Software City 1.9K Jobs Available 601 Jobs Wanted 202 Wanted 2.9K Microsoft .NET 1.7K ASP.NET 1.1K .NET General 3.3K Miscellaneous 5 Join the Team 0 User Profiles 354 Comments on this site 62 Computer Emulators 2.1K General programming 187 New programming languages 613 Off topic board 179 Mobile & Wireless 53 error reading comm Android 124 Palm Pilot 335 Multimedia 151 Demo programming 184 MP3 programming 6.9K Operating Systems & Platforms 0 Bash scripts 22 Cloud Computing 365 Embedded / RTOS 53 FreeBSD 1.7K LINUX programming 369 MS-DOS 0 Shell scripting 320 Windows CE & Pocket PC 4.1K Windows programming 906 Software Development 408 Algorithms 68 Object Orientation 89 Project Management 90 Quality & Testing 250 Security 7.6K WEB-Development 1.8K Active Server Pages 61 AJAX 2 Bootstrap Themes 55 CGI Development 19 ColdFusion 224 Flash development 1.4K HTML & WEB-Design 1.4K Internet Development 2.2K JavaScript 35 JQuery 290 WEB Servers 153 WEB-Services / SOAP err 8020: "Error reading comm device" saint_johann Member Posts: 39 January 2005 in Advance Visual Basic Hi,I've resolved the sending an sms problem. Now I'm faced with the problem of receiving data from my phone, requiring me to read from the COM port.When I execute the line: mscomm1.input, I get the error message as in the subject (8020).If anyone can help me on this, I'd appreciate it.TxRegards,^J^ 0 · Share on Facebook Comments ronan16 Member Posts: 1 January 2005 http://support.microsoft.com/default.aspx?scid=kb;en-us;318784 0 · Share on Facebook Pete Kir