J
JGPatrick
First, I would like to point out that, as far as I can tell, Microsoft's
documentation on the page
http://msdn.microsoft.com/en-us/library/aa733652(VS.60).aspx is incorrect, at
least for the ListView activeX control in VB 6.0 SP6. The documentation on
that page refers to the
ListView1.ListItems
collection. But if I try that in code, I get an error. ListItems turns out
to be a collection of the Object property, as in
ListView1.Object.ListItems
My questions:
1. Where do you find the object models for ActiveX controls? It is not on
the MSDN documentation page for the ListView control.
2. Where should I look for the help files on ActiveX controls? When I
double-click the control on my form, and then click the help button, I get an
error message saying that the file is not found. I try searching for the file
name on my computer, but it is not there.
3. Why does IntelliSense not show all available collections for the ListView
control?
IntelliSense does not list anything if you type Me dot lvwName dot Object dot
(where lvwName is the control's name property). However, if I then complete
the expression and make it Me.lvwName.Object.ListItems, I have no trouble
accessing the ListItems collection in my code.
documentation on the page
http://msdn.microsoft.com/en-us/library/aa733652(VS.60).aspx is incorrect, at
least for the ListView activeX control in VB 6.0 SP6. The documentation on
that page refers to the
ListView1.ListItems
collection. But if I try that in code, I get an error. ListItems turns out
to be a collection of the Object property, as in
ListView1.Object.ListItems
My questions:
1. Where do you find the object models for ActiveX controls? It is not on
the MSDN documentation page for the ListView control.
2. Where should I look for the help files on ActiveX controls? When I
double-click the control on my form, and then click the help button, I get an
error message saying that the file is not found. I try searching for the file
name on my computer, but it is not there.
3. Why does IntelliSense not show all available collections for the ListView
control?
IntelliSense does not list anything if you type Me dot lvwName dot Object dot
(where lvwName is the control's name property). However, if I then complete
the expression and make it Me.lvwName.Object.ListItems, I have no trouble
accessing the ListItems collection in my code.