Windows 10: Application crashes when open file dialog appears and a folder is selected

Discus and support Application crashes when open file dialog appears and a folder is selected in Windows 10 Gaming to solve the problem; I experience this issue with two programs:- Mozilla Thunderbird: when i'm trying to attach a file to an email, the dialog windows opens and the moment... Discussion in 'Windows 10 Gaming' started by Omar Pellegrinelli, Jul 3, 2024.

  1. Application crashes when open file dialog appears and a folder is selected


    I experience this issue with two programs:- Mozilla Thunderbird: when i'm trying to attach a file to an email, the dialog windows opens and the moment i select a folder the application crashes - ST Cube Programmer from ST Microelectronics: happens the same, when the file dialog appears and i select any folder the application crashesI'm running Windows 11 on an Acer Aspire 3, it's 3 years old now and never had such issues. Both applications have been installed recently 1-2 weeks ago approx. ST Cube Programmer has been uninstalled and installed again but still experience the issue.

    :)
     
    Omar Pellegrinelli, Jul 3, 2024
    #1
  2. shuggans Win User

    Opening a Folder in VC++

    Jack28,
    I would look into using a FolderBrowserDialog object in your application. This will open a dialog that lets you select a folder. Then use
    Code: FolderBrowserDialog1.selecteditem[/quote] to return the output string of the folder into a textbox, set the textbox enabled property to false so that they cannot type in the path, they have to get the path by selecting the folder using the folder browser.
    This will endure your program never throws a directory not found exception and crashing itself.
    This is what I have always doen and it works quite nicely.
     
    shuggans, Jul 3, 2024
    #2
  3. ctrain Win User
    Opening a Folder in VC++

    [/quote] to return the output string of the folder into a textbox, set the textbox enabled property to false so that they cannot type in the path, they have to get the path by selecting the folder using the folder browser.
    This will endure your program never throws a directory not found exception and crashing itself.
    This is what I have always doen and it works quite nicely. Click to expand... This is .NET, not native Win32
     
    ctrain, Jul 3, 2024
    #3
  4. Denno Win User

    Application crashes when open file dialog appears and a folder is selected

    File Open/Save Dialog causing applications to crash

    Seemingly ever since the Windows 10 Creators Update installed itself on my computer, I've been having issues when using the File Open/Save dialog. If I try and open a file, save a file, or upload a file to attach to an email, the application that I'm using will crash (whether it's Chrome, Word, Paint etc). Edge, however, works fine and weirdly, Firefox also works fine.

    I have been doing some debugging, trying to figure out what it could be, but I'm running out of things to try.

    I've tried the following:

    • Resetting folder views to default
    • Enabling "Show all Folders" in Folder View Settings
    • Starting computer in safe mode (where the dialog would work just fine)

    I have also run some tests using MS Paint. I downloaded an application called DebugDiag 2, and had that watch the mspaint process to capture the exceptions thrown when the application would crash. These are the ID's of those exceptions:

    • 0XC000001D
    • 0XC000041D

    Still using MS Paint as my test application, if I ran it as an adminstrator, I was able to use the File Open/Save dialog perfectly fine, but closing the application then reopening as a normal user would then end with the application crashing upon trying to open a file.

    Another thing I've noticed is that when I first sign into Windows, I have about 30 seconds where I can open MS Paint, and be able to use the File Open/Save dialog just fine. After that time, if I close the dialog and then try to use it again, the application will crash.

    I've read online that this issue is sometimes caused by the File Open/Save dialog trying to show a folder that no longer exists, or is on an unreachable network drive. So with that in mind, I have restarted my computer (getting that 30 seconds of grace when I first sign in) to be able to open MS Paint, and save a new file to my downloads folder, in the hopes that it would update the "last used folder". Unfortunately, this didn't solve the issue.

    Is there anything else I can try?
     
    Denno, Jul 3, 2024
    #4
Thema:

Application crashes when open file dialog appears and a folder is selected

Loading...
  1. Application crashes when open file dialog appears and a folder is selected - Similar Threads - Application crashes open

  2. Application crashes when open file dialog appears and a folder is selected

    in Windows 10 Software and Apps
    Application crashes when open file dialog appears and a folder is selected: I experience this issue with two programs:- Mozilla Thunderbird: when i'm trying to attach a file to an email, the dialog windows opens and the moment i select a folder the application crashes - ST Cube Programmer from ST Microelectronics: happens the same, when the file...
  3. When selecting File > Open in applications in Windows 11, the dialog box Jumps to Desktop

    in Windows 10 Gaming
    When selecting File > Open in applications in Windows 11, the dialog box Jumps to Desktop: Specs:Processor 12th Gen IntelR CoreTM i9-12900K 3.20 GHz Installed RAM 64.0 GB 63.8 GB usable Product ID 00355-60755-62047-AAOEM System type 64-bit operating system, x64-based processor Edition Windows 11 Pro Version 23H2 Installed on ‎2024.‎01.‎11 OS build 22631.3527...
  4. When selecting File > Open in applications in Windows 11, the dialog box Jumps to Desktop

    in Windows 10 Software and Apps
    When selecting File > Open in applications in Windows 11, the dialog box Jumps to Desktop: Specs:Processor 12th Gen IntelR CoreTM i9-12900K 3.20 GHz Installed RAM 64.0 GB 63.8 GB usable Product ID 00355-60755-62047-AAOEM System type 64-bit operating system, x64-based processor Edition Windows 11 Pro Version 23H2 Installed on ‎2024.‎01.‎11 OS build 22631.3527...
  5. Lock screen application selections not appearing

    in Windows 10 Gaming
    Lock screen application selections not appearing: When I initially updated to Windows 11, the weather would appear on the lock screen. Then, after opening the weather app and updating to my location, it updated on the lock screen as well. All was well. However, not a week later now I do not see the weather on the lock...
  6. Lock screen application selections not appearing

    in Windows 10 Software and Apps
    Lock screen application selections not appearing: When I initially updated to Windows 11, the weather would appear on the lock screen. Then, after opening the weather app and updating to my location, it updated on the lock screen as well. All was well. However, not a week later now I do not see the weather on the lock...
  7. Applications crash during file open dialogs

    in Windows 10 Network and Sharing
    Applications crash during file open dialogs: Windows10 Home Version 10.0.17134 In Chrome and in Cybershot PowerDirector17 (a video editor application), when I try to change a path (switch from one directory to another) in a file open dialog, the application crashes. It's so bad I don't use Chrome (Liking Edge a lot)...
  8. Open/Save Dialog not showing all folders/files

    in Windows 10 Network and Sharing
    Open/Save Dialog not showing all folders/files: I have a lot of files stored on a flash drive in briefcases. However, the open/save as dialogs do not display all available folders. Why is that? What can I do to correct this major headache?...
  9. Applications crash when using system file dialog (opening/saving)

    in Windows 10 Support
    Applications crash when using system file dialog (opening/saving): I first noticed this in Chrome, thinking it was an issue with Chrome 57 (I couldn't attach files to emails because when I clicked to choose my file, Chrome would just crash). I've since noticed that it is a Windows issue after I tried to save a Photoshop image that I had...
  10. File Explorer crash when selecting files

    in Windows 10 Support
    File Explorer crash when selecting files: Hi Guys, I have encountered this problem (in thread line) for the past 3-5 days and I have come no closer to any solution during that period of time. Basically, as soon as I left click or right click on a file in Windows Explorer it will crash. My Windows icon in the...