serial communication in window form
-
i want to ask... can i do serial comunication by using normal window form application using VC++ 2008 because there has an icon in the toolbox show about serialPort.. how ican i do the communication in window form...
zaftblitz wrote:
can i do serial comunication by using normal window form application
Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Why are you using VB6? Do you hate yourself? (Christian Graus) -
zaftblitz wrote:
can i do serial comunication by using normal window form application
Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Why are you using VB6? Do you hate yourself? (Christian Graus) -
Yes, the class I linked to is part of the .NET framework :thumbsup:
Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Why are you using VB6? Do you hate yourself? (Christian Graus) -
Yes, the class I linked to is part of the .NET framework :thumbsup:
Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Why are you using VB6? Do you hate yourself? (Christian Graus) -
could you give me some example or link to do serial COM just using normal window form application. actually, what i want to o is to communnicate between PC and microcontroller.
there are many different kinds of applications and ways to communicate over RS232C or some other serial standard, and you did not provide a single detail. So I suggest you pick a few from this list[^] and read what you like there. Warning: if you haven't done it before, serial communication on Windows can be quite complex to get it right almost all of the time, it depends on how high the load is (needed throughput versus available throughput), and how well your messages are structured (assuming a message oriented protocol of some kind). :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
Happy New Year to all.
We hope 2010 soon brings us automatic PRE tags!
Until then, please insert them manually.
-
there are many different kinds of applications and ways to communicate over RS232C or some other serial standard, and you did not provide a single detail. So I suggest you pick a few from this list[^] and read what you like there. Warning: if you haven't done it before, serial communication on Windows can be quite complex to get it right almost all of the time, it depends on how high the load is (needed throughput versus available throughput), and how well your messages are structured (assuming a message oriented protocol of some kind). :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
Happy New Year to all.
We hope 2010 soon brings us automatic PRE tags!
Until then, please insert them manually.
-
there are many different kinds of applications and ways to communicate over RS232C or some other serial standard, and you did not provide a single detail. So I suggest you pick a few from this list[^] and read what you like there. Warning: if you haven't done it before, serial communication on Windows can be quite complex to get it right almost all of the time, it depends on how high the load is (needed throughput versus available throughput), and how well your messages are structured (assuming a message oriented protocol of some kind). :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
Happy New Year to all.
We hope 2010 soon brings us automatic PRE tags!
Until then, please insert them manually.
-
from the link that you been given before, there more to c# not c++ what i want to do is in VC++ 2008. could you or anyone help me. PLEASE..................
Obviously you don't need .NET to access Windows serial ports, however I haven't done that in the last 10 years, and I don't keep any example around. I suggest you use Google (or maybe the CodeProject search facilities) to find relevant articles. IIRC you would need CreateFile (with a special filename), ReadFile, WriteFile and the like. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
Happy New Year to all.
We hope 2010 soon brings us automatic PRE tags!
Until then, please insert them manually.