Excel VBA Listview 5.0 and Listview 6.0

laurawr

New Member
Joined
Mar 3, 2011
Messages
32
Afternoon :)


What are the differences between Listview 5.0 and 6.0?

I am having problems with the Listview 6.0 in my vba coding & I have been advised to use 5.0.

Will I have to change my code for it to be compatible with 5.0?

Any input is appreciated.

Cheers L
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Nobody Is helping so just to help this discussion move along a bit I am going to post some more info about my problem which has now progressed further,

Basically, I am usig a v6 listview control as a search facility on an excel userform (VBA)

Some of my colleagues when using this facility can see the listview, but some cannot ... as if it has disappeared :/

One of my colleagues has tried inserting a listview v5 as a test with no coding behind it and all people can see the listview. but when trying this with a v6 then again it disappears.

Now inserting a listview v5 seems like the easier option, However the v5 listview control does not support some of the features that I need that i can get from listview v6 control, so I need to fix this problem of the v6 listview disappearing on some pcs at work.

Has anyone got any ideas as to what could be causing the problem

Thanks
L
 
Upvote 0
Listview 5.0 is derived from comctl32.ocx and listview 6.0 from mscomctl.ocx. My guess the reason some people can't see the 6.0 version is because they don't have the mscomctl.ocx installed and / or registered on their machine.

As a test, you can try getting the mscomctl.ocx file from a machine you know shows the listview 6.0 and copy that to a machine you know doesn't have the file. Then follow the instructions here:

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

and see if the listview 6.0 now appears on that machine.

Completely untested, but seems like that's your issue.

Good luck!
 
Upvote 0
Thanks for getting back to me

I have heard that could be the problem from other colleagues but we havent tested it yet, due to me wanting to seek clarification online..

I will test it asap..


Thanks Again

L
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,285
Members
452,902
Latest member
Knuddeluff

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top