General discussion

Locked

Using (VB) TreeView inside Access 2000

By donq ·
I need added VB functionality within my Access 2000 application and know it can be done. I prey someone out there knows how to do this and will share his/her knowledge.

Either TreeView or ListView (probably TreeView) is what I am after. TreeView displays a collapsing and expanding hierarchy list (like Explore) based on the little + and ? signs in a box(logo) to the right of each hierarchy level label. That is the functionality I need and am trying to move into Access. It is a pure VB object (CTreeCtrl) and I?m trying to find how to use it inside my Access 2000 application. Give me a code sample with an explanation of what I need to do (inside Access) to import the function, ActiveX, Class, or whatever CTreeCtrl is. It acts like a turbo-charged List Box one can use to zero in on huge data warehouses to locate inventory (or whatever) items. What DLL?s does TreeView require for operation ? I?ll need them to accompany my compiled executable application library.

I will try suggestions amd approve the 1st one that works. I have VB6 and Access 2000 on my development machine.

This conversation is currently closed to new comments.

11 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Using (VB) TreeView inside Access 2000

If your licence is OK you should be able to add a treeview control by clicking the "more" button on the toolbox on the form design toolbar.
As for using it see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconusingtreeviewcontrol.asp

Collapse -

Using (VB) TreeView inside Access 2000

by donq In reply to Using (VB) TreeView insid ...

My license(s) are fine, there is no "more" option in the Toolbar or Toolbox - nor anything similar under Customize...

http://msdn.microsoft.com/library/default.asp?url=/library/e n-us/vbcon98/html/vbconusingtreeviewcontrol.asp produces an error stating the Page can not be found. Thanks 4 trying

Collapse -

Using (VB) TreeView inside Access 2000

by RSV In reply to Using (VB) TreeView insid ...

HI,
Check this article, it gives info abt using treeview control in ms access.

http://support.microsoft.com/support/kb/articles/Q162/5/23.asp

You need to add the treeview .ocx file in your compiled executable application library.

Hope thisis helpful to you.
GOOD LUCK...:)

Collapse -

Using (VB) TreeView inside Access 2000

by donq In reply to Using (VB) TreeView insid ...

http://support.microsoft.com/support/kb/articles/Q162/5/ 23.asp also produces an error stating the page can not be found??? Thanks 4 trying.

Collapse -

Using (VB) TreeView inside Access 2000

by RSV In reply to Using (VB) TreeView insid ...

HI,
I checked this link, its working the article is there.

http://support.microsoft.com/support/kb/articles/Q162/5/23.asp

Please make sure there are not spaces in the above link.

GOOD LUCK...:)

Collapse -

Using (VB) TreeView inside Access 2000

by donq In reply to Using (VB) TreeView insid ...

I found the article??? It adresses the Access 97 Data Access ActiveX Control and has an update available if you are using Access 97. I am not. I am after the TreeView control recommended in the article you recommended - but there is no information in the article (or your answer) to help me dornload TreeView into Access 2000.

Collapse -

Using (VB) TreeView inside Access 2000

by mark.thomson In reply to Using (VB) TreeView insid ...

I tried adapting MSDN article Q165993 for Access 2000 / VB6 by doing the following

for step 3 - I clicked the "more controls" icon in the toolbox (crossed tools followed by an ellipsis)
for step 4 - instead of Microsoft TreeView Control, version 5.0 I chose Microsoft Treeview Control version 6.0 (SP4) - I have Visual Studio 6 SP4 .

The example source code worked for me without modification although you may have to add a reference to Microsoft DAO 3.6 Object Library using the references item in the Tools menu of the visual Basic environment in Access.

Collapse -

Using (VB) TreeView inside Access 2000

by donq In reply to Using (VB) TreeView insid ...

Poster rated this answer

Collapse -

Using (VB) TreeView inside Access 2000

Sorry, Go to Tools, ActiveX Controls...

The link is there but won't respond to that link for some reason. Go to msdn.microsoft.com/library and in the search box I found it again by typing "using the treeview control".

Collapse -

Using (VB) TreeView inside Access 2000

by donq In reply to Using (VB) TreeView insid ...

Poster rated this answer

Back to Web Development Forum
11 total posts (Page 1 of 2)   01 | 02   Next

Related Discussions

Related Forums