Click here to Skip to main content
15,891,864 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Questionfinding parent child relation in dataset Pin
TARAK NATH ROY25-Aug-09 21:17
TARAK NATH ROY25-Aug-09 21:17 
QuestionHow can I drop and recreate a default constraint using smo? Pin
bobishkindaguy25-Aug-09 13:27
bobishkindaguy25-Aug-09 13:27 
AnswerRe: How can I drop and recreate a default constraint using smo? Pin
Murat SAVAS15-Dec-09 8:03
Murat SAVAS15-Dec-09 8:03 
GeneralRe: How can I drop and recreate a default constraint using smo? Pin
bobishkindaguy15-Dec-09 14:12
bobishkindaguy15-Dec-09 14:12 
Questioncrazy COM idea Pin
srcarr25-Aug-09 12:04
srcarr25-Aug-09 12:04 
QuestionCode obfuscation Pin
koleraba25-Aug-09 11:09
koleraba25-Aug-09 11:09 
AnswerRe: Code obfuscation Pin
N a v a n e e t h25-Aug-09 20:04
N a v a n e e t h25-Aug-09 20:04 
QuestionWinXP Home Can't Use Subfolder as Source for Picture Pin
Hypermommy25-Aug-09 8:58
Hypermommy25-Aug-09 8:58 
Hi all,

I have this .NET 2.0 application. At several points during the application it asks the user to load a picture from their computer. Basically the code uses an open file dialog box to get the path and then copies that picture from that path into a section in my program's folder. Works great on my XP Pro development machine and on Vista. And it works great if the user is selecting a picture from their desktop.

However, if the user goes to My Computer and then clicks on My Pictures the program bombs and "locks up" (according to the user). I can't recreate the error here but I've managed to capture the sequence. I'm pretty sure both of these errors hit when the system "locks up". This also happens if they go to any other folder's subfolder.

I have no idea how to overcome this or what is even causing it or what to even search on. Help?

Exception Message: External component has thrown an exception.
Stack Trace:   at System.Windows.Forms.UnsafeNativeMethods.GetOpenFileName(OPENFILENAME_I ofn)
   at System.Windows.Forms.OpenFileDialog.RunFileDialog(OPENFILENAME_I ofn)
   at System.Windows.Forms.FileDialog.RunDialog(IntPtr hWndOwner)
   at System.Windows.Forms.CommonDialog.ShowDialog(IWin32Window owner)
   at System.Windows.Forms.CommonDialog.ShowDialog()
   at FirstTimeUser.frmGatherPersInfo.btnLoad_Click(Object sender, EventArgs e)


Exception Message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Stack Trace:   at System.Windows.Forms.UnsafeNativeMethods.IntDestroyWindow(HandleRef hWnd)
   at System.Windows.Forms.UnsafeNativeMethods.DestroyWindow(HandleRef hWnd)
   at System.Windows.Forms.NativeWindow.DestroyHandle()
   at System.Windows.Forms.Control.DestroyHandle()
   at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
   at System.Windows.Forms.Form.ShowDialog()
   at MyHealtheFile.modMain.main()


Denise "Hypermommy" Duggan

AnswerRe: WinXP Home Can't Use Subfolder as Source for Picture Pin
Henry Minute26-Aug-09 5:08
Henry Minute26-Aug-09 5:08 
GeneralRe: WinXP Home Can't Use Subfolder as Source for Picture Pin
Hypermommy26-Aug-09 5:11
Hypermommy26-Aug-09 5:11 
GeneralRe: WinXP Home Can't Use Subfolder as Source for Picture Pin
Henry Minute26-Aug-09 5:19
Henry Minute26-Aug-09 5:19 
GeneralRe: WinXP Home Can't Use Subfolder as Source for Picture Pin
Hypermommy26-Aug-09 6:09
Hypermommy26-Aug-09 6:09 
QuestionInstall software microphone Pin
TripShock24-Aug-09 2:11
TripShock24-Aug-09 2:11 
QuestionWhy does backgroundworker complete event is fired in other thread, instead of the one started it? [modified] Pin
Carl00723-Aug-09 22:53
Carl00723-Aug-09 22:53 
AnswerRe: Why does backgroundworker complete event is fired in other thread, instead of the one started it? Pin
Alan N24-Aug-09 1:17
Alan N24-Aug-09 1:17 
AnswerRe: Why does backgroundworker complete event is fired in other thread, instead of the one started it? Pin
Luc Pattyn24-Aug-09 1:46
sitebuilderLuc Pattyn24-Aug-09 1:46 
AnswerRe: Why does backgroundworker complete event is fired in other thread, instead of the one started it? Pin
Luc Pattyn26-Aug-09 0:05
sitebuilderLuc Pattyn26-Aug-09 0:05 
QuestionGetting mscorlib.Authentication Failure error Pin
V K 223-Aug-09 21:13
V K 223-Aug-09 21:13 
QuestionVB.NET PropertyGrid Categories Pin
NFranks23-Aug-09 15:06
NFranks23-Aug-09 15:06 
AnswerRe: VB.NET PropertyGrid Categories Pin
0x3c023-Aug-09 21:00
0x3c023-Aug-09 21:00 
GeneralRe: VB.NET PropertyGrid Categories Pin
NFranks24-Aug-09 4:04
NFranks24-Aug-09 4:04 
General[SOLVED] VB.NET PropertyGrid Categories Pin
NFranks24-Aug-09 5:25
NFranks24-Aug-09 5:25 
QuestionTimeout Error While Taking Database Back-up using Code Pin
VikashGohil21-Aug-09 19:44
VikashGohil21-Aug-09 19:44 
QuestionHow to detect when an application is about to exit Pin
CodeBerserker21-Aug-09 15:30
CodeBerserker21-Aug-09 15:30 
AnswerRe: How to detect when an application is about to exit [modified] Pin
Luc Pattyn21-Aug-09 16:17
sitebuilderLuc Pattyn21-Aug-09 16:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.