Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
-
I have this problem when a form is going to show this form... frm.ShowDialog(); //here ocured the error help pls.
spaps
Without knowing what this form is doing, there's not a lot to go on. Take a look at the full stack trace to try and figure out exactly what's screwed up.
Deja View - the feeling that you've seen this post before.
-
Without knowing what this form is doing, there's not a lot to go on. Take a look at the full stack trace to try and figure out exactly what's screwed up.
Deja View - the feeling that you've seen this post before.
the form getting some data from db, but all the things in the constructor is going well no prob, only when it goes to the ShowDialog(). it get me this error.. in the CALL STACK is this: ......Main() Line 225 + 0x1a bytes in the output: A first chance exception of type 'System.AccessViolationException' occurred in System.Windows.Forms.dll
spaps
-
the form getting some data from db, but all the things in the constructor is going well no prob, only when it goes to the ShowDialog(). it get me this error.. in the CALL STACK is this: ......Main() Line 225 + 0x1a bytes in the output: A first chance exception of type 'System.AccessViolationException' occurred in System.Windows.Forms.dll
spaps
Did you check in frm (the form you want to show) Load event or in its Constructor?