Matt,
I do things maybe a little non-standard. In my main method, I have
something like the following:
public class Start
{
public static Form m_Form;
static void Main()
{
Start.m_Form = new Form();
Application.Run(Start.m_Form);
}
}
In the ctor for the form I'm creating I do call DoEvents but I can't figure
out why it only breaks on one PC out of several hundred users??? Do I need
to handle things differently or might there be something specific on this
users PC?
My ctor basically checks some settings, shows an activation/registration
form if user is not registered, etc. I could definitely remove the DoEvents
if that is what is causing the issue.
Thanks,
Ashton
> Hi Ashton,
>
[quoted text clipped - 31 lines]
> >
> > Ashton
Matt Garven - 12 Feb 2005 02:59 GMT
Hi Ashton,
If it's only breaking on one PC, perhaps you could post the specs of that
machine to the group? We've had a horrible time with our customers running
.NET software on Windows 98 machines, for example.
If you have the PC available to you for testing, I would certainly try
removing the call to Application.DoEvents(). It would be unusual to require
it before the form has become visible, especially the mainform of the
application. It's worth a shot, and if it doesn't work it would be
interesting to see the callstack of where it crashed without the call to
Application.DoEvents().
Hope this helps.
Regards,
Matt Garven
Ho
> Matt,
>
[quoted text clipped - 60 lines]
> > >
> > > Ashton