RESOLVED: Listview: Reordering column generates exception
This is what I do:
Create new VB exe
Put a listview onto the form
Add two columns to using the property pages
Set AllowColumnReorder to true
Set report style = lvwReport
Run project
Try to drag column to move it, and a fatal exception is generated.
Urggh.
Has anyone had this problem? If so, does anyway know of a solution to this?
Re: Listview: Reordering column generates exception
In the M$ C++ debugger the exception raised is
Unhandled exception in Project1.exe (MSCOMCTL.OCX): 0x0000094: Integer Divide By Zero
If you google 'Listview 0xC0000094: Integer Divide By Zero' and try and open the first result, the author has removed this post: urghhhh :mad:
Re: Listview: Reordering column generates exception
No, I've not seen this issue.
Set up a test project with the listview as you have described above, zip the project up, and attach it. I'd like to take a look.
Re: Listview: Reordering column generates exception
I stole the file from a colleagues machine.
When you install Visual Studio SP6 (on XP) it replaces the mscomctl.ocx with an older, and incompatible one.
Normal M$ problems, I guess.