HWND(0) for the first argument - then any windows are parented by the desktop NULL is usually fine for the directory parameter - it's the 'default directory' (i.e. if you were at the command prompt, it's what would be listed if you did 'dir .'), which is usually not needed if you've specified an absolute path (i.e. drive:\path...\filename.extension or \\server\path...\filename.extension for the file parameter). To get the current directory (if you need to), use the GetCurrentDirectory Win32 function. Stuart Dootson 'Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p'