View Single Post
  #1   Report Post  
Posted to microsoft.public.vb.general.discussion,microsoft.public.excel.programming
Nick Cranham Nick Cranham is offline
external usenet poster
 
Posts: 62
Default GetSaveFileName across mixed language network

Any help appreciated with this:
Using the above API to get a path/filename to save an Excel file to. As my
computer (and 1 other) runs English W2K, whilst the rest of network runs
Chinese W2K, it is possible to return a path that contains Chinese
characters.
Using lpstrFile returned from the OPENFILENAME type contains "???", which
then errors, with ..."illegal characters [/\?]"...

Using VBA to call Excel's built in Application.GetSaveAsFilename (which I
imagine is practically the same as calling the API) also errors.

Automation errors also.

NickHK