Form not responding
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Form not responding

  1. #1
    Join Date
    Jun 2006
    Posts
    17

    Unhappy Form not responding

    Hi group,

    I am using vs2012, .NET 4.5. I have a GPS program that is receiving updates from a GPS each second via a serial link and is printing these values to a number of information forms within a MDI. One form which is only a series of text boxes will mysteriously stop updating. This occurs intermittently and only on some devices and may not happen until several hours into a session. Once it does happen the problem will continue to occur (more regularly) even after re-starting the program.

    There are no problems with the serial comms as other forms continue to update and the GPS time continues to update. The program is reliable and was updated last year to .NET from vb6. When the problem first occurred I ran the update from a separate thread thinking this would fix it, but the problem has re-emerged. The data is unfiltered and printed directly from the port as it is received. The port data is continually printing on a separate window. Has anyone got any ideas what may be happening or experienced this type of behaviour before?

    Thanks,
    Phil

  2. #2
    Join Date
    Aug 2009
    Location
    NW USA
    Posts
    173

    Re: Form not responding

    What are the events you are using to sense data? I would suggest creating some sort of log and have many possible events write to that log to see if 1) any one of them stops & 2) find the one that doesn't stop and use that.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center