-
Prashant Wankhede
vb.net access-violation openfiledialog
I would really appreciate your help here. My application is as follows,Operating System: Windows 7 64 Bit OS Visual Studio: VS 2012 Application: VB.Net running on .Net framework 4 In my application, I have a button which calls my custom method ‘Select_Batch_File()’. Once this button is clicked it supposes to open the ‘OpenFileDialog’ to select particular file. This works fine on my machine with above configuration however; on some of my colleagues machine (with same configuration above) this do
-
Dave
wpf visual-studio-2010 .net-4.0 crash openfiledialog
I’ve got a strange problem I haven’t seen before. I can open an OpenFileDialog in Windows 7 without any problems. However, when I try my app on Windows XP, calling OpenFileDialog.ShowDialog() immediately crashes the application. It just vanishes! When running from the debugger, I don’t get any unhandled exceptions. If I wrap the code in a try/catch block, nothing gets caught. I have also checked all thrown exceptions in Debug -> Exceptions, but nothing pops up. I’ll try some of the other
-
Pars.Engineer
c# memory openfiledialog
recently in my project when I call ShowDialog method of OpenFileDialog I get this error:”Attempted to read or write protected memory. This is often an indication that other memory is corrupt.”I have been searching all over the web before now but my problem did not solve. Also I installed microsoft patch, but because my project is in .Net 3.5, it was not useful.Code Sample:OpenFileDialog OFD = new OpenFileDialog(); OFD.ShowDialog();Thanks for any help.
-
Luke Baulch
c# silverlight debugging silverlight-3.0 openfiledialog
A while back I wrote a silverlight user control which had a csv import/export feature. This has been working fine, until recently I discovered it erroring in one scenario. This may have been due to moving to Silverlight 3. The Error: Message: Unhandled Error in Silverlight 2 Application Code: 4004 Category: ManagedRuntimeError Message: System.Security.SecurityException: Dialogs must be user-initiated. at System.Windows.Controls.OpenFileDialog.ShowDialog(