I could not find anything in your book about the string manipulation functions, so I went to the
VB 2005 Online Help instead. According to Microsoft "Help" all these 1-based functions still exist in
VB -- including Mid(), Left(), and Right(). Of course there are additional 0-based "methods" of string objects that do similar functions now.
Much of my old
VB 6.0 Code is full of string manipulations, parsing the commands and responses to and from devices with serial port or ethernet interfaces. When I try to use these functions in my
VB 2005 the Mid() function works, but the Left() and Right() functions do not. Intellisense finds valid Left() and Right() functions -- but these have nothing to do with strings.
Do you know why this compatibility problem exists, and can you verify that it exists or not in you own version of
VB 2005?
Truman Byron Thomas