Now that you mention it, a command-line tool would be a lot easier to use. But you're right in that the tricky part is getting the return value from the command-line. There's really no "safe" place to put it.

So assuming the ActiveX object is the safest thing to go with, can you think of any other methods or properties that should be put in there besides the ones previously mentioned?
_________________________
Stevie