D
Drew Yallop
A WinForms project that was running perfectly suddenly goes South. Cannot
even get the start up form to load. Get to initialise component section and
then the application starts racking up memory until my 512M is almost
entirly consumed and then sets there doing nothing.
I was running some Ado.Net operations on an MS Access DB and the application
threw an 'unable to enable constraints' error. I made some changes and ran
under debug again and that is when the problem began.
On looking through the the start up form's Windows generated code I found a
whole bunch of Ado.net related code (data adaptors, update/delete/ select
code) that was not there before and duplicates code that was in another form
containing the same data adapters.
I removed the uninvited code but no joy. I built a new start form but same
problem.
I am new to Visual Studio but cannot imagine what has happened. Virus?
Best regards,
Drew Yallop
even get the start up form to load. Get to initialise component section and
then the application starts racking up memory until my 512M is almost
entirly consumed and then sets there doing nothing.
I was running some Ado.Net operations on an MS Access DB and the application
threw an 'unable to enable constraints' error. I made some changes and ran
under debug again and that is when the problem began.
On looking through the the start up form's Windows generated code I found a
whole bunch of Ado.net related code (data adaptors, update/delete/ select
code) that was not there before and duplicates code that was in another form
containing the same data adapters.
I removed the uninvited code but no joy. I built a new start form but same
problem.
I am new to Visual Studio but cannot imagine what has happened. Virus?
Best regards,
Drew Yallop