Results 1 to 5 of 5

Thread: [RESOLVED] Alternative to ListView

  1. #1

    Thread Starter
    Frenzied Member dinosaur_uk's Avatar
    Join Date
    Sep 2004
    Location
    Jurassic Park
    Posts
    1,098

    Resolved [RESOLVED] Alternative to ListView

    Hi there,

    I have a problem which is ruining my life. (no it's not personal)

    I have a table of around 5 columns and 30-40 rows, and I was programming it back home and the ListView control seems perfect. Then i bring it to work and realised that the office here does not have the VB common controls installed. I tried downloading the mscomctl.ocx and referencing my project to it but it keeps saying "Method or Data member not found"

    I am clueless on how to sort this silly VBA problem out.

    Is there a better way to deal with the data? The table row is dynamic and i need to be able to change it at runtime.
    If you find my thread helpful, please remember to rate me

  2. #2
    Frenzied Member zaza's Avatar
    Join Date
    Apr 2001
    Location
    Borneo Rainforest Habits: Scratching
    Posts
    1,486

    Re: Alternative to ListView

    You've put MSCOMCTL.OCX into the System32 folder, yes? And registered it using regsvr? I can't see why that shouldn't work.

    I presume the error is occurring on some of the listview methods? Can you add a listview to a new project successfully; I have encountered situations before where existing projects aren't welcomed but you can add a control to a new project ok...


    zaza
    I use VB 6, VB.Net 2003 and Office 2010



    Code:
    Excel Graphing | Excel Timer | Excel Tips and Tricks | Add controls in Office | Data tables in Excel | Gaussian random number distribution (VB6/VBA,VB.Net) | Coordinates, Vectors and 3D volumes

  3. #3

    Thread Starter
    Frenzied Member dinosaur_uk's Avatar
    Join Date
    Sep 2004
    Location
    Jurassic Park
    Posts
    1,098

    Re: Alternative to ListView

    regsvr c:\winnt\system32\MSCOMCTL.OCX

    it says

    cannot find regsvr etc etc..
    If you find my thread helpful, please remember to rate me

  4. #4
    Frenzied Member zaza's Avatar
    Join Date
    Apr 2001
    Location
    Borneo Rainforest Habits: Scratching
    Posts
    1,486

    Re: Alternative to ListView

    It's regsvr32


    And I don't think you even need the full path if it's in the System32 folder.
    I use VB 6, VB.Net 2003 and Office 2010



    Code:
    Excel Graphing | Excel Timer | Excel Tips and Tricks | Add controls in Office | Data tables in Excel | Gaussian random number distribution (VB6/VBA,VB.Net) | Coordinates, Vectors and 3D volumes

  5. #5

    Thread Starter
    Frenzied Member dinosaur_uk's Avatar
    Join Date
    Sep 2004
    Location
    Jurassic Park
    Posts
    1,098

    Re: Alternative to ListView

    You are a legend....!
    If you find my thread helpful, please remember to rate me

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