Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Vista Tutorial - Folders being deleted

Reply
 
Old 08-09-2007   #1 (permalink)
news.microsoft.com
Guest


 
 

Folders being deleted

When working on getting a database driven software to run on Vista, have
seen more than once that an entire folder, with data in the folder, being
deleted. Have searched for very specific files and then an advanced search
for the file with ZERO Results.

Does anyone have any thoughts regarding this type of issue happening?

Thanks



My System SpecsSystem Spec
Old 08-09-2007   #2 (permalink)
Rainald Taesler
Guest


 
 

Re: Folders being deleted

news.microsoft.com shared these words of wisdom:

> When working on getting a database driven software to run on Vista,
> have seen more than once that an entire folder, with data in the
> folder, being deleted. Have searched for very specific files and
> then an advanced search for the file with ZERO Results.


Which kind of underlying database?

Rainald
My System SpecsSystem Spec
Old 08-09-2007   #3 (permalink)
dean-dean
Guest


 
 

Re: Folders being deleted

Is your program writing its database to a subfolder of C:\Program Files? If
so:

Go to C:\Program Files, and click on Compatibility Files in the Toolbar of
Windows Explorer. This will take you to
C:\Users\YourName\AppData\Local\VirtualStore\Program Files (normally, a
hidden path). This is where Vista puts the files of programs that write
certain types of user files to the C:\Program Files subdirectories. When
you're in C:\Program Files\YourProgram (or possibly a subfolder of that
path), you should also see a button in the taskbar of Windows Explorer
called "Compatibility Files", which will take you directly to your program's
database files.

In your program's Options dialog, can you change the default location (path)
of the database to a path that is under your account name?

For example, it could be C:\Users\(Your Name)\Documents\ProgramName Data
(you may have to create the folder there first). Then Vista won't redirect
your files. After the initial program installation, it moves user files
being written to the C:\Program Files subdirectories, since the
Program Files folder is on a security level equal to the Windows folder
itself, making TrustedInstaller the owner.

"news.microsoft.com" <support@beaverlog.com> wrote in message
news:eOEz6ws2HHA.1208@TK2MSFTNGP05.phx.gbl...
> When working on getting a database driven software to run on Vista, have
> seen more than once that an entire folder, with data in the folder, being
> deleted. Have searched for very specific files and then an advanced
> search for the file with ZERO Results.
>
> Does anyone have any thoughts regarding this type of issue happening?
>
> Thanks
>


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
folders regenerate when deleted Vista mail
Deleted and Sent folders Live Mail
e-mail and folders deleted Vista mail
Sent and deleted items folders. Vista mail
Sent and Deleted Folders Vista mail


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46