Solved

create directory for each item in a combobox

Posted on 2003-11-14
1
257 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now