How to each file that is saved (savedialog) to direction, example :

C:\Example\example.pdf

Are you trying to force the file there or use that as a default location?

You can do something like this:

SaveFileDialog sfd = new SaveFileDialog();
sfd.InitialDirectory = "c:\\Example";
sfd.ShowDialog();

Then the user can choose the name.
OR you can just save the file without using a dialog (if you already know what name it's going to be).

Thanks!!!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.