Here's the full exception dump:
System.Runtime.InteropServices.SEHException: External component has thrown
an exception.
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at
System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMetho
ds+IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason,
Int32 pvLoopData)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32 reason,
ApplicationContext context)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason,
ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at MyApp.frmMain.Main() in C:\SoftwareDev\MyApp\MyApp
v5.0\SourceCode\MyApp\frmMain.cs:line 2901
You wouldn't be updating the UI from a background thread would you? And
if you are, are you making sure your using .Invoke to do it?
Tom Shelton
Application.EnableVisualStyles();
from my main function, and so far it seems to be more stable. I have a few
more tests to run, but I hope this nipped it in the bud.
Thanks,
Matt
"MJB" <m...@email.com> wrote in message
news:OcqCLqcj...@TK2MSFTNGP12.phx.gbl...
--
HTH,
-- Tom Spink, Über Geek
Please respond to the newsgroup,
so all can benefit
" System.Reflection Master "
==== Converting to 2002 ====
Remove inline declarations
"MJB" <m...@email.com> wrote in message
news:#yuksRdj...@TK2MSFTNGP09.phx.gbl...
"MJB" <m...@email.com> wrote in message
news:#yuksRdj...@TK2MSFTNGP09.phx.gbl...