Where is my true Data Files?
I use Windows Vista Home Premium that came with my laptopI have an old accounting program that I've Programmed long time ago using VB6 and I've Insatlled it to Program Files Folder using it's normal setup utility and the program stores data files in the same folder that application installed intowhen I use Windows Explorer to take a copy of the data files the files that copied is an old version of the data files but the program when work it shows the correct data fileshow I can copy the correct data files using windows exploreris it windows vista security? I didn't have such problem on my old pc using windows XP
April 21st, 2009 1:44pm

As this accounting program is programmed by yourself, can you use the search function to find related data files based on its extension? Sean Zhu - MSFT
Free Windows Admin Tool Kit Click here and download it now
April 28th, 2009 6:28am

i used that also invain I can't see the actual data files outside the programlook in the interface of my program i put a label control that displays the full path of my used data file so I can locate it easily from windows explorerthis approach worked ok in windows xp but windows vista shows me a file but when I copy it it gives me an old version of the data file from the same location displayed in the program
April 28th, 2009 10:12am

Because Vista doesn't allow a program to write to \Program Files once it's completed installation (or program patches), user data for the program is stored in your user profile.Take a look in both C:\Users\youraccount\AppData\Local, as well as in \AppData\Roaming(note that these are hidden/system folders; as such, you'll need to enable both of those options in Explorer > Tools> Folder options.)HTH,Chris[If this post helps to resolve your issue, please click the "Mark as Answer" or "Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster.]
Free Windows Admin Tool Kit Click here and download it now
April 30th, 2009 6:33am

Thank You That's Solved The ProblemI found my True Data in The pathC:\Users\Myuser\AppData\Local\VirtualStore\Program Files\MyAccProg\Can any one explain this behaviourwhy the program see the file as it was in c:\programfiles\myaccprog folder and the true data files isn't here
April 30th, 2009 9:34am

I already did.By design, programs may not write to \Program Files (aside from installation and patching of said programs.) This is for system security (and, IMHO, is A Good Idea. \Program Files should never have been a place to store program data.)HTH,Chris[If this post helps to resolve your issue, please click the "Mark as Answer" or "Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster.]
Free Windows Admin Tool Kit Click here and download it now
April 30th, 2009 2:59pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics