File Open Dialog Box

I have been trying to programmatically populate the File/Opendialog box using swApp::GetOpenFileName; for example:

fName = swApp.GetOpenFileName ("Open File", "123456","*.SLDASM|*.SLDASM", 0, options, cName, dName)

This populates the File Type dropdown listbox with *.SLDASM, butdoesn't populate the File Name dropdown listbox. Does anyone knowhow to populate the File Name box, or am I going about thiscompletely the wrong way? Should I callswApp.SetCurrentWorkingDirectory, or SetPromptFilename? Pleaseadvise!

Thanks!!SolidworksApi macros