Windows Forms ComboBox causing intermittent System.AccessViolationException?

I had these problems as well, way back when I used . Net 2.0 WinForms. I seem to remember Microsoft released a Hotfix for this.

I googled it and found these two. You could try them support.microsoft.com/kb/923028 support.microsoft.com/kb/971030 Also, did you install all Service Packs for . NET 2.0?

I had these problems as well, way back when I used . Net 2.0 WinForms. I seem to remember Microsoft released a Hotfix for this.

I googled it and found these two. You could try them. support.microsoft.com/kb/923028 support.microsoft.com/kb/971030 Also, did you install all Service Packs for .

NET 2.0?

Thanks for the reply @rewinder. The second link might be of interest actually. However applying hotfixes/service packs is something we would avoid for as long as possible, having the application installed on hundreds of machines.

I am currently investigating if the combobox is altered meanwhile the GUI-thread does some work on it - a rumor says the underlying implementation of the ComboBox is not fully thread safe. – Christoffer May 31 at 13:15 @Christoffer: Ok. Well, let me know if you find anything.

– Edwin de Koning May 31 at 13:20 Found another somewhat related topic at Microsoft Support: support.microsoft. Com/kb/952544 But I am not using any autocompletion features. However, items can be added to the Items collection OnKeyDown or OnSelectedIndexChanged.

I don't know yet if this can cause the problem, I'll continue my investigation. – Christoffer Jun 1 at 8:54.

Don't give it a chance to overload memory, dispose all your new and unused items/controls Do not constanly add/remove objects to a listbox, typically during thread operations. GDI problems occur if you don't clear the memory. Combobox exceptions occur, it may have something related to the selecteditem, whether that item has text or an integer stored.

Text must be text, integer must be integer.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions