|
Hi. I use VB5 and have sofar been able to get it to work with a lot of VB6 stuff (USB, MSWinsock v.6) but now I seem to be stuck. The original problem is the Split function which is not in VB5, but bieing a great beliver in "work arounds" I found a replacement courtesy of C. Eswar Santhosh. He has improved the Split and created the SplitString function which uses string arrays.
While I can declare string arrays in VB5 "Dim a() as String"
I can't decalre a function to return a string array "Function a(b)as String()"
I could modify my own GPS string parser instead of using SplitString, but thats no fun.
I'm was thinking - a Function to fill a Global Byte Array, and return the delimiter locations in a csv string - but then I have to parse that string and chop up the byte array and load it into a string array. (Yuckkk)
Since I'm basically autodidact, I find that I often miss very simple solutions that everybody else seems knows about. Therefore, I call upon you Vizards of VB for help.
Tom
|