Page 1 of 1

STRANGE ON WINDOWS SEVEN

Posted: Wed Jul 09, 2014 7:06 pm
by Silvio.Falconi
I created a setup exe with Iss of my app

it install the folder app on programx86 folder on windows seven 64bit home Premium

the app use some dbf but the app created before the dbfs at init creatinng a folder select from final user : sample .\8888\

the app run :ok Ican insert , modify, print records

but I cannot show where are the dbfs on computer

Any ideas ?

Re: STRANGE ON WINDOWS SEVEN

Posted: Wed Jul 09, 2014 8:27 pm
by rhlawek
I would guess you will find them in C:\ProgramData (hidden) in a folder that matches your c:\Program Files (x86) folder name.

Robb

Re: STRANGE ON WINDOWS SEVEN

Posted: Thu Jul 10, 2014 1:20 am
by rhlawek
I was thinking about this a bit more.

The files could be in the VirtualStore, c:\users\username\AppData\Local\VirtualStore\...

The program data path I mentioned earlier can be determined via the environment variable %ProgramData%.

There are a couple other possibilities; %APPDATA% and %LOCALAPPDATA%.

If it's not in one of those places I'm out of ideas.

Robb

Re: STRANGE ON WINDOWS SEVEN

Posted: Thu Jul 10, 2014 4:18 pm
by Silvio.Falconi
Incredible I cannot found them!!!
iF i INSTALL THE APP INTO PROGRAMSX86

i CREATE THE DBFS INTO
cDefault_cYearPath:="8888\"
cFilePath(GetModuleFileName( GetInstance() )) +cDefault_cYearPath+"Data\"


iF i INSTALL THE APP INTO C:/ IT CREATE THE FOLDER ON FOLDER APP

Re: STRANGE ON WINDOWS SEVEN

Posted: Thu Jul 10, 2014 7:58 pm
by Roger Seiler
Depending on its configuration, Windows 7+ can play hide and seek with files created by your app if app is installed in Program Files (either x86 or the other). A way around this is to install your app in c:\users\public\MyAppDir (whatever your app dir name is). Then files created by app will be in your app dir, as expected.

Re: STRANGE ON WINDOWS SEVEN

Posted: Thu Jul 10, 2014 8:00 pm
by rhlawek
You can always do the blunt instrument approach, open a command prompt, change to the root of the c: drive and run "dir <yourfilename>.dbf /s"