SaveFileDialog issue

G

gopal

Hi,

I have posted this query more than once and i have not got any possible
answers, hints so that i can proceed further

I have a simple windows application in C# with a SaveFileDialog control
in it. The problem is when i display the SFD i see the all the files
displayed with complete path in

file name - combo box. i mean the files shld be displayed only without
the complete path like we see in the MS- word Application.

When the Save As button is clicked in MS-word, SFD is displayed and
when the combo box is clicked it displays the files but with ONE BIG
DIFFERENCE - it displays only the FILENAMES but without the COMPLETE
PATH..

Please can some one help me on this. pls post if my query is not
clear..

Thanks
JP
 
N

Nicholas Paldino [.NET/C# MVP]

JP,

You have asked this a number of times, with no response, or an
unsatisfactory one (in your eyes). It would indicate that chances are there
isn't a good way of going about and doing it.

If you run Spy++ and look at the dialog that comes up, you will see that
it is a custom window class in Word, which means that they more than likely
implemented it themselves.

I would look into how you can hook the standard save file dialog. Look
at the GetSaveFileName API function and use the hooks provided there to do
what you are looking for.
 
G

gopal

iwould definitely look into this.. thnaks a lot..
Nicholas said:
JP,

You have asked this a number of times, with no response, or an
unsatisfactory one (in your eyes). It would indicate that chances are there
isn't a good way of going about and doing it.

If you run Spy++ and look at the dialog that comes up, you will see that
it is a custom window class in Word, which means that they more than likely
implemented it themselves.

I would look into how you can hook the standard save file dialog. Look
at the GetSaveFileName API function and use the hooks provided there to do
what you are looking for.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

gopal said:
Hi,

I have posted this query more than once and i have not got any possible
answers, hints so that i can proceed further

I have a simple windows application in C# with a SaveFileDialog control
in it. The problem is when i display the SFD i see the all the files
displayed with complete path in

file name - combo box. i mean the files shld be displayed only without
the complete path like we see in the MS- word Application.

When the Save As button is clicked in MS-word, SFD is displayed and
when the combo box is clicked it displays the files but with ONE BIG
DIFFERENCE - it displays only the FILENAMES but without the COMPLETE
PATH..

Please can some one help me on this. pls post if my query is not
clear..

Thanks
JP
 

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