Windows – How to pass security issues in Vista

vb6windows-vista

We have vb6 application.We are unable to carry out following on vista machine
1. Register a dll from users directory
2. Start another exe
3. Write to a file in users directory.
How can I overcome these issues
thanks

Best Answer

  1. This is by design. Software is supposed to require admin rights for installation (including update/upgrades). You got away with it in XP because so many people ran as administrator. If you're registering a dll after installation, you're doing something wrong.
  2. You should be able to do this without issue, but only with the same rights as the user that the current app is running under. What is this exe trying to do, and would a standard user normally have those permissions?
  3. What specific folder in the user's directory? Again: a user should have write access to most of the their own profile, but not necessarily as much outside of that as you think.