Home > Could Not > Could Not Set Comm State 8015

Could Not Set Comm State 8015

If you are experiencing a similar issue, please ask a related question Suggested Solutions Title # Comments Views Activity A macro to Count the number of rows across all worksheets 3 Therefore the port is in use and I believe this is the main cause of the issue. It seemed that my printer has got control of the port because it's using the same port. I think what I'm about to tell you will help alot. http://strobelfilms.com/could-not/could-not-set-comm-state.html

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. Reply With Quote December 12th, 2008,11:49 AM #5 tim8w View Profile View Forum Posts Member Join Date Nov 2004 Posts 239 Re: Could not set comm state, there may be one If you can dig up an old serial mouse or some Go to Solution 3 2 2 Participants Levi Gwyn(3 comments) LVL 4 Hardware1 adam_daunhauer(2 comments) 5 Comments LVL 4 The methods I have tried are as follow: Using the MSComm control (which produces the errors above) Using windows API call (which gave a different error 'Invalid Functions') API Link: http://www.thescarms.com/vbasic/CommIO.aspx

Please leave a comment, click here. Thanks again. 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. 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

Not the answer you're looking for? The old RS232 standard is not very tolerant of voltage spikes and static. If there is nothing else using the port, does the batch file specifically set the speed, parity, or stop bits? (MODE COM1:9600,N,8,1,P) If so you can try using the settings from A good exercise for the Heart is to bend down and help another up...

I did come across that page before but have not actual testing it out. All times are GMT -5. Get 1:1 Help Now Advertise Here Enjoyed your answer? But, whenever i restart my PC, my application would prompt Run time error 8015 -Could not set comm state, there maybe one or more invalid communications parameters.

I'm using MSComm and it works great. 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 (295) November (432) October (426) September All rights reserved. What does this symbol of a car balancing on two wheels mean?

The program works very well, except that some times (when the control is initialised and the port is opened) I get an MSCOMM error 8015. https://www.experts-exchange.com/questions/20747351/could-not-set-comm-state-problem-in-MS-comm.html I use this (eterlogic.com/Products.VSPE.html) program to intercept the message sent. –user1803784 Nov 8 '12 at 15:28 the link you gave me solved the issue using the "Open PORT:SETTINGS For Submitted: 10/07/2003 Modified: 10/07/2003 Did this solution answer your question ? The female equivalent of "don't break my balls" What is the truth about 1.5V "lithium" cells Parents disagree on type of music for toddler's listening Why do manufacturers detune engines?

Watermark template. http://strobelfilms.com/could-not/could-not-set-comm-state-there.html Today's Topics Dream.In.Code > Programming Help > VB6 Run time Error 8015 on VB6 (print via serial port) Page 1 of 1 New Topic/Question Reply 2 Replies - 6294 Views - I have checked and re-checked all the parameters and they are the same good values they have always been. Results 1 to 2 of 2 Thread: Why do I get error 8015 using MSComm Tweet Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid

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. Connect with top rated Experts 11 Experts available now in Live! I can only add to Davids statement. http://strobelfilms.com/could-not/could-not-set-comm-state-there-may-be.html To start viewing messages, select the forum that you want to visit from the selection below.

If you can dig up an old serial mouse or some other serial device, test the port. Sometimes the addressing of the COM port can get jacked up. I was able to solve it based on the link that you gave.

Rate us for PoTools Design Bonanza for Central government employees: 7th Pay Commission recommendations rolled out First India Post Payments Bank (IPPB) branch in January 2017 GDS COMMITTEE REPORT Restriction on

I have found that the problem is coming from this MSComm1.PortOpen = True I can bypass the error using error handling but it didn't help anything. I also did a full uninstall of the serial Comm Ports and then did a reboot to reinstall them but that did not work as well. Join & Ask a Question Need Help in Real-Time? I have tried the Printer Object and it sends data to the port however it sends with numerous period character.

of Post Offices This is a required question Edit this form Just Click "Submit Button to Register" Find here! I am using Windows XP SP3 I can get the feed to work just fine through Terminal Operator, but not in the Application this feeds into. -------------------- The Application it feeds Join Now For immediate help use Live now! have a peek here The error is occurred because the counter is in Weihing machine mode.

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed 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 Advanced Search Forum Visual Basic Programming Visual Basic 6.0 Programming [RESOLVED] Could not set comm state, there may be one or more invalid communications parameters If this is your first visit,