> Hi all,
> I'm trying to create a setup using inno setup, but every time i try to execute, there will be an error: File does not exist, if i select ignore then the error message will be Locate Database : Error instantiating cursor object. cannot find d:\...\data.dbc, i just know to create setup disk using innosetup i dont have to include the dbc,dbf just the exe file.
> . actually, how can i create the exe file with inno setup?
>
>
> main.prg
>
>
> set default to sys(5)+sys(2003)
> open database data.dbc
>
>
> thanks in advance
sys(5)+sys(2003) is your default directory. If you dont find the dbc you pointed in this folder,you must indicate the path to find your dbc (work with set path to ...).
make
open database getfile('dbc')
and you see it works.
add: if your database is in your starting exe folder use this :
set defa to justpath(sys(16))
Dont rate please.its only for the pleasure to help.Give me only a feed back.
Yousfi Benameur