RE: Maintain current directory when canceling Form

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Since I am just a layperson that has written some code and not a programmer,
I could use some help in how to go about this.

Thanks...

"Anand.V.V.N" wrote:

> Hi,
>
> What you can do is have a global variable or a static variable that would
> store the current directory value, and set the value in your cancle button
> click,
> and eveytime you have disply your dialog box, you can use api to set the
> current directory path to the value stored in the variable if it has some
> value stored in it, otherwise you can let it take the default directory.
>
> Hope that was helpful.
>
> Anand
.



Relevant Pages