G
Guest
I'm working in Visual Studio 2005 and C#.
I'm working in an application that automatically saves a file to a specific
directory.
I've seen other applications that can detect if a file of the same name
already exists, and if so, adds a number to the filename. For example, if
foo.doc already exists, the application is smart enough to save the new file
as foo[1].doc.
Is there some bit of magic in FileWriter to ensure saving to a unique name,
or do I need to use something like FileWatcher and add my own version number
to ensure a unique filename?
Thanks,
Randy
I'm working in an application that automatically saves a file to a specific
directory.
I've seen other applications that can detect if a file of the same name
already exists, and if so, adds a number to the filename. For example, if
foo.doc already exists, the application is smart enough to save the new file
as foo[1].doc.
Is there some bit of magic in FileWriter to ensure saving to a unique name,
or do I need to use something like FileWatcher and add my own version number
to ensure a unique filename?
Thanks,
Randy