473,396 Members | 1,864 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,396 software developers and data experts.

Using CommPort

Hello Group,
I want read data from txt file or from textBox on my form and write this
data to commport (ex. comm1).
How programicaly use commport in C#
(open port, write, close etc.)
If You have any sample please send me link.

Thanx PawelR
Nov 17 '05 #1
2 2068
Hi,

Do a search, you have a coiuple of ways, :
Opennetcf : http://www.opennetcf.org
article from msdn mag:
http://msdn.microsoft.com/msdnmag/is...netserialcomm/

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"PawelR" <pa************@poczta.onet.pl> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
Hello Group,
I want read data from txt file or from textBox on my form and write this
data to commport (ex. comm1).
How programicaly use commport in C#
(open port, write, close etc.)
If You have any sample please send me link.

Thanx PawelR

Nov 17 '05 #2
Hi ,
you can use Sax.net Communications component ,
or have a look at
http://msmvps.com/coad/archive/2005/03/23/39466.aspx

"PawelR" <pa************@poczta.onet.pl> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
Hello Group,
I want read data from txt file or from textBox on my form and write this
data to commport (ex. comm1).
How programicaly use commport in C#
(open port, write, close etc.)
If You have any sample please send me link.

Thanx PawelR

Nov 17 '05 #3

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

Similar topics

0
by: Jim dunn | last post by:
HI I am having problems with C# with regards to its compatibility with win32 API methods, I am trying to read from a windows CE comm port using C# and imported methods from coredll.dll, it seems...
0
by: Al Havrilla | last post by:
i'm getting the following error from my DEBUG build of a program that ran fine under vc 6. --------------------------------- ntdll.dll!77f75a58() ntdll.dll!77f9cb5e() ntdll.dll!77f82c95()...
4
by: Pedro Silva | last post by:
Hi, I´m a newbie to vb, i´ve been using it for a while to talking to microcontrollers. In VB6 i could do this "MSComm1.output = Chr$(255)" but moving now to vb net and using the netcomm ocx...
0
by: pandi | last post by:
Hi, I am using a check scanner.It has functions which gives output like image ,checknumber. i am using serial port to get this output in my coding. My problem is i am not able to read the display...
15
by: nmsreddi | last post by:
HI, I am developing an application using C#.net2.0 FrameWork ,in which communication with GSM modem is mandatory.The main aim of my application is it should interact with GSM moden for sending...
0
by: yanz | last post by:
Hi everyOne..currently I m dOing my final yr project...I haf sOme cOdes attached..coz i realli don nOe ho to continue...can anyone help mi... Thanks!! The one is bold is where i got stuck.. ...
1
by: yanz | last post by:
Hi everyone. Hope you guys can help me. Attached below are VB6 codes for a hand phone to call to a modem. When the action is executed, a message box will pop out ‘Ring Ring’. I just want to know is...
0
by: nmsreddi | last post by:
Hi friends I am working on c#.net . i am developing a windows application using c# 2003 aim of my application is sending and receiving sms using GSM modem. for this i am using AxMscomm...
0
by: shehzadmajeed | last post by:
I am a Point of Sale Terminal Programmer/Developer and currently assigned to develop a VTI Simulator (Virtual Terminal Interface) than can exchange messages as per Specification through RS232-COM...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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:
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.