Windows 10: The Functionality For Opening a File Dialog Box Using the GetOpenFileNameW Is Broken

Discus and support The Functionality For Opening a File Dialog Box Using the GetOpenFileNameW Is Broken in Windows 10 Software and Apps to solve the problem; In the current update of Windows 10 when a program calls the GetOpenFileNameW function from the Comdlg32.lib library, it is not giving the expected... Discussion in 'Windows 10 Software and Apps' started by Suzy Bolo, Mar 12, 2023.

  1. Suzy Bolo Win User

    The Functionality For Opening a File Dialog Box Using the GetOpenFileNameW Is Broken


    In the current update of Windows 10 when a program calls the GetOpenFileNameW function from the Comdlg32.lib library, it is not giving the expected behavior. It will open the file browser as expected, but then after a second, the file browser will freeze, then the program will crash. Can someone please look into this and see if there's some kind of bug in Windows causing it? If you want to recreate this issue, I have written the following extremely simple program to demonstrate it.:#include <windows.h>int main { wchar_t Filename[500]; OPENFILENAMEW ofn; ZeroMemory&ofn, sizeofofn

    :)
     
    Suzy Bolo, Mar 12, 2023
    #1
  2. David Haz Win User

    Open and Save As Dialog Boxes not working

    Hello,

    If the Open and Save As dialog boxes are not appearing, there might be a process or service that is conflicting with that function of Windows. We recommend that you perform a clean boot of Windows. This would aid eliminate software conflicts that occur when
    using Windows.

    Note: Your computer may temporarily lose some functionality when performing a clean boot. If you start the computer normally, the functionality returns. However, you may receive the original issue.

    Here's how to perform a clean boot environment in Windows 10:

    • Press the Start button, then type msconfig, and select
      System Configuration from the search results.
    • On the Services tab of the System Configuration
      dialog box, click to select the Hide all Microsoft services check box, then select
      Disable all.
    • On the Startup tab of the System Configuration
      dialog box, click Open Task Manager.
    • On the Startup tab in Task Manager, for each startup item, select the item and then click
      Disable.
    • Close Task Manager.
    • On the Startup tab of the System Configuration
      dialog box, click OK, and then restart your computer.

    After performing a clean boot environment of Windows, see if the Open
    and Save As dialog boxes work as they should be. If it works, then you may follow the steps below on how to determine what is causing the problem while in a clean boot environment:

    • Log on to the computer by using an account that has administrator rights.
    • From Start. search for msconfig, then select
      msconfig or System Configuration from the search results.
    • Click the Services tab, and then click to select the
      Hide all Microsoft services
      check box.
    • Click to select the upper half of the check boxes in the Service list.
    • Click OK, and then click Restart.
    • After the computer finishes restarting, determine whether the problem still occurs.
      • If the problem still occurs, repeat steps 1 through
        5
        , but clear the lower half of the check boxes in the Service
        list that you originally selected.
      • If the problem does not occur, repeat steps 1 through
        5
        , and select only the upper half of the remaining check boxes that are cleared in the
        Service list. Repeat these steps until you have selected all the check boxes.
      • If you still experience the problem when only one service is selected in the
        Service
        list, this means that the selected service causes the problem, and you should go to step
        10. If no service causes the problem, go to step 7.
    • Repeat steps 1 and 2 in this section.
    • Click the Startup tab, then click to select the upper half of the check boxes in the
      Startup Item list.
    • Click OK, and then click Restart.
      • If the problem still occurs, repeat steps 7 and 8, but clear the lower half of the checked boxes in the
        Startup Item list that you originally selected.
      • If the problem does not occur, repeat steps 7 and 8, and select only the upper half of the remaining check boxes that are cleared in the
        Startup Item list. Repeat these steps until you have selected all the check boxes.
      • If you still experience the problem after only one Startup Item
        is selected in the Startup Item list, this means that the selected
        Startup Item causes the problem, and you should go to step
        10
        .
      • If no Startup Item causes the problem, a Microsoft service probably causes the problem. To determine which Microsoft service may be causing the problem, repeat steps
        1 through 6 without selecting the Hide all Microsoft services
        check box in each step.
    • After you determine the startup item or the service that causes the problem, contact the program manufacturer to determine whether the problem can be resolved. Or, run the
      System Configuration utility, and then click to clear the check box for the problem item.

    If you need further assistance, feel free to ask us.

    If you think this was useful, feel free to mark it as an answer to help those who are facing the same problem.
     
    David Haz, Mar 12, 2023
    #2
  3. Alvan Z Win User
    run cmd files should show modal or modeless dialog boxes?

    I noticed odd behaviour with the "open file security warning" dialog box, but it can happen to other dialog boxes as well.

    Here are the steps to reproduce:

    1. Create a .cmd file in which you call a 'blocked' installer with a dialog box.
    2. If you just Run the cmd-file, you will get the "open file security warning" in a modal dialog box, which is a good thing, I think: The user will always see the dialog box. But if you Run as administrator, the dialog boxes are shown in a modeless state.
      In this way the dialog boxes can be in the background and the user can wait forever, because it is possible he/she doesn't notice the dialog box (behind the command prompt).

    Is this wanted behaviour or is this a bug?

    BTW I am using Windows 10 1809 (Microsoft Windows [Version 10.0.17763.805])
     
    Alvan Z, Mar 12, 2023
    #3
  4. LauraWan Win User

    The Functionality For Opening a File Dialog Box Using the GetOpenFileNameW Is Broken

    Dialog Box Save/Open

    When saving or opening a file you are promoted with a dialog box, beside the file name there is a text box and beside the text box there is down arrow that will list all your recent saved or open files with it's path, how do I not have them be saved
    in the drop down list? I know how to disable the jump list in Windows 10 by turning of Show recently opened items in Jump Lists on Start or the taskbar by the toggle button so that it says Off. That doesn't clear the list that I want it to.

    Example in photo (Yes I am aware that is Windows 8/8.1 but I have Windows 10):


    The Functionality For Opening a File Dialog Box Using the GetOpenFileNameW Is Broken 866e2dca-7080-43d0-adc1-ba806bdcfe67?upload=true.png
     
    LauraWan, Mar 12, 2023
    #4
