Hi all, It's been a while since I have been using basic4ppc & visited this forum. In the meantime I can see so much has happened.. Anyway, I have attempted to upgrade a program I was writing in version 4 to version 5. After debugging the initial program errors associated with the new compiller I was able to run the program. Unfortunately I encounter an error during the run which I have never seen before. "Input string was not in the correct format" appears after returning from a subroutine. I have single stepped my way through the subroutine which opens a form which itself opens a subroutine & then another. As I step through the code it returns back along the path closing respective subs until it comes back to the original subroutine call instruction- thats when I get this error. The error allows me to continue & everything seems to function correctly until it comes up again & again as more subs are called. I suspect a stack return problem but can't understand why it would work fine in version 4 & not in 5. I apologize if this has been covered elsewhere, I searched for it but haven't found what I'm looking for. Any ideas?