Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
385
ide not going into debug mode
posted

This isn't happening only with the grid, but it does sometimes when the grid fails. Instead of my code going into break mode, the app or just the window closes without notification that anything went wrong.

For instance, I'm getting this error:

A first chance exception of type 'System.NullReferenceException'
occurred in GranPoSys.exe

From this code line:

ultraGridPrintDocument1.Grid.DisplayLayout.Appearance.BorderColor =
Color.White;

because the "grid" property of the ultraGridPrintDocument had not been
set. But, instead of breaking into the running code, the user
interface just pops back up ready to interact with as though nothing
had gone wrong. The rest of the procedure does not complete though. I
know that with "Just My Code" enabled, it wouldn't break into the
third party control code, but in this case the error *is* happening at
"my code" level. It always used to break in but now it no longer does.

I realize that this isn't strictly a grid question but the community of users
here is large and I have posted here frequently in the past so I wondered if 
any others were having the same issue. I just did a full reinstall on my dev
machine over the weekend and the problem is exactly as before. I'm using
VS2008 Pro on a Vista x64 machine.

 Thanks, Bob