openfiledialog box double click bug. RRS feed

  • Question

  • I am having a problem with the openfiledialog function.

    If I double click on a file then the dialog box just reopens again.

    If I single click on the file I want then click on open it works fine.

    I am using .net v4 and WPF.

       //{input library name}
                System.Windows.Forms.OpenFileDialog openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
                openFileDialog1.InitialDirectory = drivestring + @"pcbcad50\";
                openFileDialog1.Filter = "PCB library files |*.plb";

    Wednesday, March 7, 2012 9:50 PM


  • Hi,

    You approached us with the problem about development. Unfortunately, our forum is used to discuss Windows 7 related issue. I suggest that you post your question to MSDN forum:

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.

    William Tan

    TechNet Community Support

    • Marked as answer by Arthur Xie Friday, March 16, 2012 8:30 AM
    Monday, March 12, 2012 2:17 AM