Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Need urgent help
Tue, Jun 10 2014 5:00 PMPermanent Link

Michael Saunders

I am scheduled to give a demo to a customer tomorrow of my new rewrite with EDB and have a last minute hitch  Whether this can be fixed quickly I do not know.  I built my demo with the the config file in my  E:\  partition (  ie E:\Database_Unicode)  and the with a sample database in a subfolder immediately below this. I set this path up in  the registry upon first time running  and then pick it up each time the program is run using the Engine BeforeStart event as follows

 with EDBEngine do  
     begin
       EDBEngine.ConfigPath:=ConfigurationPath;
       EDBEngine.TempTablesPath:=GetTempTablesPath;
     end;

I also  set up the Session as follows in the Before Start event

  with EDBSession do
   begin
    LocalConfigPath := ConfigurationPath;
    LocalTempTablesPath := EDBEngine.TempTablesPath;
  end;

The problem is mu customer does not have a E:\ partition  I had hoped that I could copy everything from the  E: partition  to the C: partition and simply set up the config path to point to the new location  Whatever I try EDB seems to want to set up a new config file in the E: folder   Is there a quick solution to this

Thanks

Mike
Tue, Jun 10 2014 5:49 PMPermanent Link

Michael Saunders

Panic over guys  I think I have sorted it  I had forgotten that DB manager also references the same Config file and that also needs to point to the new C:\folder  in order to set up users etc

Mike
Wed, Jun 11 2014 12:04 AMPermanent Link

Adam H.

Glad to hear you got it figured out.

However, in future - if you run into similar problems, check out the
SUBST command. Allows you to create drives that are linked to other
directories, so may get you past the problem in a hitch. Smile

Image