Name that control!

Name that control!

Post by Spud » Fri, 17 Apr 1998 04:00:00



Hi.  This may be a silly question but I'm trying to find out how to
access a control that I've seen used in *many* programs, but I cannot
find within the controls that come with VB5.  An example of it is the
window that comes up in the "Find files or Folders" with the results
of your search.  You can click on the data labels and it does an
automatic sort and such.  It's also used in the standard "Windows
Explorer" file utility (the list of files, not the list of
directories).  Any help on what that control is and how to use it is
greatly appreciated.

- Spuds

 
 
 

Name that control!

Post by Joel Shepher » Fri, 17 Apr 1998 04:00:00


That'd be a ListView. You need to go to Project-Components, and check
Windows Common Controls. Those include the ListView, TreeView,
ImageList, ProgressBar, StatusBar and one or two others.


> Hi.  This may be a silly question but I'm trying to find out how to
> access a control that I've seen used in *many* programs, but I cannot
> find within the controls that come with VB5.  An example of it is the
> window that comes up in the "Find files or Folders" with the results
> of your search.  You can click on the data labels and it does an
> automatic sort and such.  It's also used in the standard "Windows
> Explorer" file utility (the list of files, not the list of
> directories).  Any help on what that control is and how to use it is
> greatly appreciated.

> - Spuds


 
 
 

Name that control!

Post by Vincent E. Cotto » Mon, 20 Apr 1998 04:00:00


I'm not sure if the Listview will do what you are wanting or not, but you
can do this:

Place command buttons above the column and resize them to your preference.
Then you can put code in the OnClick event that sorts the data accordingly.

Vincent Cotton
MicroSolutions
http://www.microsolutionsnet.com


>Hi.  This may be a silly question but I'm trying to find out how to
>access a control that I've seen used in *many* programs, but I cannot
>find within the controls that come with VB5.  An example of it is the
>window that comes up in the "Find files or Folders" with the results
>of your search.  You can click on the data labels and it does an
>automatic sort and such.  It's also used in the standard "Windows
>Explorer" file utility (the list of files, not the list of
>directories).  Any help on what that control is and how to use it is
>greatly appreciated.

>- Spuds

 
 
 

1. need help in registering data source name in control panel using ADO

Hi
I used to create DSN in control panel programatically using
rdoregisterdatasource method of rdoengine object. Now we are using ADO
object in our project instead of RDO, what is the way in ADO to create
programatically the DSN in the controlpanel.  I tried one method, i created
the entry in the registry and dsn is created in control panel based on the
registry entries but the problem in that approach is i have to refresh the
dsn in the control panel then only the program is able to identify the DSN.
Is there any way to avoid this and also please let me know if you have any
other approach to create DSN in control panel using ADO.

Thanks in Advance
Siva

2. client connection problems

3. Names of control files

4. AIX ontape problem solved

5. Help: Using the datarepeater control with an ActiveX control containing an embedded datacombo control

6. Oracle/Sybase developers

7. Data Control (DAO) and it's Database Name Parameter

8. Collation question

9. Populating an activeX datalist control with unique names.

10. Set ADO Data Control Name and caption Property

11. How to avoid prefix before attachment file name with MAPI controls

12. Setting an AccessBasic control by name?

13. Data controls and Name Pairs