473,387 Members | 1,638 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

The given port name does not start with COM/com or does not resolve to a valid serial

6
Help me please.
My PC is connected to a Olivetti printer through COMM1 port and I installed driver for the printer, but after do this, i can not program to open comm port in C#. The Error display: The given port name does not start with COM/com or does not resolve to a valid serial port

(I use device manager to uninstall driver and can open COMM port, but when i restart windows OS, my PC still is conflicted as at first).
I want to write a program, which can uninstall driver in device manager automatic when windows os is started, Instead of using manual device manager of windows

Thanks,
All the best
Jun 9 '11 #1
0 2221

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Pablo | last post by:
Hi, I'm creating an AppDomain and creating an instance of a class. This works fine unless I use caching, which I need to use. The exception that I get is of type "System.IO.FileLoadException"...
3
by: Frodo Baggins | last post by:
Hi All, I have a piece of code (not written by me) that is failing on compile with the error: pasting "xdr_ndmp_connect_open_request" and "," does not give a valid preprocessing token The...
1
by: BH | last post by:
I'm trying a simple object serialization and deserialization, and keep getting this error: System.Runtime.Serialization.SerializationException: Binary stream does not contain a valid...
1
by: Boris Bulit | last post by:
I need to get the printer driver and port name in vb.net. I know how to get Printer Name of any printer on my system using the PrinterSettings class but I am unable to find how to get the port...
0
by: JSantora | last post by:
Essentially, InsertAT is broken! For the past couple of hours, I've been getting this "Parameter name: '-2147483550' is not a valid value for 'index'." error. Apparently, its caused by having...
0
by: dbuchanan | last post by:
Hello, Why am I getting this error? I don't know how to isolate it. It occurs intermittently. Has anyone seen this before? Here is the full text \\ System.IO.FileLoadException was...
0
by: Gabriel Fernandez | last post by:
Hi, I use a serial gadget with usbser.sys driver. When i go to Device manager of Windows Panel Control i see my device like this : Ports (COM & LPT) --> Communications Port (COM1) -->...
1
by: =?Utf-8?B?SHVzYW0=?= | last post by:
Hi EveryBody: How can I get the IP for web site when I have the Domain Name ? To make my question clear: For example when you go to www.netcraft.com and search for any web site by given the...
0
by: Vince Filby | last post by:
Hi, We are working with distributing Lucene.net. We have Master Index Server which takes responsibility of distributing the index searching to multiple Index Servers by calling the remote...
1
by: mikeyhux | last post by:
Hi Everybody. Does anybody know how to be able to get all serial ports name and com number in VB.Net 2005. I was able to get all port numbers like (com1) but I also need to know how to be able...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.