VB 2008 serial port object
Hi all,
This is a question, but sort of a rant as well. Has anyone used the serial port object in the toolbox that ships with Visual Basic 2008?
I recently developed a program for a pocket PC 2003 HP to gather data remotely from a propeller chip device.
In the developement cycle I normally operate a port at 9600 baud ( leaveing speed errors out of the process until I have a working app). When I got ready to beef up the speed I am told by the IDE that the maximum value for baudrate is 65535!.............
This object is in Visual Studio for pete's sake!!!!!!!! I have run the·Propeller chip at > 400K and yet an object in an IDE made for XP and Vista Post OS's is limited to a 16 bit value!!!!! What are they smoking?
I have since resorted back to an object wrote by Ricard Grier called CfSerialClass that I used with Visual Basic 2003 When it didn't include a serial port object! It is a great object but lacks a Threshold paremeter that would be quite usefull!
Anyway, Does anyone have a better object or work around that will work on Smart Devices!
Thanks
This is a question, but sort of a rant as well. Has anyone used the serial port object in the toolbox that ships with Visual Basic 2008?
I recently developed a program for a pocket PC 2003 HP to gather data remotely from a propeller chip device.
In the developement cycle I normally operate a port at 9600 baud ( leaveing speed errors out of the process until I have a working app). When I got ready to beef up the speed I am told by the IDE that the maximum value for baudrate is 65535!.............
This object is in Visual Studio for pete's sake!!!!!!!! I have run the·Propeller chip at > 400K and yet an object in an IDE made for XP and Vista Post OS's is limited to a 16 bit value!!!!! What are they smoking?
I have since resorted back to an object wrote by Ricard Grier called CfSerialClass that I used with Visual Basic 2003 When it didn't include a serial port object! It is a great object but lacks a Threshold paremeter that would be quite usefull!
Anyway, Does anyone have a better object or work around that will work on Smart Devices!
Thanks
Comments
see attached ..
social.microsoft.com/Forums/en-US/netfxbcl/thread/3eeb427d-6540-4bc0-91af-b124d35e9075
Regards,
John Twomey
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
'Necessity is the mother of invention'
Those who can, do.Those who can’t, teach.
Post Edited (QuattroRS4) : 3/9/2009 4:36:42 PM GMT
I don't understand though. With the CfSerial object I can run up in the 900k's, Same machine! I of course couldn't do that on the target machine. But I will look for an upgraded driver anyway.
Thanks again.
Thanks QuattroRS4
So far as I know the PDA comport is adjusted solely by software and I have not found a property setting that will allow me to change the default baudrate for the device. I may end up having to Buy Richards book so I can see how his object gets around this limitation!