Is there a built in .NET function to get a unique filename if a filename already exists? So if I try and save MyDoc.doc and it already exists, the file will sav
MyDoc.doc
I don't know, but it's not hard to build one yourself:
if filename does not exists then save file as filename else n = 1 while filename(n) exists: n += 1 save file as filename(n)