|
-
Jun 20th, 2006, 10:35 AM
#1
Thread Starter
Addicted Member
Resolved[Trees in Vba]
I'm doing a userform which scans the content of some directories. At this moment I can see their content in a list box, through exploring the folders with combobox which are sequentially filled from some pivot tables... It's a mess but it works.
Is it possible to visualize a tree in a user form, like one of those in windows explorer, so that you can see the directory folders?
Last edited by Fonty; Jun 20th, 2006 at 01:36 PM.
-
Jun 20th, 2006, 10:50 AM
#2
Re: Trees in Vba
Right click the toolbox.. additional controls - Microsoft Treeview Control
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Jun 20th, 2006, 11:28 AM
#3
Re: Trees in Vba
Just make sure you have the MS VB 6 runtime files installed on your system if you dont have VB 6. Also, you will need to distribute the ocx file with the workbook so other users can have the treeview control.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 20th, 2006, 11:32 AM
#4
Re: Trees in Vba
good thinking...
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Jun 20th, 2006, 11:39 AM
#5
Re: Trees in Vba
mscomctl.ocx is the actual filename you would need to distribute.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 20th, 2006, 03:58 PM
#6
Thread Starter
Addicted Member
Re: Resolved[Trees in Vba]
Im trying to add a node but I can. I'm using TreeView1.node.add()
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|