View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.programming
RB Smissaert RB Smissaert is offline
external usenet poster
 
Posts: 2,452
Default About Lisview control

What is the project called with the form?
Have the form visible (right-click the form, view object), load the control
toolbox and right-click in the bottom bit (the empty bit) of the toolbox and
do
Additional controls, tick Microsoft Listview Control, version 6.0

RBS


"palo" wrote in message
...
My computer's Windows version is M. Windows XP professional version 2002
SP2.
The MSComctl.ocx is M. Windows Common Control 6.0.
I add the reference in References-VBAProject box. And when I click
Additional Controls in menu Tools, nothing happens.

"RB Smissaert" wrote:

Did you add the reference to the right project?
When you say: not work, do you mean the listview doesn't show in the list
of controls to add?
What Windows version are you on?
What is the version of the file MSComctl.ocx?

RBS


"palo" wrote in message
...
I have set a reference to MSComctl.oxc. But menu Tools/Additionnal
Controls...not work.

"RB Smissaert" wrote:

Sorry, I posted wrong, it should be:
C:\Windows\System32\MSComctl.ocx
So, set a reference to that one and un-tick the other one.

Don't think there is a MSComctl32.ocx, but there is MSComct2.ocx,
which
I think holds the Monthview control.

RBS


"palo" wrote in message
...
Thanks you!
In my system32, only has MSCOMCTL.OCX and COMCTL32.OCX. I have set
references this files, however, it's still not working.


"RB Smissaert" wrote:

You need to set a reference by doing in the VBE:
Tools, References and browse to C:\Windows\System32\MSComctl32.ocx
The path could be different if you are not on Win XP.
After that the Listview will be available in the control toolbox.

RBS


"palo" wrote in message
...
How to use listview control in userform? I can't add listview
control
in
toolbox. Help me. Thanks