No, that doesn't work.

The fix appears to be to call the SetCurrentDirectory function in the Win32
API

============================================
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Alistair George
> Sent: Tuesday, 2 November 1999 08:14
> To: Multiple recipients of list delphi
> Subject: RE: [DUG]: Drive A Problem
>
>
> Perhaps something like:
> //(global   AppPath: string;)
>
> AppPath:=ExtractFilePath(Application.ExeName);
> //then after the A: drive access:
> FileOpenDlg.InitialDir := AppPath;
>
> > I am having a problem in an application that needs to load a file from a
> > floppy disk. After the drive has been accessed, Windows will
> > attempt to load
> > the application's help file from the same disk. If the disk is
> > still in then

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to