Altman,
VS.NET 2005 has a managed SerialPort class (aka comm), no need for an
activeX control.
http://msdn2.microsoft.com/library/30swa673.aspx
The new SerialPort class appears to be even easier then the old activeX comm
control! At the very least you are NOT dealing with COM interop!
Unfortunately I have not used it much yet to answer DraguVaso's question.
Hope this helps
Jay
"Altman" <NotGiven@SickOfSpam.com> wrote in message
news:%23YdPgoipEHA.800@TK2MSFTNGP14.phx.gbl...[color=blue]
> Have you looked at Microsoft comm control activeX. It makes it real easy
> to communicate to the serial port. Once you are connected you set the
> output property to what you are sending and then the input property
> contains what has been sent back.
>
>
>
> "DraguVaso" <pietercoucke@hotmail.com> wrote in message
> news:O65VF0hpEHA.1816@TK2MSFTNGP09.phx.gbl...[color=green]
>> Hi,
>>
>> I'm experimenting with the Serial Port in VB.NET 2005. Although it isn't
>> that easy to get any feedback from my COM-port as I thought it would
>> be...
>>
>> How can I read all the Data that the port sends back?
>>
>> I tryed with SerialPort1.ReadLine, but that blocks the application and
>> takes
>> a lot of time (10 seconds!), I tryed SerialPort1.Read, but I have to read
>> it
>> into a buffer and has to indicate the count, but how do I know this?
>>
>> Does anybody knows a nice way to send and receive smoothly all the data
>> from
>> the SerialPort?
>>
>> Thanks a lot in advance,
>>
>> Pieter
>>
>>[/color]
>
>[/color]