>George, Thanks for the reply, which confuses me a little. It seems the "1" value I was using should be the right value. The "0" (SW_Hide) would at first glance seem to "hide" the window. Obviously, since that is not what occurs when you use it, I must be wrong. Where do I find the SDK definitions for Shellexecute?
>
Kevin,
Without seeing the other code, I can't say what's going on, but SW_HIDE does what it says.
Here's a line to the ShellExecute description in the Platform SDK.
http://msdn.microsoft.com/library/psdk/shellcc/shell/Functions/ShellExecute.htm
George
Ubi caritas et amor, deus ibi est