Is there no Instr fucntion for VB 2005, if not would this roughly do the trick, havent' tested it?
VB Code:
Private Function Instr(byval TargetString as String, byval StringToFind as string) as Boolean For i as integer = 1 to TargetString.length If not StringToFind.length + i > TargetString.length then If TargetString.substring(i,StringToFind.length) <> string.empty then return true exit for End if End if Next End Function
I looks like you dispose of objects now which completly erases them from memory, so what is the need for a?VB Code:
set myObj = nothing
have they done away with API Dec's you just use Import now right as in C++ ?
