N
nicksjacobson
Try getting this bug to occur!
Run the following code in debug mode (i.e. hit F5). Then literally
just keep moving the mouse around in the main window form area (the big
gray box).
IT TAKES OVER A MINUTE, even! But *eventually*, a window pops up with
the error message:
"An unhandled exception of type 'System.NullReferenceException'
occurred in Unknown Module.
Additional information: Object reference not set to an instance of an
object."
Here's the code:
<<
using System;
using System.Drawing;
using System.Windows.Forms;
class MainForm : Form
{
public static void Main() { Application.Run(new MainForm()); }
public MainForm()
{
OpenFileDialog dlg = new OpenFileDialog();
}
}
Note: if you can even get this bug to happen, please post that you did
so. I need confirmation that it's not just my system. ;P I'm running
Win XP Pro SP2 and VS.NET 2003.
Thanks!
--Nick
Run the following code in debug mode (i.e. hit F5). Then literally
just keep moving the mouse around in the main window form area (the big
gray box).
IT TAKES OVER A MINUTE, even! But *eventually*, a window pops up with
the error message:
"An unhandled exception of type 'System.NullReferenceException'
occurred in Unknown Module.
Additional information: Object reference not set to an instance of an
object."
Here's the code:
<<
using System;
using System.Drawing;
using System.Windows.Forms;
class MainForm : Form
{
public static void Main() { Application.Run(new MainForm()); }
public MainForm()
{
OpenFileDialog dlg = new OpenFileDialog();
}
}
Note: if you can even get this bug to happen, please post that you did
so. I need confirmation that it's not just my system. ;P I'm running
Win XP Pro SP2 and VS.NET 2003.
Thanks!
--Nick