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 Software and Apps 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 Software and Apps' 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. 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 crashes

    I'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
    #2
  3. 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
    #3
  4. ctrain Win User

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

    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
    #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. File open dialog crashes randomly in WPF application

    in Windows 10 Gaming
    File open dialog crashes randomly in WPF application: Hi,In my application file open dialog crashes randomly in WPF application based .Net framework. In event viewer logs, it reports Access violation exception in ntdll.dllThis issue occurs only with new style file open dialog box for file dialogs from both Microsoft.Win32 and...
  3. File open dialog crashes randomly in WPF application

    in Windows 10 Software and Apps
    File open dialog crashes randomly in WPF application: Hi,In my application file open dialog crashes randomly in WPF application based .Net framework. In event viewer logs, it reports Access violation exception in ntdll.dllThis issue occurs only with new style file open dialog box for file dialogs from both Microsoft.Win32 and...
  4. Application crashes when open file dialog appears and a folder is selected

    in Windows 10 Gaming
    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...
  5. 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...
  6. 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...
  7. 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...
  8. 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)...
  9. 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?...
  10. 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...