473,699 Members | 2,564 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

creating Virtual COM ports

Hi,

Can anyone tel me how to create virtual com ports using csharp?

Thanx..
Aravind.
Feb 20 '06 #1
3 2853
Aravind wrote:
Can anyone tel me how to create virtual com ports using csharp?


In short, you probably can't. This would normally require writing a device
driver, which currently can only be written in a language compiling to
native code, since the Common Language Runtime operates only in the
application layer.
--
Derrick Coetzee, MCAD, MSFT (Speech Server)
This posting is provided "AS IS" with no warranties, and confers no
rights.
Feb 21 '06 #2
Thank you for suggestion. Can you give me some tips or links to articles how
to implement virtual com ports using .net native code.

Thank you.

Aravind.

"Derrick Coetzee [MSFT]" wrote:
Aravind wrote:
Can anyone tel me how to create virtual com ports using csharp?


In short, you probably can't. This would normally require writing a device
driver, which currently can only be written in a language compiling to
native code, since the Common Language Runtime operates only in the
application layer.
--
Derrick Coetzee, MCAD, MSFT (Speech Server)
This posting is provided "AS IS" with no warranties, and confers no
rights.

Feb 21 '06 #3
The only way to do this is by using the Device Driver Kit, you can obtain
the DDK from:
http://www.microsoft.com/whdc/devtools/ddk/default.mspx
this DDK contains a bunch of samples and is fairly well documented, but I
doubt you will be able to start driver development only by reading the
docs......

Willy.


"Aravind" <Ar*****@discus sions.microsoft .com> wrote in message
news:67******** *************** ***********@mic rosoft.com...
| Thank you for suggestion. Can you give me some tips or links to articles
how
| to implement virtual com ports using .net native code.
|
| Thank you.
|
| Aravind.
|
| "Derrick Coetzee [MSFT]" wrote:
|
| > Aravind wrote:
| > > Can anyone tel me how to create virtual com ports using csharp?
| >
| > In short, you probably can't. This would normally require writing a
device
| > driver, which currently can only be written in a language compiling to
| > native code, since the Common Language Runtime operates only in the
| > application layer.
| > --
| > Derrick Coetzee, MCAD, MSFT (Speech Server)
| > This posting is provided "AS IS" with no warranties, and confers no
| > rights.
| >
| >
| >
Feb 21 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

43
8702
by: Minti | last post by:
Hi there everybody, I was just wondering that too many people choose to use language like Java because of its architecture independence, this AI is achieved because Java is as such a platform indeed, the code is converted to a byte code and this byte code can be run on any machine which has
1
10915
by: henrycortezwu | last post by:
Hi All, I'm trying to connect to a virtual port (COM19, OUTGOING, "Bluetooth Serial Port") using VS2005 System.IO.Ports. When I ran the ff code below here's what happens. 1) VS2005 Compiles w/o errors 2) My Nokia 6600 prompted me the message "Accept Connection request from DEMON?" note: DEMON is my computers name. 3) Using my Nokia 6600, I hit the button that refers to the "Yes"
0
1600
by: Korpisoturi | last post by:
Hi, I have to save the datas from virtual COM-ports. I have win98 and Access97. I haven't any VB versions. Can I collect the datas from ports using MSComm-componen in Access97? I need some codes sample, like how does communicate opening between a virtual com-port to Access 97 where is the table for the virtual com-port? Thanks
0
1087
by: Lemune | last post by:
Hello everyone. I'm creating windows service application to capture data from my PABX, and send the data to sql server. My question is how could my application know when that PABX is sending data and not? I get really confused here. Please check my code and give me some idea or clue or help please :). Thanks in advance. My code is like this: Dim DBConnection As SqlConnection Dim WithEvents SPConnection As SerialPort = New...
31
3188
by: JoeC | last post by:
I have read books and have ideas on how to create objects. I often create my own projects and programs. They end up getting pretty complex and long. I often use objects in my programs they are some of the most powerful programming tools I have found. Often times as my program grows so do my objects. Often times I look back and see that my objects could be broken down int several smaller more re-usable module pieces of code. Is it a...
3
11611
by: naveen.sabapathy | last post by:
Hi, I am trying to use virtual serial ports to develop/test my serial communication program. Running in to trouble... I am using com0com to create the virtual ports. The virtual ports seem to be working fine when I test it with Hyperterminal . I am using the example program that comes with pyserial, as below. --------------- import serial
1
2512
by: rando1000 | last post by:
I'm having some trouble figuring out where the hangup lies on a connection issue. I have a domain with an MX record and A record pointing to a router. That router points ports 110 and 25 to an internal IP address that's attached to a Fedora mail server being run in VMware on top of Windows XP. When I try to telnet to localhost at 110, it works fine. If I try to telnet to the FQDN, it looks at the proper IP address, but then hangs. I opened...
0
1546
by: satheeshviswanathan | last post by:
Hi, I am new to visual c#/.NET. Can anyone help me in accessing a virtual serial port(COM port) in a c#/.NET windows application.I have a s/w for virtual serial port. I need to connect two COM ports and record the communication in a text file. Thanks in advance Satheesh.
5
3824
by: rockdale | last post by:
Hi, all: Hope somebody can solve this problem for me. We are migrating 3 asp website into IIS 6.0 on a server 2003. we do not want to create 3 website since we do not want to acquire different ports or ip for these websites. SO we create 3 virtual directory under the default website, but we got problems because the asp pages include common code in other asp files and the original developer using include virtual to include the common...
0
8691
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8620
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9038
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8920
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8887
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4633
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3060
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2351
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.