Does anyone know of a way to pass a return value through an executable? I would like to create a VB .exe program and call it from another program and pass a 1 or 0 back to the calling program. I know how to return with errorlevels which would work if I want to call it from a DOS batch file, but I was wondering if anyone knows of a different way!?