Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vista kills app
Message
 
À
05/02/2007 11:49:58
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Database:
Visual FoxPro
Divers
Thread ID:
01192452
Message ID:
01192653
Vues:
25
As others have pointed out, by default users don't have permissions in Program Files. This is really no different than XP except that in XP you are an Administrator by default, but it basically has the same issue.

What's new in Vista is virtualization of Program Files. It basically realizes that you're trying to read/write access a file in program files and then redirects to a user specific data store which lives underneath the Users folder. As you found out this location is user specific and not accessible to other users.

I wrote about this here:
http://www.west-wind.com/WebLog/posts/5584.aspx

So, you really have a few options. 1st you can just let virtualization do its thing that should work as long as there's only one user accessing the data or the data is indeed user specific.

Otherwise you have to look at adjusting your permissions. Either give the folder in Program Files access to all users (or whatever users you need) or change the operating user account to an Administrator account (or RunAs Administrator)...


None of these options are particularily inviting but you should realize that this is actually the way it's been ever since Windows 2000. The only difference is that the default permissions are more strict now... And you can always undo those permissions.

+++ Rick ---












>The app is installed in .\programfiles\wrcs\vcars. When run, it seems to work with 2 exceptions:
>1. Copy file does not actually copy the file to the destination directory but to some user directory.
>2. Delete file does not work at all.
>
>How can this be fixed? I see some discussion about Manifests on the web but don't know how to create one for a VFP app. Any help greatly appreciated....
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform