Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

create directory for each item in a combobox

Posted on 2003-11-14
1
260 Views
Last Modified: 2010-04-05
ok here how it goes

 i have a combobox and i want to create a sperate directory for each item in that combobox

lets say the items were 1,2,3,4,5

the dircecorys should be c:\1,c:\2.....c:\5

icreatedirectory('C:\1',nil); is not a soulotion
0
Comment
Question by:amjedmsa
1 Comment
 
LVL 27

Accepted Solution

by:
kretzschmar earned 70 total points
ID: 9745927
maybe this way ?

..
for i := 0 to combobox1.items.count - 1 do
  CreateDirectory(PChar('c:\'+combobox1.items[i]),nil);
..

meikl ;-)
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to fill array with TArray.Create? 14 96
Intraweb download file link ? 1 155
How to convert memory stream to PDF file 6 114
Browsing a TTreeView in Delphi 5 8
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

829 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