A community member has associated this post with a similar question:
Memory access violation when writing a combobox in Visual Basic

Only moderators can edit this content.

Memory access violation when writing a combobox in Visual Basic

Bob Zeidman 1 Reputation point
2024-05-26T21:43:56.91+00:00

I've had a program since 2004. I've been updating it since then. The GUI is in Visual Basic. Suddenly a statement that simply takes the text from one combobox and puts it in a second (invisible) combobox is giving me a memory access violation during debug. The code runs when a button is pushed. The dozen or so lines of code simply check that fields are filled in. See exception below.

Access violation error

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,764 questions
0 comments No comments
{count} votes