Progress bar with file save common dialog

R

reshm

In my application i have file save & file open button
i use common dialog box to save the file but simultaneously i want to
show progrss bar to show the progess. how can i do?
 
M

Markus Stoeger

reshm said:
In my application i have file save & file open button
i use common dialog box to save the file but simultaneously i want to
show progrss bar to show the progess. how can i do?

What exactly do you want to show the progress of? Opening a file only
takes a few milliseconds, normally. Processing the file might take much
longer, depending on what you are doing with it. If you want to show a
progess bar for that, I'd wait until the "save dialog" is closed and
then open another (my own) form that has a progress bar on it.

hth,
Max
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

IIRC the common dialogs are sealed so you cannot extend it.

What you can do is prompting the dialog to create the file then close it and
open a new dialog where you have your progress bar ( a la win explorer)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top