A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Windows Vista File Management
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Windows Vista File Management Issues or questions in relation to Vista's file management. (microsoft.public.windows.vista.file_management)

locating a database file



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old January 25th 08, 05:07 PM posted to microsoft.public.windows.vista.file_management
scook
external usenet poster
 
Posts: 1
Default locating a database file

I have a windows program written using VS 6.0. The program uses a vb front
end to collect/edit data and to print forms. The data is stored in an Access
database which is installed by default in the C:\Program Files\***242
directory. Our program works well on Vista, with one exception: a feature of
our program is the ability to create backups of the most current data added
to the database. When the backup is created the files are placed in the
C:\Program Files\***242 directory, inside a folder that is named with the
current date. From within our program I can browse to the program files
directory. I know that the backup folders are being created because I can see
them. However, when I browse to the same folder using using My Computer or
Explorer I cannot see the backup folders; in fact all I can see are the
default files/folders that were installed when the program was installed. The
database in the program files directory does not contain any data but if I
access the database from the program, the data is there. I am assuming that
the file which contains the database & backup folders is hidden. I have
looked in C:\Program Data\***242 and it's not there. I have also changed the
file options to show all hidden & system files and I have tried using the
search feature to locate the folder. I need to be able to find these
files/folders and copy them to removable media. Can you offer any help or
suggestions on how to do accomplish this? Thanks,
  #2 (permalink)  
Old January 25th 08, 11:13 PM posted to microsoft.public.windows.vista.file_management
Kerry Brown
external usenet poster
 
Posts: 2,887
Default locating a database file

"scook" wrote in message
...
I have a windows program written using VS 6.0. The program uses a vb front
end to collect/edit data and to print forms. The data is stored in an
Access
database which is installed by default in the C:\Program Files\***242
directory. Our program works well on Vista, with one exception: a feature
of
our program is the ability to create backups of the most current data
added
to the database. When the backup is created the files are placed in the
C:\Program Files\***242 directory, inside a folder that is named with the
current date. From within our program I can browse to the program files
directory. I know that the backup folders are being created because I can
see
them. However, when I browse to the same folder using using My Computer or
Explorer I cannot see the backup folders; in fact all I can see are the
default files/folders that were installed when the program was installed.
The
database in the program files directory does not contain any data but if I
access the database from the program, the data is there. I am assuming
that
the file which contains the database & backup folders is hidden. I have
looked in C:\Program Data\***242 and it's not there. I have also changed
the
file options to show all hidden & system files and I have tried using the
search feature to locate the folder. I need to be able to find these
files/folders and copy them to removable media. Can you offer any help or
suggestions on how to do accomplish this? Thanks,


You have discovered the virtual file store. When a user tries to write to a
system file area the write is redirected to a virtual file store in the
user's folders. The program needs to be reprogrammed not to write to system
areas. Create a folder for the data and the backup then set the appropriate
permissions for that folder.

http://support.microsoft.com/kb/927387

http://msdn2.microsoft.com/en-us/library/aa905330.aspx

--
Kerry Brown
Microsoft MVP - Shell/User
http://www.vistahelp.ca/phpBB2/



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:25 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.