+ Reply to Thread
Results 1 to 5 of 5

listview won't load in 32 bit Excel on 64 bit win7 - ...not available on this machine

  1. #1
    Forum Contributor
    Join Date
    05-05-2009
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010 and 365
    Posts
    113

    listview won't load in 32 bit Excel on 64 bit win7 - ...not available on this machine

    Excel 2010

    "Could not load an object because it's not available on this machine" is the full error message.

    But it's not true. It most certainly is available. I can add the listview control to the toolbox. If I try to add it to the form that already has one that isn't displaying due to the error, I get an error. If I create a new file I can add the listview without any problems.

    I am definitely using the 32 bit version of excel so, from what I can tell it should work.

    http://office.microsoft.com/en-au/su...102840825.aspx

    The link above shows that the listview should work on 32 bit versions.

    I tried regsvr32 shown below but it didn't work. The \syswow commands worked ok but the \system32 commands errored out. Couldn't load resource or something.

    It still doesn't work after regsvr.

    http://support.microsoft.com/kb/2748410

    Tried running as administrator. Doesn't work, get the error "there was a problem sending the command to the program".

    Tried saving the file after closing the error boxes. I was able to re-open the newly saved file without any errors but the listviews still wouldn't load. I could then add new listviews but the existing ones wouldn't display.


    I know the easy answer (not easy to implement though) is to use listbox instead but I probably have 20 different listviews in this file alone and who knows how many more in other files. From what I can tell, this should work so I'm hoping there's something that can be done.

    I'm sure that I've run old scripts with listviews on win7 computers without any problems. We actually have a couple here that don't have this problem but two new computers today both have the problem.

  2. #2
    Forum Contributor
    Join Date
    05-05-2009
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010 and 365
    Posts
    113

    Re: listview won't load in 32 bit Excel on 64 bit win7 - ...not available on this machine

    It seems that my computer needs many updates. Windows update shows 107 at 500 MB or so. I thought I was told that the updates were installed already but maybe I misunderstood.

    Running them now but at 500 meg, it will take a while to download. Hopefully that will fix things.

  3. #3
    Forum Contributor
    Join Date
    05-05-2009
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010 and 365
    Posts
    113

    Re: listview won't load in 32 bit Excel on 64 bit win7 - ...not available on this machine

    After updating everything appears to work properly. My apologies for anyone what wasted their time reading this thread.

    At least I guess for me it made me aware that using listviews might not be the best way to go. I fear that some of the features I use in the listviews will be hard to recreate using listboxes.

    What about treeviews? Are they going away too?

    Arggh...

  4. #4
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: listview won't load in 32 bit Excel on 64 bit win7 - ...not available on this machine

    Treeview and Listview are from same library - Windows Common Controls - and will each have same problems.
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

  5. #5
    Forum Contributor
    Join Date
    05-05-2009
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010 and 365
    Posts
    113

    Re: listview won't load in 32 bit Excel on 64 bit win7 - ...not available on this machine

    Quote Originally Posted by Izandol View Post
    Treeview and Listview are from same library - Windows Common Controls - and will each have same problems.
    I was afraid of that.

    Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Could not load object because it is not available on this machine
    By macdonaldtomw in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-12-2014, 10:55 AM
  2. ClassFactory cannot supply requested class - ListView error on different machine
    By VBA FTW in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-03-2013, 07:58 PM
  3. Replies: 1
    Last Post: 02-29-2012, 05:29 AM
  4. Replies: 14
    Last Post: 03-14-2011, 06:04 PM
  5. Could not load an object because it is not available on this machine
    By H.A. de Wilde in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-27-2006, 04:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1