Home All Groups Group Topic Archive Search About
Author
17 Jun 2009 2:56 PM
friend
Hello All,
Please can someone give the information on serialport implementation
in vista in vs2005

Author
17 Jun 2009 3:31 PM
Patrice
Hi,

Are you looking for
http://msdn.microsoft.com/en-us/library/system.io.ports.serialport(VS.80).aspx ?

Else you may want to be a bit more explicit about what the problem is ? (do
you have a Vista specific problem ?)

--
Patrice

"friend" <lavanyaredd***@gmail.com> a écrit dans le message de groupe de
discussion :
67719edd-a0fe-4f6f-ac7b-e9f051010***@g1g2000yqh.googlegroups.com...
Show quoteHide quote
> Hello All,
> Please can someone give the information on serialport implementation
> in vista in vs2005
Author
18 Jun 2009 6:39 AM
friend
Show quote Hide quote
On Jun 17, 5:31 pm, "Patrice" <http://www.chez.com/scribe/> wrote:
> Hi,
>
> Are you looking forhttp://msdn.microsoft.com/en-us/library/system.io.ports.serialport(VS...?
>
> Else you may want to be a bit more explicit about what the problem is ? (do
> you have a Vista specific problem ?)
>
> --
> Patrice
>
> "friend" <lavanyaredd***@gmail.com> a écrit dans le message de groupe de
> discussion :
> 67719edd-a0fe-4f6f-ac7b-e9f051010***@g1g2000yqh.googlegroups.com...
>
> > Hello All,
> > Please can someone give the information on serialport implementation
> > in vista in vs2005
>
>

When I use bytestoRead or read methods then the application gets
blocked. Since those commands are limited to xp.
I dont know what commands must be used to recieve the reponse from
connected host.
Author
18 Jun 2009 9:44 AM
Patrice
What makes you think those methods are not usable under Vista ? So how other
applicaitons would use the serial port under vista if you are not even able
to read from the port ???

I don't have Vista but the documentation doesn't mention such a limitation.
Are you sure you don"'t hide exceptions ? Under whihc account are you
running etc... Do you have something that would show that the port is
operational (for example the BIOS could perhaps have the port disbaled
etc...);. IMHO it is unlikely an API problem...


--
Patrice

"friend" <lavanyaredd***@gmail.com> a écrit dans le message de groupe de
discussion :
7adcee33-d9f7-4829-800a-b4d7273fa***@r16g2000vbn.googlegroups.com...
Show quoteHide quote
> On Jun 17, 5:31 pm, "Patrice" <http://www.chez.com/scribe/> wrote:
>> Hi,
>>
>> Are you looking
>> forhttp://msdn.microsoft.com/en-us/library/system.io.ports.serialport(VS...?
>>
>> Else you may want to be a bit more explicit about what the problem is ?
>> (do
>> you have a Vista specific problem ?)
>>
>> --
>> Patrice
>>
>> "friend" <lavanyaredd***@gmail.com> a écrit dans le message de groupe de
>> discussion :
>> 67719edd-a0fe-4f6f-ac7b-e9f051010***@g1g2000yqh.googlegroups.com...
>>
>> > Hello All,
>> > Please can someone give the information on serialport implementation
>> > in vista in vs2005
>>
>>
>
> When I use bytestoRead or read methods then the application gets
> blocked. Since those commands are limited to xp.
> I dont know what commands must be used to recieve the reponse from
> connected host.
Author
17 Jun 2009 4:31 PM
Dick Grier
Tell me more about what you want to know.

I have example code on my homepage, if that is what you need -- and much
more detailed information in my book (see below).  However, perhaps there is
something else that you need?

Dick

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.