Well I tried out the activate and the form does load but none of the object initialize.
I then tried using a timer to try and load the form a couple of seconds after the main form is visible.
This is what I received:
Cross-thread operation not valid: Control 'Main' accessed from a thread other than the thread it was created on.
Ok, so what is happening is that the form I am trying to load is somehow being loaded by a different thread and this is not allowed.
Any suggestions?
No comments:
Post a Comment