Home > Error Could > Error Could Not Set Comm State

Error Could Not Set Comm State

But my new computer doesn't have serial ports, just USB, so I >bought a USB serial adapter to hook the scanner up. Common Tag : Mostly Searched finacle General IPPB McCamish MM Update 7.9.5 Pay Commission Speed Net 4.4 Update 1 SQL Blog Archive Blog Archive December (296) November (432) October (426) September Get 1:1 Help Now Advertise Here Enjoyed your answer? VB generates this error when it tries to open the port: "Runtime Error 8015: Could not set comm state, there may be one or more invalid communications parameters." The relevant code: check over here

Browse other questions tagged vb6 or ask your own question. The old RS232 standard is not very tolerant of voltage spikes and static. Supt of Post Office Supt. thinking about future program maintenance and upgrades... my company

McClane is a NYPD cop. Using automation, an Access applic… MS Access Outlook Visual Basic Classic Creating and Using an Access Class Module Video by: TechMommy Get people started with the utilization of class modules. If you are experiencing a similar issue, please ask a related question Suggested Solutions Title # Comments Views Activity VBA Excel: Copy Data from one workbook to another v6 csv extension It works fine on my newer computers with USB 2.0 ports.

Is scroll within a card good or bad? (In desktop) What are these boxes mounted inline on each of the 3 phase wires of a high voltage power line in Miami? If something worked before, we shall find out why it wouldn't anymore. Well the code that… Visual Basic Classic VBA Using Automation to Control Outlook from Access Video by: TechMommy Get people started with the process of using Access VBA to control Outlook Meet a few of the people behind the quality services of Concerto.

Wife Works in LA. of Post Offices This is a required question Edit this form Just Click "Submit Button to Register" User Registration Note: If already register kindly ignore 7th CPC Pay & Arrears Calculator Now the adapter shows up as COM4. The command is not case sensitive and will return something like: Status for device COM1: ----------------------- Baud: 1200 Parity: None Data Bits: 7 Stop Bits: 1 Timeout: OFF XON/XOFF: OFF CTS

Check the specs on the adapter, maybe there is a limiting factor there somewhere. Why was the plane going to Dulles? parallel to serial & mscomm problem 5. I shall try using the printer control until then thanks for the responses and I shall keep everyone up to date if the problem is resolved.

I can see the scale feed coming through on Hyper Terminal so I know the scale is communicating with the port. 0 LVL 4 Overall: Level 4 Hardware 1 Message Source Strange that there was a feed at all. 0 LVL 4 Overall: Level 4 Hardware 1 Message Expert Comment by:Levi Gwyn ID: 387759042013-01-14 Glad I could help. A generic printer driver is set up on comport "COM1". Connect with top rated Experts 11 Experts available now in Live!

The error occurs at the same statement .PortOpen = True @Hrqls I haven't try using the printer control before however this device is not actually a text printer it is a check my blog MSComm and USB Serial Adapters 2. Get UUID or Serial # from Network Adapter from VB 12. Bunching benefit not included in this calculator. 7th Pa...

List Files by User-Defined Extensions Sending Data From MSFlexGrid To Excel in VB6 Send Data To Excel Using VB6 Folder Hider Masked Edit Control VB6 Create own User control - Basic If you can dig up an old serial mouse or some other serial device, test the port. Help, my office wants infinite branch merges as policy; what other options do we have? this content You can use the following code.

Login as Supervisor in Speed Net Module. You may have already looked at this but make sure your ports are set to the default values. Join the community of 500,000 technology professionals and ask your questions.

If so the port is in use and the MSComm control cannot access it.

If this is a mission-critical system, you can run shielded cable and ground the end on the PC side to ensure a transient voltage spike doesn't kill your COM port. 0 I read on some forum (I've been through too many) that if you remove the plug and plug it in back that it resolve this issue. MNOP Revised Script dated 22/05/2012 SERVICE TAX - ACTION TO BE TAKEN IN RESPECT OF PRE... Any ideas what else I can try? 0 Comment Question by:adam_daunhauer Facebook Twitter LinkedIn https://www.experts-exchange.com/questions/27994888/Error-trying-to-use-Serial-Port-connection.htmlcopy LVL 4 Best Solution byLevi Gwyn COM (serial Ports) are notorious for dying.

Reference Sheets Code Snippets C Snippets C++ Snippets Java Snippets Visual Basic Snippets C# Snippets VB.NET Snippets ASP.NET Snippets PHP Snippets Python Snippets Ruby Snippets ColdFusion Snippets SQL Snippets Assembly Snippets Why all of a sudden would they not work? Privacy Policy Support Terms of Use MenuExperts Exchange Browse BackBrowse Topics Open Questions Open Projects Solutions Members Articles Videos Courses Contribute Products BackProducts Gigs Live Courses Vendor Services Groups Careers Store http://strobelfilms.com/error-could/error-could-not-sqlprepare.html The easiest, and most straightforward to print something is to use the Printer object For example to print the current time : Private Sub Command1_Click() Printer.Print CStr(Now) Printer.EndDoc End Sub share|improve

Please leave a comment, click here. David CodeGuru Article: Bound Controls are Evil-VB6 2013 Samples: MS CODE Samples CodeGuru Reviewer 2006 Dell CSP 2006, 2007 & 2008 MVP Visual Basic If your question has been answered Home Quick Links IMO Login IMT-WUMT Asset Mgmnt SPCC Config CCC IndiaPost Speed MIS AccountsMIS eMO MIS ePayment MIS DOP Corner ParcelNet ePost IPS Web Speed KPI PhilsimLogin OtherSite PA Exam Works just fine with a serial port connection on my old >computer.

Not the answer you're looking for?