Re: [DUG]: drive path extraction

2001-09-01 Thread abaddon
On Sat, 01 Sep 2001 12:51:35 +1200, you wrote: hi all i was wondering how do i extract the drive path so i can store it in a variable and use it for a install ie whatever:=extractdrivepath [code] .. what i mean is get the drive where the app is run from ie the cd rom as ppl have different

Re: [DUG]: Should be Offtopic but....

2001-09-01 Thread Corey Murtagh
- Original Message - From: NIRAV KAKU [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Saturday, September 01, 2001 6:19 PM Subject: Re: [DUG]: Should be Offtopic but Interesting. But doesn't the caller ID come from the telephone company? As in, if

RE: [DUG]: drive path extraction

2001-09-01 Thread Patrick Dunford
ExtractFilePath(Application.ExeName) If you just want to find out which drive is a CDROM, call GetLogicalDrives or GetLogicalDriveStrings and then call GetDriveType for each drive until one comes back as a CD-ROM. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [DUG]: Should be Offtopic but....

2001-09-01 Thread Jeremy Coulter
I could post it. The problem is that I use Async pro components and I am guessing not every one has them, so thae code is no good. I COULD use a free dontrol and post it I guess. Might take a few days tho...depends on my time. Jeremy -Original Message-From: [EMAIL PROTECTED]

Re: [DUG]: drive path extraction

2001-09-01 Thread abaddon
On Sat, 1 Sep 2001 23:39:01 +1200, you wrote: ExtractFilePath(Application.ExeName) If you just want to find out which drive is a CDROM, call GetLogicalDrives or GetLogicalDriveStrings and then call GetDriveType for each drive until one comes back as a CD-ROM. thanx partick, but what i want

RE: [DUG]: drive path extraction

2001-09-01 Thread Patrick Dunford
ExtractDriveLetter, do I need to spell it out? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Sunday, 2 September 2001 15:26 To: Multiple recipients of list delphi Subject: Re: [DUG]: drive path extraction On Sat, 1 Sep

Re: [DUG]: drive path extraction

2001-09-01 Thread abaddon
On Sun, 2 Sep 2001 11:23:25 +0700, you wrote: ExtractDriveLetter, do I need to spell it out? ok, but what about the trailing '\'? g ok i have 2 var called drive:char; driveletter :string[4]; begin for drive:='A' to 'Z' do begin driveletter:=drive+':\'; end; end; the return drive