Robby here...I had a hard time merging these threads, so I'm invading your post Divil.
This is a spin-off from another thread.
The discussion is:
- Using Option Strict On
- Using VB functions such as Mid$, Left$, Len, CInt, Clng, MsgBox etc...
________________________________End of Robby's note:
When you stop relying on VB doing the work for you :P
Turn on Option Strict, always. It stops you doing bad things like mixing data types and not explicitly converting.