Feb 14, 2005 #1 B bader Member level 1 Joined Jan 17, 2005 Messages 37 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,286 Activity points 310 serial port using c# hi ........ how can i use serial port by using c# in windows xp..........
Feb 14, 2005 #2 asic1984 Full Member level 5 Joined Nov 15, 2003 Messages 257 Helped 4 Reputation 8 Reaction score 1 Trophy points 1,298 Activity points 2,340 Re: serial port using c# hi will if u will make a windows forms application u can easily use the mscomm activex tool ............u will find it on the add/remove too box with the name of microsoft communication ............then u just use it like any other control
Re: serial port using c# hi will if u will make a windows forms application u can easily use the mscomm activex tool ............u will find it on the add/remove too box with the name of microsoft communication ............then u just use it like any other control
Feb 14, 2005 #3 ilker Member level 3 Joined Dec 13, 2004 Messages 58 Helped 3 Reputation 6 Reaction score 1 Trophy points 1,288 Location TURKEY Activity points 445 serial port using c# look www.codeproject.com, i know that there is an article about this subject.
Feb 15, 2005 #4 checkmate Advanced Member level 3 Joined Feb 25, 2004 Messages 832 Helped 178 Reputation 356 Reaction score 125 Trophy points 1,323 Location Toilet Seat Activity points 7,811 Re: serial port using c# I was searching for driver access for .NET a year back. Couldnt find any. In the end, used PInvoke to call winAPI functions. Worked great!
Re: serial port using c# I was searching for driver access for .NET a year back. Couldnt find any. In the end, used PInvoke to call winAPI functions. Worked great!
Feb 15, 2005 #5 R ragundo Newbie level 1 Joined Jan 22, 2005 Messages 1 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 12 Re: serial port using c# If you are using .NET 1, you must use P/Invoke or get an ActiveX control to do that. (Look at CodeProject for the P/Invoke case). If you use NET 2.0 Beta you get classes to access the serial ports included in the framework. I've used them and they work . You can't use Visual Studio 2003 with the .NET 2 Beta, so, use Visual Studio Express ( free ) or get a beta of Visual Studio 2005. Hope this helps you
Re: serial port using c# If you are using .NET 1, you must use P/Invoke or get an ActiveX control to do that. (Look at CodeProject for the P/Invoke case). If you use NET 2.0 Beta you get classes to access the serial ports included in the framework. I've used them and they work . You can't use Visual Studio 2003 with the .NET 2 Beta, so, use Visual Studio Express ( free ) or get a beta of Visual Studio 2005. Hope this helps you
Jan 26, 2006 #6 J janab_a Newbie level 5 Joined Jan 25, 2006 Messages 8 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,376 serial port using c# Hi, I am new to Visual C#.NET. I need to connect an XML sending device to the COM port and read and write data to it. Hi, i would like to know how i can access the COM port in Visual C#.NET either in the Windows Application (prefered) or Console Applicaion. I am using the 'Visual Studio .NET 2003'. Kind Souls please help...
serial port using c# Hi, I am new to Visual C#.NET. I need to connect an XML sending device to the COM port and read and write data to it. Hi, i would like to know how i can access the COM port in Visual C#.NET either in the Windows Application (prefered) or Console Applicaion. I am using the 'Visual Studio .NET 2003'. Kind Souls please help...