OPenFileDialog in win 7

Posted by dr_csharp on Stack Overflow See other posts from Stack Overflow or by dr_csharp
Published on 2010-06-08T06:18:25Z Indexed on 2010/06/08 6:22 UTC
Read the original article Hit count: 299

Filed under:

hi friends whats wrong with OpenFileDialog in win 7 ? i used to do like this :

        OpenFileDialog file = new OpenFileDialog();

        file.InitializeLifetimeService();

        file.InitialDirectory = Application.StartupPath;

        file.ShowDialog();

but in win 7, programe goes to "not responding" state. thanks

© Stack Overflow or respective owner

Related posts about c#