exception : cross threaded operation not valid

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sam

    #1

    exception : cross threaded operation not valid

    Hi,

    The zipped code of my application is there for VS2003:

    and there for VS2005


    The issue is in the DoWork function in which I call FillForm without
    using BeginInvoke. If I use it, there's no more exception in VS2005,
    but the application does no longer behave as it should.

    Could you tell me what I'm doing wrong please?

    Thanks

    Note: if you want to see how the application should behave, just
    comment the code below 'CODE NE FONCTIONNANT PAS and uncomment the code
    below 'CODE FONCTIONNANT. That said, it's not the method I want to use.
    I want to do the loop in FillForm.

Working...