Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Starting VFP 9 in Win7
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01443146
Message ID:
01447763
Views:
108
>>The UAC is making my life difficult. I can't start VFP without getting the "Do you want to allow the following program to make changes to your computer" message. I've tried some workarounds, but they are not working. Is there a way to get VFP - and obviously this applies to other programs, not just VFP - to start without the annoying message?
>
>
>Russell
>
>Not sure if this will work, but you could try a couple of things. These assume that you are logged in with Admin priviledges (not logged in as ADMIN but with similar privileges)
>
>1. Hack the VFP mainfest to change it so that ir has an additional section as below: You should find code to hack a manifest on Calvin's blog
>
><?xml version="1.0" encoding="UTF-8" standalone="yes"/>
><assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
>  <v3:trustInfo xmlns:v3="urn:schemas-microsoft-com:asm.v3">
>    <v3:security>
>      <v3:requestedPrivileges>
>        <v3:requestedExecutionLevel level="asinvoker"/>
>      </v3:requestedPrivileges>
>    </v3:security>
>  </v3:trustInfo>
></assembly>
>
>
>
>2. Create a shortcut to launch VFP
>
>ShellExecute(hwnd, "runas", "C:\\Windows\\Notepad.exe", 0, 0, SW_SHOWNORMAL);
>
>Check this site for more info:
>
>http://en.wikipedia.org/wiki/User_Account_Control
>
>and this post:
>
>http://social.msdn.microsoft.com/Forums/en-US/windowssecurity/thread/dd400cb9-d5fc-41b2-ad9d-6b91ce88c766
>
>Bernard

Haven't tried that, yet, but in trying to install the latest version of PEME, I found I can't save the zip file to the PROGRAM FILES\MICROSOFT VISUAL FOXPRO 9\PEM EDITOR folder that I put PEME in. I tried to remove the read-only attribute from the VFP folder and all subfolders, but can't. Not even when I try from the command prompt using "Run as administrator". I'm still getting used to the security restrictions in Win7 and, frankly, some of them I just don't like. I was never infected in WinXP because I took all the proper precautions, so all Win7 has done for me is make life more difficult.
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Previous
Reply
Map
View

Click here to load this message in the networking platform