On 3/21/06 12:44 PM, "Jerry Fritschle" <[EMAIL PROTECTED]> wrote:
> My application allows the user to select files to go to an FTP > server. I've just added a method to check the file's name for > illegal characters, that will make the server gag (the forward slash > is the biggie, but I'm applying all the Windows character rules.) > > When such a file is encountered, the user is presented with a dialog, > giving the option to rename the file or skip it (the renaming button > is only enabled if the file is not locked.) > > The renaming button's Action basically goes: > > Folderitem.name=ReplaceAllB(Folderitem.name, "/", "-") Hmmm... Have you tried it using the Chr() function? f.name=ReplaceAll(f.name, Chr(57), Chr(55)) Not sure if it will solve your problem, but its worth a shot. -Seth _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
