Click here to Skip to main content
16,019,843 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am writing code for Network stream for sending data to the server. It is working fine in windows xp, but when i update it to windows 7 I got this error message. HRESULT:0x800A1F42. What is this error and solution?

What I have tried:

I tried to search in net but i dont get anything.
Posted
Updated 21-Mar-19 7:46am

1 solution

0x800A1F42 - Google Search[^]

The COM port you're trying to use does not exist, is disabled in device manager, or has already been opened by another application.

Since you're using VB.NET, you should drop the ancient MSCOMM control, and use the SerialPort class[^] instead.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900