Click here to Skip to main content
15,891,738 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Team,
I am using a vb 6.0 MsflexGrid Control in vb.net..everything is working fine but when i pressed escape key while the focus is on MsflexGrid Control it gives error and if Me.Closed is called...
"Attempted to read or write protected memory. This is often an indication that other memory is corrupt"

I can use the vb.net datagridview but datagridview is good for non editing data but for data entry purpose(Invoice Entry). the key movement does not work proper on Enter Key Press.If in some cells is required to open another DataGridview in same cell as a drop down it does not open. but with msflexgrid we can do this by taking one extra textbox and datagridview which is working fine.


Thanks
Sukhen Dass
Posted

1 solution

The first thing I would check is if your application is compiled as x64 or AnyCPU. There is no 64-bit version of the old FlexGrid control. Open "My Project" in Solution Explorer and go to the Compile tab. You'll find a "Target CPU" box. Make sure it says "x86".
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900