Hi,
I have one SaveAS dialog used for creation of two files withe different extensions. In File name box I enter only file name, lats say "list", and in Save as type box there is only one option to choose for both files. It is defined like this:
saveFileDialog1.Filter = "Predefined (*.ext1 + *.ext2)|*.*"
So in code I add those extensions and have two files in the end: list.ext1 and list.ext2, no problem with that...
Problem is with that default windows message box that says "File ... already exists. do you want to replace it?"
Scenario 1: Next time when I'm saving those files, if I enter file name "list", win message will not pop out, because it is checking if file "list" (without extension) exists, and as such file does not exist, the message box is not showing up...
Another scenario is when I enter in File name box: list.ext1 - than of course win message appears (but in the end list.ex1.ext1 and list.ex1.ext2 are created...)
So, I'm wondering if there is a way to call that default win message box in first scenario (I know I can create one myself, but I would like to call the default one if possible), and to prevent from showing up in second scenario (is it maybe possible to temporary disable windows messaging? Or any better solution?)
TNX!