Groups | Blog | Home
all groups > dotnet general > may 2004 >

dotnet general : OpenFileDialog - MyDocument Problem.


Rajendra KASHI
5/3/2004 10:51:02 PM
Hi,
I am currently supporting one of the .Net application build with C# language. The application uses lots of
delegates, in using the delegates the ShowDialog of the OpenDialogControl hangs the Application when users
click on MyDocument button. If any body came across this issue or related, please reply the hits or solution to this

Thanking you
Regards
Cor Ligthert
5/4/2004 10:30:44 AM
Hi Jajendra,

You mean it hangs only when you choose the MyDocuments folder and with all
others it run, sound weird.

Cor

Rajendra KASHI
5/4/2004 5:59:05 PM
Hi Cor,

Yes it hangs up the application, not other. And other thing I found with
OpenFileDialog LookIn drop down takes more than 20 - 30 seconds to list
the drivers and in that time when users click on MyDocument it stuffs
the application. I spent somemore time and found that OpenFileDialog
sets current directory so when you visit next time it opens up the same
directory rather than degault c:\. It is good, but I was thinking if it
failed any time by selecting read only file than it might not able to
reset the current directory. So next time user visit, since it is not
reset it hangs. I could produce the bug not very often like 1 in 5
times. Please if you have any idea where to seek the resolution, kindly
pass it on.

Rajendra

*** Sent via Developersdex http://www.developersdex.com ***
Cor Ligthert
5/5/2004 10:33:22 AM
Hi Rajen,

I thought that i have seen this message before when it was about a network
directory, can it be like that.

Cor

Rajendra KASHI
5/5/2004 5:01:08 PM
Hi Cor

Yah, you are right. How did you tackle the issue. Please can you send me the details if any resolution behind
this mystry

AddThis Social Bookmark Button