I you are shelling the program, yoo could declare a variable as an object, set it equal to shell(progid...)
then set the objects visible property to false