In the "analyse" the databse is on a certain location and directory, But for the executable the path where the database is located is different ( it reads the loaction from the registry)
How van i change the databse ath to this new diectory?
I tried Hsubstrep even with a hard coded path but when the system wants to ue the data it comes with an error message that it can not find the data ( on the location as defined in the "analyse")
Reslecture= RegistreLit("HKEY_LOCAL_MACHINE\SOFTWARE\RinDepenses\databasepad","dbpad", ResExécute)
// HSubstRep("*",ResLecture)
SI HSubstRep("d:\projets\depenses\depense2000.mdb","C:\program files\depenses\dat\depense2000.dat") = Vrai ALORS
Info("Vous allez travailler sur les fichiers présents"+...
"dans le répertoire : " + Reslecture)
SINON
Erreur(HErreur)
FIN
How to solve this problem?????
Message forwarded from pcsoft.us.windev