G
Guest
I am getting the following error when starting a winform app that causes the
app to simply hang and I have to end up killing it from taskmgr
Error loading main form : Object reference not set to an instance of an
object.
at System.Windows.Forms.EnableThemingInScope..ctor(Boolean enable)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason,
ApplicationContext context)
at System.Windows.Forms.Application.DoEvents()
at msSQLed.MainForm..ctor()
Any ideas why this would be hosing??? I looked in .NET code (using
reflector) and it looks like this method EnableThemingInScope is simply
checking to see if Themes are supported and I can't see why it would hang the
app???
Thanks,
Ashton
app to simply hang and I have to end up killing it from taskmgr
Error loading main form : Object reference not set to an instance of an
object.
at System.Windows.Forms.EnableThemingInScope..ctor(Boolean enable)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason,
ApplicationContext context)
at System.Windows.Forms.Application.DoEvents()
at msSQLed.MainForm..ctor()
Any ideas why this would be hosing??? I looked in .NET code (using
reflector) and it looks like this method EnableThemingInScope is simply
checking to see if Themes are supported and I can't see why it would hang the
app???
Thanks,
Ashton