|
-
Sep 14th, 2005, 04:44 AM
#1
Thread Starter
Frenzied Member
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?
Last edited by yrwyddfa; Sep 14th, 2005 at 09:00 AM.
"As far as the laws of mathematics refer to reality, they are not certain; and as far as they are certain, they do not refer to reality." - Albert Einstein
It's turtles! And it's all the way down
-
Sep 14th, 2005, 05:00 AM
#2
Thread Starter
Frenzied Member
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
"As far as the laws of mathematics refer to reality, they are not certain; and as far as they are certain, they do not refer to reality." - Albert Einstein
It's turtles! And it's all the way down
-
Sep 14th, 2005, 07:21 AM
#3
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.
-
Sep 14th, 2005, 09:00 AM
#4
Thread Starter
Frenzied Member
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.
"As far as the laws of mathematics refer to reality, they are not certain; and as far as they are certain, they do not refer to reality." - Albert Einstein
It's turtles! And it's all the way down
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|