STRANGE ON WINDOWS SEVEN

STRANGE ON WINDOWS SEVEN

Postby Silvio.Falconi » Wed Jul 09, 2014 7:06 pm

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 ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6849
Joined: Thu Oct 18, 2012 7:17 pm

Re: STRANGE ON WINDOWS SEVEN

Postby rhlawek » Wed Jul 09, 2014 8:27 pm

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: 193
Joined: Sun Jul 22, 2012 7:01 pm

Re: STRANGE ON WINDOWS SEVEN

Postby rhlawek » Thu Jul 10, 2014 1:20 am

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
rhlawek
 
Posts: 193
Joined: Sun Jul 22, 2012 7:01 pm

Re: STRANGE ON WINDOWS SEVEN

Postby Silvio.Falconi » Thu Jul 10, 2014 4:18 pm

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
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6849
Joined: Thu Oct 18, 2012 7:17 pm

Re: STRANGE ON WINDOWS SEVEN

Postby Roger Seiler » Thu Jul 10, 2014 7:58 pm

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
Roger Seiler
 
Posts: 223
Joined: Thu Dec 01, 2005 3:34 pm
Location: Nyack, New York, USA

Re: STRANGE ON WINDOWS SEVEN

Postby rhlawek » Thu Jul 10, 2014 8:00 pm

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 37 guests