| | |
directories folders and how to open them
![]() |
•
•
Join Date: Nov 2007
Posts: 78
Reputation:
Solved Threads: 0
Hi, I have a console application that works fine. The users puts in the path of a folder and my program looks at every file in that folder. This is exactly what I wanted only now I'm moving it over into a GUI. Im using borland c++ builder 6 and I am looking at their preset dialog functions. The one I'm looking at is the 'opendialog' which I thought would be perfect however it will only open up files, it wont simply let me browse to a folder and grab hold of that, it just opens up the folder. I hope ive explained myself well enough and I was hoping that any of you guys may know a way to solve my problem without making the user actually write the path of the folder into an input box on my GUI
thanks
thanks
You could write your own -- like this one
The most important thing in the Olympic Games is not to win but to take part, just as the most important thing in life is not the triumph but the struggle. The essential thing is not to have conquered but to have fought well.
-Pierre de Coubertin, The Olympic Creed Inspired by Bishop Ethelbert
-Pierre de Coubertin, The Olympic Creed Inspired by Bishop Ethelbert
start by looking at that link I posted -- they give you all the source code. You will probably have to strip out the MFC stuff and use whatever your compiler supplies. I'm certain it supports TreeView, which is a standard win32 api window type.
As fas as finding the folder names I suppose it uses FindFirstFile() and FindNextFile() to locate the folder names.
As fas as finding the folder names I suppose it uses FindFirstFile() and FindNextFile() to locate the folder names.
The most important thing in the Olympic Games is not to win but to take part, just as the most important thing in life is not the triumph but the struggle. The essential thing is not to have conquered but to have fought well.
-Pierre de Coubertin, The Olympic Creed Inspired by Bishop Ethelbert
-Pierre de Coubertin, The Olympic Creed Inspired by Bishop Ethelbert
•
•
Join Date: Nov 2007
Posts: 78
Reputation:
Solved Threads: 0
I've been studying that website and I still cant find out whats going on. Im new to borland c++builder 6 and usually work in command line. It does have a tree view pane item that I can add onto my form but Im not sure how to work it at all. Do you know of any resources out there like guides or something I can can have a look at to see how it works a bit more because i have a feeling that this isnt going to be one of those things I can blag my way through
thanks
thanks
Isn't it named TTreeView or something like that? Then just google for it and you should find the information you need about how to use it.
The most important thing in the Olympic Games is not to win but to take part, just as the most important thing in life is not the triumph but the struggle. The essential thing is not to have conquered but to have fought well.
-Pierre de Coubertin, The Olympic Creed Inspired by Bishop Ethelbert
-Pierre de Coubertin, The Olympic Creed Inspired by Bishop Ethelbert
![]() |
Similar Threads
- my thread not answered since jan 7th 2006! (Windows NT / 2000 / XP)
- General Tips for Mac OS X (Mac tips 'n' tweaks)
- Overview of UNIX (Getting Started and Choosing a Distro)
- Help wanted,Please. (IT Professionals' Lounge)
- Backup Program (Visual Basic 4 / 5 / 6)
- cannot find shell.dll (Windows NT / 2000 / XP)
- Windows Update (Windows NT / 2000 / XP)
Other Threads in the C++ Forum
- Previous Thread: problem with a with loop
- Next Thread: error C3861: identifier not found
Views: 611 | Replies: 5
| Thread Tools | Search this Thread |
Tag cloud for C++
algorithm array arrays assignment beginner binary c++ c/c++ calculator char class classes client code compile compiler constructor conversion convert count data delete display dll dynamic encryption error exception file files fstream function functions game givemetehcodez graph gui helpwithhomework homework http iamthwee ifstream input int integer lazy linker list loop loops math matrix member memory multidimensional newbie number object objects opengl output parameter path pointer pointers problem program programming project random read recursion recursive reference simple sockets sort spoonfeeding string strings struct student studio system template templates text time tree url variable vc++ vector video visual win32 window windows winsock xml






