On 09/05/07, Michel Claveau <[EMAIL PROTECTED]> wrote: > I'have a problem with this code : > > import win32gui > fname=win32gui.GetOpenFileNameW(InitialDir="C:\\dev")[0] > print fname > > The InitialDir is not set. It's already the last dir opened, and not my > request. > > Any idea ? Thanks by advance.
You're using the ...W form. Shouldn't you therefore be using a unicode string for InitialDir? Paul. _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32