Solved

FolderBrowse component

Posted on 2001-06-10
6
240 Views
Last Modified: 2010-05-19
I have this component and think it's great.
-TFolderTree Component for Delphi 2.0 and up
-version 3.2       Dec 7, 2000

Problem:  
  It references OLE2 in the 'uses' clause.  "OLE2 not found" so I include ole2.pas (from the 'rtl' directory of Delphi 5).

Again I try to compile and get a strange error.  CommDlg compiled by a different version (error line on 'Dialogs').

I ask for 1 of 2 possible solutions.

1) a straightforward fix for the compile error
OR
2) a new component with similar features.
--A Windows Explorer style directory listing with drives and folders in the same listview.  Freeware or inexpensive shareware preferred (I aint rich).

Thanks for your time.
Don

0
Comment
Question by:d32coder
  • 3
  • 2
6 Comments
 
LVL 3

Expert Comment

by:nnbbb09
ID: 6173062
Try MiTeC File Explorer v.1.1. It's freeware with full source and it's available on Torry's site at http://www.torry.net/filedrvbrowsers.htm.

Jo
0
 
LVL 27

Accepted Solution

by:
kretzschmar earned 300 total points
ID: 6173080
just remove or rename the provided file shlobj.pas, which comes with the zipfile
0
 

Author Comment

by:d32coder
ID: 6173136
nnbbb09: I also have that one :)  It's nice but it doesn't list drives.

kretzschmar: I'll try it but could you explain WHY that would work?  I'm still learning obviously.

Don
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 27

Expert Comment

by:kretzschmar
ID: 6173149
delphi 5 is already providing a shlobj unit,

so that the provided shlobj.pas is not needed,
and this seems also forcing a version conflict

i've tested it and works properly
0
 

Author Comment

by:d32coder
ID: 6173161
Cant believe I struggled so long with this before asking.
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6173743
glad to helped you :-)
good luck again

meikl ;-)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question