Solved

Serial port

Posted on 1998-09-16
1
207 Views
Last Modified: 2010-04-30
How can I check the status of serial port whether it is open or closed?
0
Comment
Question by:Overflow
1 Comment
 
LVL 9

Accepted Solution

by:
Dalin earned 50 total points
ID: 1435194
Overflow,

I assume you use the MSComm Control:

If MSComm1.PortOpen = True then
    '  Port is Open
   End IF

Regards
Dalin
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to debug this code 7 62
VBA/SQL - Connect to SQL server and pull data 4 111
Add a task in Outlook from access 11 39
VBA Shell can't Find Word document 11 95
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

823 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question