Results 1 to 4 of 4

Thread: RESOLVED: Listview: Reordering column generates exception

  1. #1

    Thread Starter
    Frenzied Member yrwyddfa's Avatar
    Join Date
    Aug 2001
    Location
    England
    Posts
    1,253

    Resolved 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

  2. #2

    Thread Starter
    Frenzied Member yrwyddfa's Avatar
    Join Date
    Aug 2001
    Location
    England
    Posts
    1,253

    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

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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.

  4. #4

    Thread Starter
    Frenzied Member yrwyddfa's Avatar
    Join Date
    Aug 2001
    Location
    England
    Posts
    1,253

    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
  •  



Click Here to Expand Forum to Full Width