Re: FolderBrowserDialog hangs the application
- From: "JohnR" <JohnR104@xxxxxxxxxxx>
- Date: Sun, 28 Aug 2005 20:01:37 GMT
Some additional info... this is the second time I'm posting about this
issue... the first time I tried rebooting and it seemed to work. This time
it works once after the reboot, then fails again.
I used the SysInternals process explorer to try and get some add'l info.
After the application hangs, processexplorer says that there is still 1
thread running. The info it gave was 0x7c810867 followed by
NTdll.dll!RtlConvertUiListToApiList+0x276 for the thread. When I hit the
"module" button in process explorer it caused a "Properties window" (like
when you right click a directory and hit properties) to pop up against one
of my directories! Now that is weird.
I'm in no way an windows xp internals expert but I was hoping that this
might make some sense to somebody out there.
I'm at a loss here. I can't imagine that my PC configuration is so very
different that I'm seeing a problem that nobody else is seeing.
If anybody has any ideas, I would greatly appreciate them.
Thanks, John
"JohnR" <JohnR104@xxxxxxxxxxx> wrote in message
news:WgoQe.2198$LK.1556@xxxxxxxxxxx
>I have narrowed a problem down to a simple example. A form with two
>buttons. One EXIT and one FBD. The exit button does an "END" to end the
>application. The FBD button does a FolderBrowserDialog and nothing else.
>
> When I start the application and hit EXIT everything works fine. However
> if it display the FBD box (even if I don't pick a folder and immediately
> hit cancel) and then try to exit one of two things happens. Either (1)
> the program hangs and never exits or (2) the program 'seems' to exit but
> it is still running (as seen in the tasklist), and in both cases the
> program has to be killed from the tasklist.
>
> Researching this issue, I found that there were problems associated with
> FBD where paths were > 128 chars, and also if the threading model was not
> STA. Both of these issues do not apply here. (my thread model is STA, and
> I don't even have to pick a folder for this to happen).
>
> I am running .NET 1.1 and my system.windows.forms.dll is ver
> 1.1.4322.2032.
>
> Can anybody confirm this bug, or know of a workaround? Right now, I have
> to skip the FBD entirely, and have the user just type in a folder path
> (Ugh!).
>
> Thanks for any help.
> John
>
.
- Follow-Ups:
- References:
- FolderBrowserDialog hangs the application
- From: JohnR
- FolderBrowserDialog hangs the application
- Prev by Date: Re: How do you determine what indexes exist on VFP DBF in VB.Net
- Next by Date: Re: FolderBrowserDialog hangs the application
- Previous by thread: FolderBrowserDialog hangs the application
- Next by thread: Re: FolderBrowserDialog hangs the application-more info
- Index(es):