STRANGE ON WINDOWS SEVEN

Post Reply
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

STRANGE ON WINDOWS SEVEN

Post 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 ?
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
rhlawek
Posts: 165
Joined: Sun Jul 22, 2012 7:01 pm

Re: STRANGE ON WINDOWS SEVEN

Post 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
User avatar
rhlawek
Posts: 165
Joined: Sun Jul 22, 2012 7:01 pm

Re: STRANGE ON WINDOWS SEVEN

Post 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
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: STRANGE ON WINDOWS SEVEN

Post 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
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
Roger Seiler
Posts: 223
Joined: Thu Dec 01, 2005 3:34 pm
Location: Nyack, New York, USA
Contact:

Re: STRANGE ON WINDOWS SEVEN

Post 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.
User avatar
rhlawek
Posts: 165
Joined: Sun Jul 22, 2012 7:01 pm

Re: STRANGE ON WINDOWS SEVEN

Post 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"
Post Reply