Cheers, Guys. Still no luck really, the file being saved is going into the users My_Documents folder, and the full path from c:\ to the end of the file extension is 68 characters when the file worked, and 70 characters when it fails.
I did see someone mention about slow machines causing problems. Anybody? Regards, Andy. -----Original Message----- From: Daniel Nelson [mailto:[EMAIL PROTECTED] Sent: 10 September 2003 21:59 To: [EMAIL PROTECTED] Subject: Re: <lingo-l> FW: File IO - bad filename Hi Andy, Was the problem encountered during createFile or openFile? I've recently found that using baShortFileName is necessary in openFile() on Windows machines, but needs to be avoided in createFile(). Are you using baShortFileName at all? If the path they are saving is longer than--if I recall correctly--127 characters, it will be a bad file name. It is very possible to have a problem on the same machine with two different filenames simply because one filename pushes the total file path above this maximum, and the other doesn't. Regards, Daniel [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
