Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Collection was modified; enumeration operation may not execute

Status
Not open for further replies.

NJLDoc

Programmer
Jan 25, 2002
93
All posts state this has to do with for each loops however this error only appears on deployed installs never on my development computer. Error does not trap in JIT remote debugger just crashes the deployed application. Developed on windows 7 in VS 2010 VB and occurs on deployed Windows 7 64bit and XP 32bit machines alike. How do I trap or resolve. Whats wierd is that the crash follows a form closure and not the loading so I don't believe the issue to be as per other posts. I have tried to trap in all events of a form closing with no luck at all.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top