From: "Matt Korth" Subject: Re: I/O Error Code 123 Date: Wednesday, January 31, 2001 12:48 PM lmaturo@athensgroup.com (Larry Maturo) wrote in <3a76f7fe$1_1@dnews>: >I am using the function SelectDirectory in Delphi 4. I am >getting I/O Error Code 123, with no additional error message >data other than that. Check the Windows error codes--Win32 error 123 is ERROR_INVALID_NAME ("The filename, directory name, or volume label syntax is incorrect."). >When I run it on my computer I don't get it, but when >someone runs my program on another computer they do >get the error. There are two possibilities that I can think of: 1. There's a character in the path you're supplying to SelectDirectory that is invalid. 2. It has nothing to do with SelectDirectory. Error 123 can also be caused by setting the current printer to the default when there is no default printer, for example. --M