Thema:

The Functionality For Opening a File Dialog Box Using the GetOpenFileNameW Is Broken

Loading...
  1. The Functionality For Opening a File Dialog Box Using the GetOpenFileNameW Is Broken - Similar Threads - Functionality Opening File

  2. The Functionality For Opening a File Dialog Box Using the GetOpenFileNameW Is Broken

    in Windows 10 Gaming
    The Functionality For Opening a File Dialog Box Using the GetOpenFileNameW Is Broken: In the current update of Windows 10 when a program calls the GetOpenFileNameW function from the Comdlg32.lib library, it is not giving the expected behavior. It will open the file browser as expected, but then after a second, the file browser will freeze, then the program...
  3. The Functionality For Opening a File Dialog Box Using the GetOpenFileNameW Is Broken

    in Windows 10 BSOD Crashes and Debugging
    The Functionality For Opening a File Dialog Box Using the GetOpenFileNameW Is Broken: In the current update of Windows 10 when a program calls the GetOpenFileNameW function from the Comdlg32.lib library, it is not giving the expected behavior. It will open the file browser as expected, but then after a second, the file browser will freeze, then the program...
  4. No thumbnail in Open Dialog Box of image files

    in Windows 10 Software and Apps
    No thumbnail in Open Dialog Box of image files: Recently, opening image files will not show a thumbnail of the actual photo, but a generic picture icon. I have not changed any default image settings.....
  5. No thumbnail in Open Dialog Box of image files

    in Windows 10 Customization
    No thumbnail in Open Dialog Box of image files: Recently, opening image files will not show a thumbnail of the actual photo, but a generic picture icon. I have not changed any default image settings.....
  6. No thumbnail in Open Dialog Box of image files

    in Windows 10 Gaming
    No thumbnail in Open Dialog Box of image files: Recently, opening image files will not show a thumbnail of the actual photo, but a generic picture icon. I have not changed any default image settings.....
  7. Dialog boxes will not open

    in Windows 10 BSOD Crashes and Debugging
    Dialog boxes will not open: I'm using Windows 10 on an ASUS VivoBook. Sometime in the past few months, dialog boxes for Snip & Sketch and the HP Smart app have stopped working. When I click save on either of these apps, instead of a dialog box coming up for me to rename the file and choose where to save...
  8. Dialog boxes will not open

    in Windows 10 Drivers and Hardware
    Dialog boxes will not open: I'm using Windows 10 on an ASUS VivoBook. Sometime in the past few months, dialog boxes for Snip & Sketch and the HP Smart app have stopped working. When I click save on either of these apps, instead of a dialog box coming up for me to rename the file and choose where to save...
  9. File Open Dialog Box Issues

    in Windows 10 Network and Sharing
    File Open Dialog Box Issues: Since today I've noticed that the Windows file open dialog box crashes the app calling it. For example, I use Soundforge Pro 11 and if I click the icon or the menu item for file open, the dialog appears followed by an error message from the application saying the program has...
  10. Dialog Box Save/Open

    in Windows 10 Customization
    Dialog Box Save/Open: When saving or opening a file you are promoted with a dialog box, beside the file name there is a text box and beside the text box there is down arrow that will list all your recent saved or open files with it's path, how do I not have them be saved in the drop down list? I...